Add a pre-processor to import Development.Placeholders automatically #1

wants to merge 4 commits into


None yet
1 participant

maoe commented Feb 12, 2012

I implemented a pre-processor to insert import Development.Placeholders into every modules automatically, which means we don't have to write anything except for placeholders.

The pre-processor can be used via -F -pgmF placeholders option with GHC. Once you write a pre-processor option in your cabal, you can use placeholders in any modules.

if flag(devel)
  extensions: TemplateHaskell
  ghc-options: -F -pgmF placeholders

This implementation doesn't support UnicodeSyntax and doesn't have a workaround for the name conflicts.

maoe commented Jun 22, 2016

I'll close this PR due to inactivity.

maoe closed this Jun 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment