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

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
15 Aug 2001 17:51:42 GMT


Wed, 15 Aug 2001 08:50:41 -0700, Simon Marlow <simonmar@glass.cse.ogi.edu> pisze:

>   Prelude> :i +
>   -- + is a method in class Num
>   + :: forall a. (Num a) => a -> a -> a

Shouldn't the last line show (+) instead of +, so it's valid syntax
of a variable type signature?

I think :i should accept parenthesized operators too (if it doesn't
already). This is how names are written in export lists for example.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK