Hi,there's also a package in hackage called "hint" which is suitable for most cases.
if you still want to know ghc api, take a look at a module named "GHC", It contains a overview of whole ghc api
http://lambda.haskell.org/platform/doc/current/ghc-api/GHC.html


2013/8/2 blackbox.dev.ml <blackbox.dev.ml@gmail.com>
HI!
Could you please give me hints where to find materials to learn GHC API?
I know there is  http://www.haskell.org/haskellwiki/GHC/As_a_library, but this contains only 2 examples and I would to learn how to create datatypes, classes, functions etc using GHC API, how to compile them later or generate Haskell code out of them (if its possible).

I would be thnakful for any hint! :)
Thank you,
Wojtek

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe