parser error on :info command

Duncan Coutts duncan.coutts@worcester.oxford.ac.uk
Sat, 23 Feb 2002 15:07:16 +0000


hugs gets confused by the following command

:info .
Unknown module `'
Unknown reference `'

Other operators work fine:

:info +
infixl 6 +
(+) :: Num a => a -> a -> a  -- class member

It looks like the parser is confusing the (.) operator with the dot in 
'Module.value'

If this is difficult, maybe the info command could accept bracketed operators 
like the :type command.

:type (.)
(.) :: (a -> b) -> (c -> a) -> c -> b

Duncan