morley-1.7.0: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Morley.Micheline.Class

Description

Module that provides type classes for converting to and from low-level Micheline representation.

Synopsis

Documentation

class ToExpression a where Source #

Type class that provides an ability to convert something to Micheline Expression.

Instances

Instances details
ToExpression T Source # 
Instance details

Defined in Morley.Micheline.Class

SingI t => ToExpression (Notes t) Source # 
Instance details

Defined in Morley.Micheline.Class

(SingI t, HasNoOp t) => ToExpression (Value t) Source # 
Instance details

Defined in Morley.Micheline.Class

ToExpression (Contract cp st) Source # 
Instance details

Defined in Morley.Micheline.Class

ToExpression (Instr inp out) Source # 
Instance details

Defined in Morley.Micheline.Class

Methods

toExpression :: Instr inp out -> Expression Source #

class FromExpression a where Source #

Type class that provides the ability to convert something from a Micheline Expression.