Re: [Haskell-cafe] Learning GHC API
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...@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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] using network+conduit+tls for a client application?
there's a similar one for client http://hackage.haskell.org/package/http-conduit-browser/ 2013/7/29 Petr Pudlák petr@gmail.com Dear Haskellers, I wanted to write a small TLS application (connecting to IMAP over TLS) and it seemed natural to use conduit for that. I found the network-conduit-tls package, but then I realized it's meant only for server applications. Is there something similar for client applications? Thank you, Petr Pudlak __**_ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] memoization
in this case, neither of them is memoized. because they don't have any data in expressions. memoized is for constants who have data structure in its expression 2013/7/22 Tom Ellis tom-lists-haskell-cafe-2...@jaguarpaw.co.uk On Mon, Jul 22, 2013 at 07:52:06PM +1200, Chris Wong wrote: A binding is memoized if, ignoring everything after the equals sign, it looks like a constant. In other words, these are memoized: [...] f = \x - x + 1 [...] and these are not: f x = x + 1 In what sense is the former memoised? I'm not aware of any difference between these two definitions. Tom ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe