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 program in Main can be compiled with make, and the documentation with make docs. It should work fine with GHC version 6 or 7 (and maybe more). It can also be loaded and ran with Hugs turning the extensions on (using the -98 flag) (or simply using the make target loadhugs).


Properties

Versions0.1, 0.1.1
Dependenciesbase (>=3 && <5), mtl, parsec, pretty
LicensePublicDomain
AuthorFrancesco Mazzoli <f@mazzo.li>
MaintainerFrancesco Mazzoli <f@mazzo.li>
CategoryLanguage, Type Inference
Source repositoryhead: git clone git://github.com/bitonic/ml-w.git
ExecutablesML
Upload dateMon Apr 9 08:36:54 UTC 2012
Uploaded byFrancescoMazzoli
Downloads178 total (12 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees