mac-0.1.0.0: Static Mandatory Access Control in Haskell

Safe HaskellTrustworthy
LanguageHaskell98

MAC.MAC

Description

A safe interface for module Core.hs

Synopsis

Documentation

data Res l a Source

Labeling expressions of type a with label l.

labelOf :: Res l a -> l Source

Label of resources

data MAC l a Source

This monad labels the results of the computation (of type a) with label l.

Instances

runMAC :: MAC l a -> IO a Source

Execute secure computations.

fix :: l -> MAC l () Source

To help the type-system