| Copyright | (c) 2013-2020 Galois Inc. |
|---|---|
| License | BSD3 |
| Maintainer | cryptol@galois.com |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Cryptol.Eval.Reference
Description
Documentation
Value type for the reference evaluator.
Constructors
| VBit !Bool |
|
| VInteger !Integer |
|
| VRational !Rational |
|
| VFloat !BF | Floating point numbers |
| VList Nat' [E Value] |
|
| VTuple [E Value] |
|
| VRecord [(Ident, E Value)] |
|
| VFun (E Value -> E Value) | functions |
| VPoly (TValue -> E Value) | polymorphic values (kind *) |
| VNumPoly (Nat' -> E Value) | polymorphic values (kind #) |
Computation monad for the reference evaluator.
evalDeclGroup :: Env -> DeclGroup -> Env Source #