parser error on :info command

Sigbjorn Finne sof@galois.com
Wed, 27 Feb 2002 19:51:09 -0800


Thanks, easy enough to fix (now done).

--sigbjorn

----- Original Message -----
From: "Duncan Coutts" <duncan.coutts@worcester.oxford.ac.uk>
To: <hugs-bugs@haskell.org>
Sent: Saturday, February 23, 2002 07:07
Subject: parser error on :info command


>
> 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
> _______________________________________________
> Hugs-Bugs mailing list
> Hugs-Bugs@haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-bugs