
2 Apr
2010
2 Apr
'10
10:56 p.m.
Hi all, I would like to learn a little bit more about metaprogramming in Haskell. And I'm also wondering why metaprogramming is used much more in Ocaml than in Haskell. Camlp4 (Ocaml's metaprogramming facility) doesn't seem to much more powerful that Template Haskell. The former is celebrated in its community as a killer feature of the language and its use is encouraged by numerous accessible tutorials. The latter however is down-played and not as well documented. Seeing that the languages are parallel in many ways is there some reason for this? Is metaprogramming less useful in Haskell? Is it worth learning? thanks ... -deech