Re: [Haskell-cafe] introspection | meta data

5 Aug
2004
5 Aug
'04
12:13 p.m.
Crypt Master
I recently had to implement an algorthm in C, and found the time to give it a go in Haskell to aid in learning haskell.
I found myself "needing" runtime meta information on data types (well tuples which are data (a,b) = (a,b)). Does haskell allow this ?
<snip absolutely normal example>
So what is the general haskell approach to this type of introspection/meta data problem... ?
Introspection in Haskell is provided by the Data.Generics module. Try `deriving Data' and go wild (everybody else has). Jon Cast
7597
Age (days ago)
7597
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jon Cast