[Haskell-cafe] Doing some things right

Lennart Augustsson lennart at augustsson.net
Fri Dec 28 18:17:06 EST 2007

Contents of DECREMENT Register.

On Dec 28, 2007 6:20 PM, Brian Sniffen <brian.sniffen at gmail.com> wrote:

> On Dec 28, 2007 6:05 AM, Andrew Coppin <andrewcoppin at btinternet.com>
> wrote:
> > [I actually heard a number of people tell me that learning LISP would
> > change my life forever because LISP has something called "macros". I
> > tried to learn it, and disliked it greatly. It's too messy. And what the
> > heck is "cdr" ment to mean anyway? To me, LISP doesn't even seem all
> > that different from normal languages (modulo weird syntax). Now
> > Haskell... that's FUN!]
> Contents of Data Register.
> Macros are like Template Haskell.  One example of where they're useful
> is programmer definition of new binding forms.  That's not possible in
> Haskell without Templates.  Macros were invented in Lisp because the
> syntax is so easy for machine manipulation---they don't have a tenth
> the complexity of Template Haskell for about the same power.
> -Brian
> --
> Brian T. Sniffen
> bts at alum.mit.edu    or    brian.sniffen at gmail.com
> http://www.evenmere.org/~bts <http://www.evenmere.org/%7Ebts>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071229/1bdf1c7f/attachment.htm

More information about the Haskell-Cafe mailing list