map -package:containers -package:basement -package:conduit -is:exact -package:monoidal-containers -package:base -package:base-prelude -package:ghc -package:os-string -package:psqueues -package:bytestring -package:regex-tdfa -package:case-insensitive -package:filepath -package:amazonka-core -package:unordered-containers -package:dense-linear-algebra -package:foldl -package:vector is:module -package:Cabal -package:galley package:foundation
Note that the memory mapping is handled by the system, not at the
haskell level. The system can modify the content of the memory as any
moment under your feet.
It also have the limitation of your system, no emulation or nice
handling of all those corners cases is attempted here.
for example mapping a large file (> 4G), on a 32 bits system is
likely to just fail or returns inconsistent result.
In doubt, use readFile or other simple routine that brings
the content of the file in IO.