The ml-w package

[Tags:library, program, public-domain]

This package implements a minimal ML-like language to demonstrate how the W algorithm works.

The ML module contains the definition of the language in the form of an Haskell data type, plus functions to parse files and pretty print the datatype.

The TypeInfer module contains the W algorithm itself.

The Main module contains a program that parses and typechecks programs reading from standard input.

The library and executable is compatible with GHC and Hugs (to use Hugs with cabal use the flag --hugs).


Versions 0.1, 0.1.1
Dependencies base (<5), mtl, parsec, pretty [details]
License PublicDomain
Author Francesco Mazzoli <>
Maintainer Francesco Mazzoli <>
Stability Unknown
Category Language, Type Inference
Source repository head: git clone git://
Uploaded Mon Apr 9 09:27:31 UTC 2012 by FrancescoMazzoli
Distributions NixOS:0.1.1
Downloads 466 total (8 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees