[GHC] #5964: Documentation: DatatypeContexts is NOT on by default in 7.4.1

GHC cvs-ghc at haskell.org
Wed Mar 28 15:34:29 CEST 2012


#5964: Documentation: DatatypeContexts is NOT on by default in 7.4.1
---------------------------------+------------------------------------------
    Reporter:  dagit             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Documentation     |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by pcapriotti):

 Data type contexts are in Haskell 2010, AFAICT:

 {{{
 topdecl → type simpletype = type
         | data [context =>] simpletype [= constrs] [deriving]
         ...
 }}}

 but at the moment they are not only off by default, but deprecated. Should
 we change the behavior or the documentation?

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



More information about the Glasgow-haskell-bugs mailing list