hermit- Haskell Equational Reasoning Model-to-Implementation Tunnel

Safe HaskellNone




The HERMIT Interpreter

data Interp Source

An Interp a is a possible means of converting a Typeable value to a value of type a.


interp :: Typeable a => (a -> b) -> Interp bSource

The primitive way of building an Interp.

interpExprH :: Monad m => Dictionary -> [Interp a] -> ExprH -> m aSource

Interpret an ExprH by looking up the appropriate Dynamic(s) in the provided Dictionary, then interpreting the Dynamic(s) with the provided Interps, returning the first interpretation to succeed (or an error string if none succeed).