Andrew Coppin <[EMAIL PROTECTED]> wrote: > If I'm understanding this correctly, Template Haskell is a way to > auto-generate repetative Haskell source code. > > The thing that worries me is... if you need to write repetative > Haskell source code, doesn't that mean that Haskell itself is broken > in the first place? > If you've merely got repetitive code, use monads or even plain, simple functions. If you've got something to generate code from, be it an .xml or directly a direct algorithmic description of an algorithm, use templates.
Imagine generating an HTML combinator library out of the HTML dtd or generating specialised versions of an n-dimensional A*. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe