Safe Haskell | Safe-Infered |
---|
- checkCapsX :: Exp a Name -> Maybe Error
- data Error
- = ErrorConflict { }
- | ErrorPartial { }
- | ErrorNonHandle { }
Documentation
checkCapsX :: Exp a Name -> Maybe ErrorSource
Check for conflicting store capabilities in the program.
Things that can go wrong with the capabilities in a program.
ErrorConflict | Conflicting capabilities in program. |
ErrorPartial | A partially applied capability constructor. In the formal semantics, capabilities are atomic, so this isn't a problem. However, as we're representing them with general witness appliction we need to ensure the constructors aren't partially applied. |
ErrorNonHandle | A capability constructor applied to a non-region handle.
As with |