lattices-2.1: Fine-grained library for constructing and manipulating lattices
Copyright (C) 2010-2015 Maximilian Bolingbroke 2015-2019 Oleg Grenrus
License BSD-3-Clause (see the file LICENSE)
Maintainer Oleg Grenrus <oleg.grenrus@iki.fi>
Safe Haskell Safe
Language Haskell2010

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.

Instances

Instances details
Monad Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

Functor Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

Applicative Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

Foldable Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

Traversable Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

Eq a => Eq ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Data a => Data ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Levitated a -> c ( Levitated a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Levitated a) Source #

toConstr :: Levitated a -> Constr Source #

dataTypeOf :: Levitated a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Levitated a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Levitated a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Levitated a -> Levitated a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Levitated a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Levitated a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Levitated a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Levitated a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Levitated a -> m ( Levitated a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Levitated a -> m ( Levitated a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Levitated a -> m ( Levitated a) Source #

Ord a => Ord ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Read a => Read ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Show a => Show ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Generic ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Associated Types

type Rep ( Levitated a) :: Type -> Type Source #

Function a => Function ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Arbitrary a => Arbitrary ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

CoArbitrary a => CoArbitrary ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

NFData a => NFData ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Hashable a => Hashable ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Universe a => Universe ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Finite a => Finite ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

PartialOrd a => PartialOrd ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Lattice a => BoundedMeetSemiLattice ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Lattice a => BoundedJoinSemiLattice ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Lattice a => Lattice ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

Generic1 Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

Associated Types

type Rep1 Levitated :: k -> Type Source #

type Rep ( Levitated a) Source #
Instance details

Defined in Algebra.Lattice.Levitated

type Rep1 Levitated Source #
Instance details

Defined in Algebra.Lattice.Levitated

foldLevitated :: b -> (a -> b) -> b -> Levitated a -> b Source #