Various software and a question

2001-02-01 Thread Ian Lynagh
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

Source tar ball for Simon Marlow's Haskell Web Server??

2001-02-01 Thread Bill Halchin
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 ___

Re: Type Pattern-Matching for Existential Types

2001-02-01 Thread Tom Pledger
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