Features/OCaml3.12

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Current status)
 
Line 11: Line 11:
 
* Name: [[User:rjones| Richard W.M. Jones]]
 
* Name: [[User:rjones| Richard W.M. Jones]]
 
* Email: rjones@redhat.com
 
* Email: rjones@redhat.com
 +
 +
=== NOTE ===
 +
I (rjones) am on holiday all of February, and won't be available on email or IRC.
  
 
== Current status ==
 
== Current status ==
Line 16: Line 19:
 
* Last updated: 2011-02-03
 
* Last updated: 2011-02-03
 
* Percentage of completion: 100%
 
* Percentage of completion: 100%
 
=== NOTE ===
 
I (rjones) am on holiday all of February, and won't be available on email or IRC.
 
  
 
== Detailed Description ==
 
== Detailed Description ==

Latest revision as of 14:42, 3 February 2011

Contents

[edit] Feature Name OCaml 3.12

[edit] Summary

OCaml 3.12 is a major new release of the OCaml language and compiler.

The 8 new major language features are described in this paper (PDF - skip to section 3), and as well as these new features there are new supporting camlp4 and libraries.

[edit] Owner

[edit] NOTE

I (rjones) am on holiday all of February, and won't be available on email or IRC.

[edit] Current status

  • Targeted release: Fedora 15
  • Last updated: 2011-02-03
  • Percentage of completion: 100%

[edit] Detailed Description

OCaml 3.12 is a major revision of the OCaml programming language, the camlp4 macro language, libraries, and CDuce for XML processing.

New language features include:

  • modules are now first-class values
  • nested module open
  • open record notation
  • mark OO methods which must be overridden in subclasses
  • limited support for delimited overloading in the language

camlp4 and camlp5 macro languages have been revised and extended.

The changes are completely backwards compatible.

[edit] Benefit to Fedora

For Fedora this brings the OCaml support right up to date and alongside Debian. It also enables our developers to use a powerful and fast programming language.

[edit] Scope

What needs to be done is to update all of the packages listed on this page:

http://cocan.org/fedora#Package_status

Some of them will simply be a recompile, some of them have new upstream versions which are compatible with 3.12.

[edit] How To Test

No special hardware is needed.

Users can test the new features by compiling their own programs or playing in the REPL:

$ rlwrap ocaml

[edit] User Experience

End users won't notice the difference. Developers will have a more powerful and up to date OCaml to use.

[edit] Dependencies

None.

[edit] Contingency Plan

Stay with OCaml 3.11.

[edit] Documentation

[edit] Release Notes

  • Fedora 15 includes OCaml 3.12, a major new release of the OCaml language and compiler.

[edit] Comments and Discussion