[GHC] #14088: Allow users to omit `forall`
GHC
ghc-devs at haskell.org
Fri Aug 4 12:38:53 UTC 2017
#14088: Allow users to omit `forall`
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by AntC):
Hmm so
{{{
f :: forall a b. a -> b -> a
}}}
becomes
{{{
f :: a b. a -> b -> a
}}}
That initial `a b` looks like type application.
{{{
g :: b.Foo -> Int
}}}
You probably meant
{{{
g :: B.Foo -> Int
}}}
If you think `forall` is too verbose, you could use ∀ (?)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14088#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list