ml-w: Minimal ML language to to demonstrate the W type infererence algorithm.

[ language, library, program, public-domain, type-inference ] [ Propose Tags ]

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).


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.1.1
Dependencies base (<5), mtl, parsec, pretty [details]
License LicenseRef-PublicDomain
Author Francesco Mazzoli <>
Maintainer Francesco Mazzoli <>
Category Language, Type Inference
Source repo head: git clone git://
Uploaded by FrancescoMazzoli at 2012-04-09T09:27:31Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables ML
Downloads 1760 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]