small bug with :info and ids beginning with _

Hal Daume t-hald at microsoft.com
Mon Jun 30 13:09:23 EDT 2003


:info treats _a as an infix operator in ghci.

Prelude> let _a = 'a'
Prelude> :i _a
-- _a is a variable, defined at <interactive>:1
(_a) :: Char


should have not enclosed _a in parens.

--
 Hal Daume III                                   | hdaume at isi.edu
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume



More information about the Glasgow-haskell-bugs mailing list