## MLton 20241230

# Release20051202

This is an archived public release of MLton, version 20051202.

## Changes since the last public release

- The MLton license is now BSD-style instead of the GPL.

- New platforms: X86/MinGW and HPPA/Linux.

- Improved and expanded documentation, based on the MLton wiki.

- Compiler.

  - improved exception history.

  - Command-line switches.

    - Added: `-as-opt`, `-mlb-path-map`, `-target-as-opt`, `-target-cc-opt`.

    - Removed: `-native`, `-sequence-unit`, `-warn-match`, `-warn-unused`.

- Language.

  - FFI syntax changes and extensions.

    - Added: `_symbol`.

    - Changed: `_export`, `_import`.

    - Removed: `_ffi`.

  - ML Basis annotations.

    - Added: `allowFFI`, `nonexhaustiveExnMatch`, `nonexhaustiveMatch`, `redundantMatch`, `sequenceNonUnit`.

    - Deprecated: `allowExport`, `allowImport`, `sequenceUnit`, `warnMatch`.

- Libraries.

  - Basis Library.

    - Added: `Int1`, `Word1`.

  - MLton structure.

    - Added: `Process.create`, `ProcEnv.setgroups`, `Rusage.measureGC`, `Socket.fdToSock`, `Socket.Ctl.getError`.

    - Changed: `MLton.Platform.Arch`.

  - Other libraries.

    - Added: ckit, ML-NLFFI library, SML/NJ library.

- Tools.

  - Updates of `mllex` and `mlyacc` from SML/NJ.

  - Added mlnlffigen.

  - Profiling supports better inclusion/exclusion of code.

For a complete list of changes and bug fixes since Release20041109, see the `changelog` and Bugs20041109.

## 20051202 binary packages

- x86

  - Cygwin 1.5.18-1

  - FreeBSD 5.4

  - Linux

    - Debian sid

    - Debian stable (Sarge)

    - RedHat 7.1-9.3 FC1-FC4

    - tgz for other distributions (glibc 2.3)

  - MinGW

  - NetBSD 2.0.2

  - OpenBSD 3.7

- PowerPC

  - Darwin 7.9.0 (Mac OS X)

- Sparc

  - Solaris 8

## 20051202 source packages

- source tgz

- Debian dsc, diff.gz, orig.tar.gz

- RedHat source rpm

## Packages available at other sites

- Debian

- FreeBSD

- Fedora Core 4 5

- Ubuntu

## Also see

- Bugs20051202

- MLton Guide (20051202).

  A snapshot of the MLton wiki at the time of release.