wiki:LanguagePragma

Version 3 (modified by ravi@…, 5 years ago) (diff)

--

Proposal: LanguagePragma

Ticket #128
Dependencies none
Related specific item in NewPragmas

Compiler support

GHC full
nhc98 none
Hugs none
UHC none
JHC none
LHC full

Summary

Document the minimum guarantees provided by the LANGUAGE pragma so that Haskell 2010 users can reliably use it to portable control access to non-Haskell 2010 language features.

Description

To-be-completed.

References

Report Delta

Replace the the following sentence http://www.haskell.org/onlinereport/pragmas.html 11 Compiler Pragmas:

An implementation is not required to respect any pragma, but the pragma should be ignored if an implementation is not prepared to handle it.

with

With the exception of the LANGUAGE pragma, an implementation is not required to respect any pragma. For non-LANGUAGE pragmas, the pragma should be ignored if an implementation is not prepared to handle it.

Add the following subsection

11.3 Language Extensions <to-be-completed>