Haskell 2010: Difference between revisions

From HaskellWiki
(Added Category:Language)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==


The new Haskell standard, Haskell 2010, was [http://www.haskell.org/pipermail/haskell/2009-November/021750.html announced] at November 24th 2009; GHC supports it since revision 7.0.1.  
<blockquote>
At the 1997 Haskell Workshop in Amsterdam,
it was decided that a stable variant of Haskell was needed; this became “Haskell 98” and was published in
February 1999. The fixing of minor bugs led to the <i>Revised</i> Haskell 98 Report in 2002.


The Haskell Prime effort was thus conceived as a relatively conservative extension of Haskell 98 [...]


== Changes since Haskell '98 ==
After several years exploring the design space, it was decided that a single monolithic revision of the language
was too large a task, and the best way to make progress was to evolve the language in small incremental steps,
each revision integrating only a small number of well-understood extensions and changes. Haskell 2010 is
the first revision to be created in this way [...]


* [http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse Do And If Then Else]
:<small>[https://www.haskell.org/onlinereport/haskell2010/haskellli2.html#x3-2000 Preface], Haskell 2010 Language Report (online).</small>
* [http://hackage.haskell.org/trac/haskell-prime/wiki/HierarchicalModules Hierarchical Modules]
</blockquote>
* [http://hackage.haskell.org/trac/haskell-prime/wiki/EmptyDataDecls Empty Data Declarations]
 
* [http://hackage.haskell.org/trac/haskell-prime/wiki/FixityResolution Fixity Resolution]
Haskell 2010 was [http://www.haskell.org/pipermail/haskell/2009-November/021750.html announced] at November 24th 2009; GHC supports it since revision 7.0.1.
* [http://hackage.haskell.org/trac/haskell-prime/wiki/ForeignFunctionInterface Foreign Function Interface]
 
* [http://hackage.haskell.org/trac/haskell-prime/wiki/LineCommentSyntax Line Comment Syntax]
== Changes since [[Haskell 98]] ==
* [http://hackage.haskell.org/trac/haskell-prime/wiki/PatternGuards Pattern Guards]
 
* [http://hackage.haskell.org/trac/haskell-prime/wiki/RelaxedDependencyAnalysis Relaxed Dependency Analysis]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/do-and-if-then-else Do And If Then Else]
* [http://hackage.haskell.org/trac/haskell-prime/wiki/LanguagePragma Language Pragma]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/hierarchical-modules Hierarchical Modules]
* [http://hackage.haskell.org/trac/haskell-prime/wiki/NoNPlusKPatterns Remove n+k patterns]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/empty-data-decls Empty Data Declarations]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/fixity-resolution Fixity Resolution]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/ForeignFunctionInterface Foreign Function Interface]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/line-comment-syntax Line Comment Syntax]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/PatternGuards Pattern Guards]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/Relaxed-Dependency-Analysis Relaxed Dependency Analysis]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/Language-Pragma Language Pragma]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/No-N-Plus-K-Patterns Remove n+k patterns]


Furthermore, changes that were made in the base libraries, were added to the report.
Furthermore, changes that were made in the base libraries, were added to the report.
Line 23: Line 38:


An additional change was [http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html published] at January 7th 2011:
An additional change was [http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html published] at January 7th 2011:
* [http://hackage.haskell.org/trac/haskell-prime/wiki/NoDatatypeContexts No Datatype Contexts]
* [https://gitlab.haskell.org/haskell/prime/-/wikis/No-DataType-Contexts No Datatype Contexts]


== Links ==
== Links ==
Line 31: Line 45:


* [http://www.haskell.org/definition/haskell2010.pdf The Haskell 2010 Report] PDF
* [http://www.haskell.org/definition/haskell2010.pdf The Haskell 2010 Report] PDF
* [[Haskell']]


[[Category:History]]
[[Category:History]]
[[Category:Language]]
[[Category:Language]]

Latest revision as of 18:16, 12 March 2025

Introduction

At the 1997 Haskell Workshop in Amsterdam, it was decided that a stable variant of Haskell was needed; this became “Haskell 98” and was published in February 1999. The fixing of minor bugs led to the Revised Haskell 98 Report in 2002.

The Haskell Prime effort was thus conceived as a relatively conservative extension of Haskell 98 [...]

After several years exploring the design space, it was decided that a single monolithic revision of the language was too large a task, and the best way to make progress was to evolve the language in small incremental steps, each revision integrating only a small number of well-understood extensions and changes. Haskell 2010 is the first revision to be created in this way [...]

Preface, Haskell 2010 Language Report (online).

Haskell 2010 was announced at November 24th 2009; GHC supports it since revision 7.0.1.

Changes since Haskell 98

Furthermore, changes that were made in the base libraries, were added to the report.


Additional change

An additional change was published at January 7th 2011:

Links