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.Lifted

Description

Synopsis

Documentation

data Lifted a Source #

Graft a distinct bottom onto an otherwise unbounded lattice. As a bonus, the bottom will be an absorbing element for the meet.

Constructors

Bottom
Lift a

Instances

Instances details
Monad Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

Functor Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

Applicative Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

Foldable Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

Traversable Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

Methods

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

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

toConstr :: Lifted a -> Constr Source #

dataTypeOf :: Lifted a -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

Generic ( Lifted a) Source #
Instance details

Defined in Algebra.Lattice.Lifted

Associated Types

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

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

Methods

rnf :: Lifted a -> () Source #

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

BoundedMeetSemiLattice a => BoundedMeetSemiLattice ( Lifted a) Source #
Instance details

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

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

Defined in Algebra.Lattice.Lifted

Generic1 Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

Associated Types

type Rep1 Lifted :: k -> Type Source #

type Rep ( Lifted a) Source #
Instance details

Defined in Algebra.Lattice.Lifted

type Rep1 Lifted Source #
Instance details

Defined in Algebra.Lattice.Lifted

foldLifted :: b -> (a -> b) -> Lifted a -> b Source #

Similar to maybe , but for Lifted type.