macros. Was: Arrow notation, etc.

Jerzy Karczmarczuk karczma@info.unicaen.fr
Fri, 12 Oct 2001 15:38:21 +0200


Dylan Thurston:
> 
> On Fri, Oct 12, 2001 at 01:02:07PM +0100, Keith Wansbrough wrote:
> > Sadly, there's not a concrete proposal - it seems that no one sees a
> > need for macros in a lazy language.  Most of what they do can be
> > achieved through laziness - you can write "if" in Haskell already, for
> > example, whereas you need a macro for it in Lisp.  Your arrow notation
> > example may provide some motivation, though.
> 
> I wonder if macros could also be used to implement views.

They are heavily used in Clean, so, there *are* people who see a need for them
in a lazy language.


Jerzy Karczmarczuk
Caen, France