[Hugs-users] bug in WinHugs Version 20051031?

2006-01-06 Thread Bulat Ziganshin
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

[Hugs-users] __HUGS__

2006-01-06 Thread Bulat Ziganshin
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

[Hugs-users] another bug in Hugs

2006-01-06 Thread Bulat Ziganshin
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

[Hugs-users] Re[2]: [Haskell-cafe] bug in WinHugs Version 20051031?

2006-01-06 Thread Bulat Ziganshin
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