Hello
the following program fails to load in Hugs2005 with all Haskell
extensions enabled:
{-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances #-}
class (Monad m) = Stream m h where
class (Stream m h) = CharStream m h where
vGetChar :: h - m Char
vGetContents :: h - m String
Hello hugs-users,
how can i test in preprocessor version of Hugs?
i need to conditionally compile code which uses hGetBuf/hPutBuf. also
i need an instance Bit Word definition which is omitted in Hugs 2003
(and all previous versions?)
without preprocessor-level detection of Hugs version i don't
Hello
another Hugs error. seem that this `instance BlockStream IO h` forces
Higs to think that all BlockStream instances will belong to an IO
monad. as in the previous case, all works fine with GHC
{-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances #-}
class (Monad m) = Stream m h | h
Hello Ross,
Friday, January 06, 2006, 2:16:24 PM, you wrote:
the following program fails to load in Hugs2005 with all Haskell
extensions enabled:
instance (CharStream m h) = ByteStream m h where ...
instance (ByteStream m h) = CharStream m h where ...
RP Looks circular to me, i.e. there's