monadiccp-0.7.7: Constraint Programming

Safe HaskellNone
LanguageHaskell98

Control.Search.Memo

Documentation

data MemoValue Source #

Constructors

MemoValue 

newtype MemoT m a Source #

Constructors

MemoT 

Fields

Instances

runMemoT :: Monad m => MemoT m a -> m (a, [(MemoKey, MemoValue)]) Source #

class Monad m => MemoM m where Source #

Minimal complete definition

getMemo, setMemo

Instances

(MemoM m, FMonadT t) => MemoM (t m) Source # 

Methods

getMemo :: t m MemoInfo Source #

setMemo :: MemoInfo -> t m () Source #

Monad m => MemoM (MemoT m) Source #