| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
LIO.FS.Simple.DCLabel
Description
This module exposes some wrapper functions for executing LIO actions
using DCLabels with simple (LIO.FS.Simple) filesystem support.
- evalDCWithRoot :: FilePath -> DC a -> IO a
- tryDCWithRoot :: FilePath -> DC a -> IO (Either SomeException a, LIOState DCLabel)
Documentation
Like evalDC, execute a DC action, but with filesystem
support. The filesystme root is supplied, while the root label is
dcPublic. See LIO.FS.Simple for a description of the simple
filesystem API.
Arguments
| :: FilePath | Filesystem root |
| -> DC a | LIO action |
| -> IO (Either SomeException a, LIOState DCLabel) |
Similar to evalDCWithRoot, but catches the end exception. See
tryDC.