|
|
|
Description |
Convenience module for exporting usually useful stuff
ALL unsafe* functions must be deleted and turned into primitives
in this module.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Read-write state
| Constructors | | Instances | |
|
|
|
Instances | |
|
|
|
FIX: Delete this function; it's temporary during refactoring. It
violates safety requirements.
|
|
|
Make this write-only monad into a read-write monad.
|
|
|
|
|
|
|
|
|
Safe since writers can be readers.
|
|
|
Safe since writers can be readers.
|
|
|
|
|
|
|
Unsafe since it uses readMVar. For get-only situations, for
reading and not writing; no mvar block.
|
|
|
|
|
|
|
FIX: This f should probably be in the FSRW monad, since that doesn't have state.
|
|
|
Instances | |
|
|
|
FIX: Delete this function; it's temporary during refactoring. It
violates safety requirements.
|
|
|
Make this read-only monad into a read-write monad.
|
|
|
|
|
|
|
Unsafe because it uses readMVar.
|
|
unsafeModifyFSRead :: (FSRoot -> (FSRoot, a)) -> FSRead a | Source |
|
FIX: Unsafe?
|
|
|
unsafe since this allows a reader to write.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module Control.Monad.Trans |
|
module Control.Monad.Error |
|
module Control.Monad.State |
|
|
| Methods | | | Instances | |
|
|
put |
|
get |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |