[GHC] #10803: New TypeSignatureSections extension
GHC
ghc-devs at haskell.org
Fri Aug 28 10:45:16 UTC 2015
#10803: New TypeSignatureSections extension
-------------------------------------+-------------------------------------
Reporter: hvr | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.2
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-------------------------------------+-------------------------------------
= Preliminary specification
Have
- `(::` ''type'' `)`
be syntax sugar for
- `(\x -> x ::` ''type'' `)`
This new syntax extension is enabled via a new `TypeSignatureSections`
language pragma, i.e.
{{{#!hs
{#- LANGUAGE TypeSignatureSections #-}
}}}
TODO: formalise this a bit more
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10803>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list