This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------- | |
-- | Example for loading Haskell source code dynamically using the GHC api | |
-- Tested on ghc 7.4.2 | |
-- | |
-- Useful links: | |
-- GHC api: | |
-- http://www.haskell.org/ghc/docs/latest/html/libraries/ghc/GHC.html | |
-- Wiki: | |
-- http://www.haskell.org/haskellwiki/GHC/As_a_library | |
----------------------------------------------------------------------------- |