[Haskell] reflection/metadata in Haskell?
Ralf Lammel
ralfla at microsoft.com
Wed Sep 21 19:52:20 EDT 2005
I would rather argue that:
- Template Haskell approx. *compile-time* reflection
- Scrap your boilerplate II (ICFP 2004) approx. *run-time* reflection
- Generic Haskell is effectively a Haskell generator
Ralf
P.S.: Another way to get *compile-time* reflection in Haskell is of course type-level programming as pioneered by McBride and Hallgreen ...
> -----Original Message-----
> From: haskell-bounces at haskell.org [mailto:haskell-bounces at haskell.org] On
> Behalf Of Mads Lindstrøm
> Sent: Wednesday, September 21, 2005 11:40 AM
> To: haskell at haskell.org
> Subject: Re: [Haskell] reflection/metadata in Haskell?
> ...
> I do not know of any Java-like reflection capabilities in Haskell.
> However, "Scrap Your Boilerplate" (search google) and Generic Haskell
> can do a lot of the same stuff reflection can do in Java. Think of it as
> compile-time reflection.
More information about the Haskell
mailing list