Package hydra.coreEncoding
Interface CoreEncoding
-
public interface CoreEncoding
Mapping of hydra/core constructs in a host language like Haskell or Java to their native Hydra counterparts as terms. This includes an implementation of LambdaGraph's epsilon encoding (types to terms).
-
-
Method Summary
-
-
-
Method Detail
-
coreEncodeAnnotatedTerm
static Term coreEncodeAnnotatedTerm(AnnotatedTerm a)
-
coreEncodeAnnotatedType
static Term coreEncodeAnnotatedType(AnnotatedType at)
-
coreEncodeApplication
static Term coreEncodeApplication(Application app)
-
coreEncodeApplicationType
static Term coreEncodeApplicationType(ApplicationType at)
-
coreEncodeCaseStatement
static Term coreEncodeCaseStatement(CaseStatement cs)
-
coreEncodeElimination
static Term coreEncodeElimination(Elimination v1)
-
coreEncodeFloatValue
static Term coreEncodeFloatValue(FloatValue v1)
-
coreEncodeFunctionType
static Term coreEncodeFunctionType(FunctionType ft)
-
coreEncodeIntegerType
static Term coreEncodeIntegerType(IntegerType v1)
-
coreEncodeIntegerValue
static Term coreEncodeIntegerValue(IntegerValue v1)
-
coreEncodeLambdaType
static Term coreEncodeLambdaType(LambdaType lt)
-
coreEncodeLetBinding
static Term coreEncodeLetBinding(LetBinding b)
-
coreEncodeLiteralType
static Term coreEncodeLiteralType(LiteralType v1)
-
coreEncodeOptionalCases
static Term coreEncodeOptionalCases(OptionalCases oc)
-
coreEncodeProjection
static Term coreEncodeProjection(Projection p)
-
coreEncodeTupleProjection
static Term coreEncodeTupleProjection(TupleProjection tp)
-
coreEncodeTypeAbstraction
static Term coreEncodeTypeAbstraction(TypeAbstraction l)
-
coreEncodeTypeScheme
static Term coreEncodeTypeScheme(TypeScheme ts)
-
coreEncodeWrappedTerm
static Term coreEncodeWrappedTerm(WrappedTerm n)
-
coreEncodeWrappedType
static Term coreEncodeWrappedType(WrappedType nt)
-
-