order-maintenance-0.1.1.0: Algorithms for the order maintenance problem with a safe interface

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Trans.Order.Lazy

Contents

Synopsis

The Order monad

evalOrder :: (forall o. Order o a) -> a Source

evalOrderWith :: Algorithm -> (forall o. Order o a) -> a Source

The OrderT monad transformer

evalOrderT :: Monad m => (forall o. OrderT o m a) -> m a Source

evalOrderTWith :: Monad m => Algorithm -> (forall o. OrderT o m a) -> m a Source

force :: Monad m => OrderT o m () Source

Elements

newAfter :: Monad m => Element o -> OrderT o m (Element o) Source