
7 Oct
2004
7 Oct
'04
8:32 a.m.
On Thursday 07 October 2004 12:20, Keith Wansbrough wrote:
You can't do this in Haskell. In Haskell, functions are very lightweight things, and often they are inlined or compiled away in some way leaving no trace at runtime. So there's nothing to reflect on. This is in contrast to a language like Java, where each object has quite a lot of identity and state, and a large heap footprint.
Would perhaps template haskell help? http://www.haskell.org/hawiki/TemplateHaskell V. -- First they ignore you, then they laugh at you, then they fight you, then you win. [Gandhi]