RE: Feature request/help: evaluating template haskell at runtime

2007-05-23 Thread Simon Peyton-Jones
Perhaps you can just write a client to the GHC library that - constructs a string for your program - asks GHC to evaluate it just as if you'd typed it at the command line You may say that a string is a silly thing -- your GA will construct a tree, so the GHC API should supply a function that tak

Re: Avoiding CAF's

2007-05-23 Thread Neil Mitchell
Hi Simon, Ok, but suppose you get some good results - what's the point? None of this is guaranteed to work tomorrow. Why not aim for a robust translation into Core that preserves the semantics? It can't be that hard to pass around a State# RealWorld, can it? Is there a paper/document that g

GHC 6.7 on OS X - Readline error

2007-05-23 Thread Philip Weaver
Hello all, My first email to this list, so I apologize if I don't ask my question appropriately... I have GHC 6.6 installed on an Intel Mac (Tiger 10.4), with the readline package installed and System.Console.Readline module working fine. However, when I try to build GHC 6.7 from source (I have

Re: GHC 6.7 on OS X - Readline error

2007-05-23 Thread Deborah Goldsmith
Did you point configure at where your readline library is installed, as discussed on the below wiki page? http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX Deborah On May 23, 2007, at 6:06 PM, Philip Weaver wrote: Hello all, My first email to this list, so I apologize if I don't ask