Say I have a dictionary.txt file, I need to read it into a map and use it in my program, how can I make this dictionary.txt file contained in the compiled exe f
You'll have to come up with your own way to get it into a Map, but http://hackage.haskell.org/package/file-embed will get it into your compiled binary. We use it for embedding templates in some of our web applications.