monadiccp-0.7.7: Constraint Programming
Control.Search.Memo
data MemoKey Source #
Constructors
Fields
Instances
Methods
(==) :: MemoKey -> MemoKey -> Bool #
(/=) :: MemoKey -> MemoKey -> Bool #
compare :: MemoKey -> MemoKey -> Ordering #
(<) :: MemoKey -> MemoKey -> Bool #
(<=) :: MemoKey -> MemoKey -> Bool #
(>) :: MemoKey -> MemoKey -> Bool #
(>=) :: MemoKey -> MemoKey -> Bool #
max :: MemoKey -> MemoKey -> MemoKey #
min :: MemoKey -> MemoKey -> MemoKey #
data MemoValue Source #
data MemoInfo Source #
initMemoInfo :: MemoInfo Source #
newtype MemoT m a Source #
getMemo :: MemoT m MemoInfo Source #
setMemo :: MemoInfo -> MemoT m () Source #
runMemoT :: Monad m => MemoT m a -> m (a, [(MemoKey, MemoValue)]) Source #
class Monad m => MemoM m where Source #
Minimal complete definition
getMemo, setMemo
getMemo :: m MemoInfo Source #
setMemo :: MemoInfo -> m () Source #
getMemo :: t m MemoInfo Source #
setMemo :: MemoInfo -> t m () Source #