lattices-1.4: Fine-grained library for constructing and manipulating lattices

Copyright(C) 2010-2015 Maximilian Bolingbroke, 2015 Oleg Grenrus
LicenseBSD-3-Clause (see the file LICENSE)
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellTrustworthy
LanguageHaskell2010

Algebra.Lattice.Levitated

Description

 

Synopsis

Documentation

data Levitated a Source

Graft a distinct top and bottom onto an otherwise unbounded lattice. The top is the absorbing element for the join, and the bottom is the absorbing element for the meet.

Constructors

Top 
Levitate a 
Bottom 

retractLevitated :: BoundedLattice a => Levitated a -> a Source

Interpret Levitated a using the BoundedLattice of a.