[Haskell-cafe] looking for origin of quote on preprocessors and
waldmann at imn.htwk-leipzig.de
Thu Jan 7 07:32:03 EST 2010
It's not exactly Haskell-specific, but ...
I am trying to track down the origin of the proverb
"the existence (or: need for) a preprocessor
shows omissions in (the design of) a language."
I like to think that in Haskell, we don't need
preprocessors since we can manipulate programs
programmatically, because they are data.
In other words, a preprocessor realizes higher order
functions, and you only need this if your base language
Yes, that's vastly simplified, and it does not cover
all cases, what about generic programming
(but this can be done via Data.Data)
and alex/happy (but we have parsec) etc etc.
Best regards, J.W.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100107/a1248532/signature.bin
More information about the Haskell-Cafe