lub: information operators: least upper bound (lub) and greatest lower bound (glb)

[ bsd3, concurrency, data, library, other ] [ Propose Tags ]

Lub is an experiment in computing least upper information bounds on (partially defined) functional values. It provides a lub function that is consistent with the unamb operator but has a more liberal precondition. Where unamb requires its arguments to equal when neither is bottom, lub is able to synthesize a value from the partial information contained in both of its arguments.

This module also defines glb, which intersects information.

Project wiki page:

© 2008-2014 by Conal Elliott; BSD3 license.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.1.6, 0.1.7, 0.1.8
Dependencies base (>=4.6 && <5), unamb (>=0.2.4) [details]
License BSD-3-Clause
Copyright (c) 2008-2014 by Conal Elliott
Author Conal Elliott
Category Concurrency, Data, Other
Home page
Source repo head: git clone git://
Uploaded by ConalElliott at 2021-08-31T15:43:37Z
Distributions NixOS:0.1.8
Reverse Dependencies 3 direct, 11 indirect [details]
Downloads 9600 total (33 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-08-31 [all 1 reports]