Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This module exposes some wrapper functions for executing LIO
actions
using DCLabel
s 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.
Similar to evalDCWithRoot
, but catches the end exception. See
tryDC
.