<div dir="ltr">Hi,there&#39;s also a package in hackage called &quot;hint&quot; which is suitable for most cases.<br>if you still want to know ghc api, take a look at a module named &quot;GHC&quot;, It contains a overview of whole ghc api<br>
<a href="http://lambda.haskell.org/platform/doc/current/ghc-api/GHC.html">http://lambda.haskell.org/platform/doc/current/ghc-api/GHC.html</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/2 <a href="http://blackbox.dev.ml">blackbox.dev.ml</a> <span dir="ltr">&lt;<a href="mailto:blackbox.dev.ml@gmail.com" target="_blank">blackbox.dev.ml@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">HI!<div>Could you please give me hints where to find materials to learn GHC API?</div><div>I know there is <span style="font-size:13px;font-family:arial,sans-serif"> </span><a href="http://www.haskell.org/haskellwiki/GHC/As_a_library" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://www.haskell.org/haskellwiki/GHC/As_a_library</a>, 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).</div>

<div><br></div><div>I would be thnakful for any hint! :)</div><div>Thank you,</div><div>Wojtek</div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>