Personal tools

Liquid Haskell

From HaskellWiki

Revision as of 14:05, 29 September 2013 by Lemming (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Liquid Haskell allows to annotate code with invariants that complement the invariants imposed by the types. These invariants are checked with an SMT solver.

Such invariants may be non-negative numbers, sorted lists, matching lengths of lists, membership of certain elements in a
Set
or
Map
.

See also