explicit-sharing-0.1: Explicit Sharing of Monadic Effects

Control.Monad.Sharing.Lazy.ContReaderNoThunksInlined

Documentation

newtype Lazy m a Source

Constructors

Lazy 

Fields

fromLazy :: forall w. (a -> Store -> m w) -> Store -> m w
 

Instances

data Store Source

Constructors

Store Int (IntMap Untyped) 

Instances

runLazy :: Monad m => Lazy m a -> m aSource

memo :: Lazy m a -> Lazy m (Lazy m a)Source