Changes between Version 7 and Version 8 of LanguagePragma


Ignore:
Timestamp:
Aug 20, 2009 2:54:03 AM (5 years ago)
Author:
ravi@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LanguagePragma

    v7 v8  
    8080If a Haskell implementation does not recognize or support a particular language extension that a source file requests (or cannot support the combination of language extensions requested), any attempt to compile or otherwise use that file with that Haskell implementation must fail with an error. 
    8181 
    82 In the interests of portability, multiple attempts to enable the same, supported language features (e.g. via command-line arguments, implementation-specific extension dependencies or non-standard pragmas) are specifically permitted.  
    83  
    84 Haskell 2010 implementations are required to support {-# LANGUAGE Haskell2010 -#}. {-# LANGUAGE Haskell2010 -#} implies support for the following named language extensions standardized in Haskell 2010 (and recognized by pre-Haskell 2010 compilers): {-# LANGUAGE PatternGuards -#}, {-# LANGUAGE EmptyDataDecls #-}, {-# LANGUAGE ForeignFunctionInterface #-}, ... 
     82In the interests of portability, multiple attempts to enable the same, supported language features (e.g. via command-line arguments, implementation-specific extension dependencies or non-standard pragmas) are specifically permitted. Also, Haskell 2010 implementations are required to support {-# LANGUAGE Haskell2010 -#}. {-# LANGUAGE Haskell2010 -#} implies support for the following named language extensions standardized in Haskell 2010 (and recognized by pre-Haskell 2010 compilers): {-# LANGUAGE PatternGuards -#}, {-# LANGUAGE EmptyDataDecls #-}, {-# LANGUAGE ForeignFunctionInterface #-}, <to-be-completed when Haskell 2010 has been finalized>.  
    8583{{{ 
    8684#!html