Copyright | (c) Edward Kmett and Dan Doel 2012-2013 |
---|---|
License | BSD3 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
These combinators can be used to retain sharing information.
Documentation
runSharing :: Monad m => a -> SharingT m a -> m a Source
withSharing :: Monad m => (a -> SharingT m a) -> a -> m a Source
SharingT | |
|
MonadTrans SharingT | |
MonadState s m => MonadState s (SharingT m) | |
MonadReader e m => MonadReader e (SharingT m) | |
Monad m => MonadWriter Any (SharingT m) | |
MonadMeta s m => MonadMeta s (SharingT m) | |
Monad m => Monad (SharingT m) | |
Monad m => Functor (SharingT m) | |
Monad m => Applicative (SharingT m) | |
MonadIO m => MonadIO (SharingT m) | |
Typeable ((* -> *) -> * -> *) SharingT |