Hi all
First a brief question - is there a nicer way to do something like
#ifdef __GLASGOW_HASKELL__
#include "GHCCode.hs"
#else
> import HugsCode
#endif
than that (i.e. code that needs to be different depending on if you are
using GHC or HUGS)?
Secondly, I don't know
Hello,
I looked on www.haskell.org for the Simon Marlow's Web Server,
but couldn't find. Did I overlook it?
Regards,
Bill Halchin
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
___
Lennart Augustsson writes:
[...]
> Slightly more interesting might be
> data Foo = forall a . Foo a (a -> Int)
>
> Now you can at least apply the function to the value after pattern
> matching. You don't have to carry any types around, because the
> type system ensures that you don't misu