module-munging: Smash together text to make modules.

[ codegen, library, mit ] [ Propose Tags ]

Thin, low-tech wrapper for smashing together raw text to make Haskell modules.

[Skip to Readme]


Manual Flags


Assumes hspec-discover version is 2.10.3+


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Change log
Dependencies base (>= && <5) [details]
License MIT
Author Jason Shipman
Maintainer Jason Shipman
Revised Revision 1 made by jship at 2024-03-14T22:16:07Z
Category Codegen
Home page
Source repo head: git clone
Uploaded by jship at 2024-02-24T16:40:48Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 60 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for module-munging-

[back to package description]


Build badge Version badge


Thin (threadbare), low-tech means of smashing together raw text to create Haskell modules. This can be useful for code generation, preprocessors, etc.


module-munging exists primarily to ease building preprocessors. Preprocessors require smashing together text to make modules, and it gets tiresome quickly dealing again and again with things like imports, exports, etc. Additionally, many preprocessors are simple enough that pulling in something like haskell-src-exts is very much overkill. module-munging aims to provide as thin of a wrapper as possible over smashing together text while making the act of doing so a bit more pleasant.