[GHC] #739: command-line expressions with double-quoted strings misinterpret some special symbols

GHC trac at galois.com
Wed Apr 5 13:35:12 EDT 2006


#739: command-line expressions with double-quoted strings misinterpret some
special symbols
---------------------------------------------+------------------------------
    Reporter:  pedromiguel.duarte at gmail.com  |        Owner:         
        Type:  bug                           |       Status:  new    
    Priority:  normal                        |    Milestone:         
   Component:  Compiler                      |      Version:  6.4.1  
    Severity:  normal                        |     Keywords:         
          Os:  Unknown                       |   Difficulty:  Unknown
Architecture:  Unknown                       |  
---------------------------------------------+------------------------------
try for instance

 ghc -e " reverse \"2<3\" "
 or
 ghc -e " reverse \"2^3\" "

 The first gives a parsing error,
 while the second returns "32" instead of "3^2"

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/739>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list