Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- createForgetful :: MonadIO m => (model -> Stored event -> model) -> model -> m (ForgetfulInMemory model event)
- data ForgetfulInMemory model event = ForgetfulInMemory {}
Documentation
:: MonadIO m | |
=> (model -> Stored event -> model) | |
-> model | initial model |
-> m (ForgetfulInMemory model event) |
data ForgetfulInMemory model event Source #
STM state without event persistance