... | ... | @@ -90,7 +90,4 @@ For example, to enable the FFI and preprocessing with CPP: |
|
|
If 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.
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
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](pattern-guards) -\#}, {-\# LANGUAGE [EmptyDataDecls](empty-data-decls) \#-}, {-\# LANGUAGE [ForeignFunctionInterface](foreign-function-interface) \#-}, … |
|
|
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. 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](pattern-guards) -\#}, {-\# LANGUAGE [EmptyDataDecls](empty-data-decls) \#-}, {-\# LANGUAGE [ForeignFunctionInterface](foreign-function-interface) \#-}, \<to-be-completed when Haskell 2010 has been finalized\>. |