Re: Simple compiler question

2001-07-26 Thread Wolfgang Lux
n of hbc) a decent compiler, but it supports entering definitions as well: > let { f x = x + x }; f :: (Prelude.Num a) => a -> a > f 3; 6 Wolfgang -- Wolfgang Lux Phone: +49-251-83-38263 Institut fuer Wirtschaftinformatik FAX: +49-251

Re: Haskell report typo (bad law for readsPrec)

2001-06-20 Thread Wolfgang Lux
ng (undefined : "hello").) True, but in any case it seems sensible to me to require that readsPrec should actually process the input string. With your proposal > > | fst (head (readsPrec d (showsPrec d x ""))) == x it would be possible to