On 24-Jul-2000, Chris Angus <[EMAIL PROTECTED]> wrote:
> Has anyone ever thought of trying to use reflection in these cases.

Yes, I've thought of it.  That is how we implement the generic
`read' and `print' in Mercury.  Using reflection like this
seems to be a quite powerful technique; I think that using
reflection you can do quite a lot in the language that in Haskell
currently seems to instead be done with external preprocessors
(e.g. "Deriv", or whatever it is called now).

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to