logo       

small bug with :info and ids beginning with _: msg#00100

lang.haskell.glasgow.bugs

Subject: small bug with :info and ids beginning with _

: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@xxxxxxx
"Arrest this man, he talks in maths." | www.isi.edu/~hdaume


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise