[Haskell-cafe] looking for origin of quote on preprocessors and language design

MightyByte mightybyte at gmail.com
Thu Jan 7 09:55:55 EST 2010


It strikes me that this question may be related (perhaps distantly) to
Godel's incompleteness theorem.  Anyone else see similarities here?

On Thu, Jan 7, 2010 at 7:32 AM, Johannes Waldmann
<waldmann at imn.htwk-leipzig.de> wrote:
> Dear all,
>
> 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
> is first-order.
>
> 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.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>


More information about the Haskell-Cafe mailing list