GHC plugin without registering the plugin

Erik de Castro Lopo mle+hs at mega-nerd.com
Sun May 5 05:07:15 CEST 2013


Hi all,

I'm messing about with writing a GHC plugin and looking at the
documentation here:

    http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/compiler-plugins.html

which states:

    Plugins can be specified on the command line with the option
    -fplugin=module where module is a module in a registered package
    that exports a plugin.

Is there anyway I can have a plugin in my local source tree rather than
being installed and registered? Not having to cabal install it would make 
development and debugging somewhat easier.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the ghc-devs mailing list