id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
1113,GHCi  6.6 and unicode at the REPL,greg@…,,"While the following definition works fine in a source file (that's a Unicode [http://www.fileformat.info/info/unicode/char/00b1/index.htm U+00B1 PLUS-MINUS SIGN])...

{{{
a ± b = (a+b, a-b) 
}}}

...I get an error when trying entering it at the REPL prompt...

{{{
Prelude> let a ± b = (a+b, a-b)
<interactive>:1:4: Parse error in pattern
Prelude>
}}}

...and using "":t"" to display results with something other than ASCII type variables doesn't seem to work quite right.  Here's an example program...

{{{
map' :: (α -> β) -> [α] -> [β]
map' _ [] = []
map' f (x:xs) = (f x) : map f xs
}}}

...and here's what the results looks like on my terminal...

http://sleepingsquirrel.org/haskell/ghci_unicode.jpg",bug,closed,normal,,GHCi,6.6,duplicate,,,Linux,x86,,Unknown,,,,
