Personal tools


From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Abstract: repo link fix)
(2 intermediate revisions by one user not shown)

Latest revision as of 21:38, 4 February 2014

[edit] Abstract

Lub is an experiment in computing least upper information bounds on (partially defined) functional values.

It provides a
function that is consistent with the unamb operator but has a more liberal precondition. Where
requires its arguments to equal when neither is bottom,
is able to synthesize a value from the partial information contained in both of its arguments, which is useful with non-flat types.

Besides this wiki page, here are more ways to find out about lub:

I got inspired for this package after stimulating discussions with Thomas Davie, Russell O'Connor and others in the #haskell gang.