[Haskell-cafe] More on the random idea

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon May 28 08:17:13 EDT 2007


On May 28, 2007, at 5:49 , Andrew Coppin wrote:

> not a big goal (although I don't suppose you go out of your way to  
> make it *hard*). GHC is designed to be good at being GHC, rather  
> than good at being a collection of flexible, reusable Haskell  
> processing libraries.

Enh.  That's no reason not to *try* to be.

> I didn't see any way to access facilities other than compilation/ 
> evaluation. (E.g., what type does this have, or please desugar  
> this.) But then, I didn't look very hard.

You might want to look at Shim (http://shim.haskellco.de/trac/) ---  
it uses GHC-API to do things like asking for the type of arbitrary  
variables or expressions.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list