Re: [Haskell-cafe] Not working examples in GHC API documentation

2013-07-18 Thread John Blackbox
Great, but how can we learn the API, when examples are not working? -.- 2013/7/18 Johan Tibell > I filed a bug a while back: > > http://ghc.haskell.org/trac/ghc/ticket/7752 > > Someone that understands the API needs to fix the doc. :) > > On Thu, Jul 18, 2013 at 7:58 PM, John Blackbox > wr

Re: [Haskell-cafe] Not working examples in GHC API documentation

2013-07-18 Thread Johan Tibell
I filed a bug a while back: http://ghc.haskell.org/trac/ghc/ticket/7752 Someone that understands the API needs to fix the doc. :) On Thu, Jul 18, 2013 at 7:58 PM, John Blackbox wrote: > Hi! > Please take a look here: http://www.haskell.org/haskellwiki/GHC/As_a_library > The examples are not

[Haskell-cafe] Not working examples in GHC API documentation

2013-07-18 Thread John Blackbox
Hi! Please take a look here: http://www.haskell.org/haskellwiki/GHC/As_a_library The examples are not working. Even the simpelst one: import GHC import GHC.Paths ( libdir ) import DynFlags ( defaultLogAction ) main = defaultErrorHandler defaultLogAction $ do runGhc (Just libdir) $