Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Order o = OrderT o Identity
- evalOrder :: (forall o. Order o a) -> a
- evalOrderWith :: Algorithm -> (forall o. Order o a) -> a
- data OrderT o m a
- evalOrderT :: Monad m => (forall o. OrderT o m a) -> m a
- evalOrderTWith :: Monad m => Algorithm -> (forall o. OrderT o m a) -> m a
- force :: Monad m => OrderT o m ()
- newMinimum :: Monad m => OrderT o m (Element o)
- newMaximum :: Monad m => OrderT o m (Element o)
- newAfter :: Monad m => Element o -> OrderT o m (Element o)
- newBefore :: Monad m => Element o -> OrderT o m (Element o)
The Order monad
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 #