Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Sean McLaughlin <seanmcl <at> gmail.com>
Subject: =?utf-8?q?=E2=88=80_lexing_in_ghc_and_ghci?=
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Friday 18th September 2009 01:31:13 UTC (over 7 years ago)
Hi,
  I'm getting different behavior in ghci and ghc with the identifier ∀. 
In
ghc I need
to wrap it with parens, as in


> (∀) :: Var -> Base -> Formula -> Formula
> (∀) = All

In ghci, I get an error this way

Formula.lhs:112:2:
    Invalid type signature

In ghci I can do

> ∀ :: Var -> Base -> Formula -> Formula
> ∀ = All

fine.  But then ghc complains.  What's going on here?

Thanks!

Sean
 
CD: 4ms