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

Morley.Michelson.Typed.Existential

Synopsis

Documentation

data SomeConstrainedValue (c :: T -> Constraint) where Source #

Constructors

SomeConstrainedValue :: forall (t :: T) (c :: T -> Constraint). c t => Value t -> SomeConstrainedValue c 

data SomeContract where Source #

Constructors

SomeContract :: Contract cp st -> SomeContract 

Instances

Instances details
Show SomeContract Source # 
Instance details

Defined in Morley.Michelson.Typed.Existential

NFData SomeContract Source # 
Instance details

Defined in Morley.Michelson.Typed.Existential

Methods

rnf :: SomeContract -> () #

data SomeContractAndStorage where Source #

Represents a typed contract & a storage value of the type expected by the contract.

Constructors

SomeContractAndStorage :: forall cp st. (StorageScope st, ParameterScope cp) => Contract cp st -> Value st -> SomeContractAndStorage 

data SomeIsoValue where Source #

Hides some Haskell value put in line with Michelson Value.

Constructors

SomeIsoValue :: KnownIsoT a => a -> SomeIsoValue 

data SomeValue where Source #

Constructors

SomeValue :: SingI t => Value t -> SomeValue 

Instances

Instances details
Eq SomeValue Source # 
Instance details

Defined in Morley.Michelson.Typed.Existential

Show SomeValue Source # 
Instance details

Defined in Morley.Michelson.Typed.Existential

data SomeStorage where Source #

Constructors

SomeStorage :: forall st. StorageScope st => Value st -> SomeStorage 

Instances

Instances details
Show SomeStorage Source # 
Instance details

Defined in Morley.Michelson.Typed.Existential