[Haskell-beginners] ghci parse error on input

Rick Murphy rick at rickmurphy.org
Sat Mar 20 08:42:19 EDT 2010


Thanks, Stephen.

Stephen Tetley wrote:
> True - if you use -fglasgow-exts rather than adding extensions
> selectively it bring in the conflicting extension (probably
> -XMagicHash)

I believe you are correct. If I remove -fglasgow-exts, GHCI does not 
report the parse error. I also found the following reference to stolen 
syntax for -XMagicHash. (Scroll to bottom of page.)

http://www.haskell.org/ghc/docs/6.10.1/html/users_guide/syntax-extns.html

---
Rick


More information about the Beginners mailing list