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

Description

Synopsis

Documentation

data Dropped a Source #

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

Constructors

Drop a
Top

Instances

Instances details
Monad Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

Functor Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

Applicative Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

Foldable Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

Traversable Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

Methods

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

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

toConstr :: Dropped a -> Constr Source #

dataTypeOf :: Dropped a -> DataType Source #

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

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

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

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

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

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

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

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

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

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

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

Generic ( Dropped a) Source #
Instance details

Defined in Algebra.Lattice.Dropped

Associated Types

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

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

BoundedJoinSemiLattice a => BoundedJoinSemiLattice ( Dropped a) Source #
Instance details

Defined in Algebra.Lattice.Dropped

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

Defined in Algebra.Lattice.Dropped

Generic1 Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

Associated Types

type Rep1 Dropped :: k -> Type Source #

type Rep ( Dropped a) Source #
Instance details

Defined in Algebra.Lattice.Dropped

type Rep1 Dropped Source #
Instance details

Defined in Algebra.Lattice.Dropped

foldDropped :: b -> (a -> b) -> Dropped a -> b Source #

Similar to maybe , but for Dropped type.