Copyright | Copyright (c) 2009-2016, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | Safe |
Language | Haskell2010 |
Tested with: GHC 8.0.1
This module defines an observable entity, which value can be read within some computation.
- class Observable o m where
Documentation
class Observable o m where Source #
A class of observable entities.
readObservable :: o a -> m a Source #
Read the observable entity value within the specified computation.
(Monad m, MonadRef m) => Observable (Ref m) (Event m) Source # | |
(MonadDES m, Observable (Ref m) (t m)) => Observable (Ref m) (t m) Source # | |