cvs commit: fptools/ghc/compiler/ghci InteractiveUI.hs

Simon Marlow simonmar@microsoft.com
Mon, 20 Aug 2001 13:02:58 +0100


> Wed, 15 Aug 2001 08:50:41 -0700, Simon Marlow=20
> <simonmar@glass.cse.ogi.edu> pisze:
>=20
> >   Prelude> :i +
> >   -- + is a method in class Num
> >   + :: forall a. (Num a) =3D> a -> a -> a
>=20
> Shouldn't the last line show (+) instead of +, so it's valid syntax
> of a variable type signature?
>=20
> I think :i should accept parenthesized operators too (if it doesn't
> already). This is how names are written in export lists for example.

Both fixed.

Simon