lorentz-0.13.4: EDSL for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Lorentz.Empty

Description

Support for uninhabited type.

Note: this module exists solely for historical reasons since the time when Never was not yet supported by the Michelson.

TODO [#549]: remove this module.

Synopsis

Documentation

data Empty Source #

Deprecated: Use Never type instead

Replacement for uninhabited type.

Instances

Instances details
Generic Empty Source # 
Instance details

Defined in Lorentz.Empty

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

TypeHasDoc Empty Source # 
Instance details

Defined in Lorentz.Empty

Associated Types

type TypeDocFieldDescriptions Empty :: FieldDescriptions #

IsoValue Empty Source # 
Instance details

Defined in Lorentz.Empty

Associated Types

type ToT Empty :: T #

HasAnnotation Empty Source # 
Instance details

Defined in Lorentz.Empty

HasRPCRepr Empty Source # 
Instance details

Defined in Lorentz.Empty

Associated Types

type AsRPC Empty

type Rep Empty Source # 
Instance details

Defined in Lorentz.Empty

type Rep Empty = D1 ('MetaData "Empty" "Lorentz.Empty" "lorentz-0.13.4-inplace" 'True) (C1 ('MetaCons "Empty" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ())))
type TypeDocFieldDescriptions Empty Source # 
Instance details

Defined in Lorentz.Empty

type ToT Empty Source # 
Instance details

Defined in Lorentz.Empty

type ToT Empty = GValueType (Rep Empty)
type AsRPC Empty Source # 
Instance details

Defined in Lorentz.Empty

type AsRPC Empty = Empty

absurd_ :: (Empty ': s) :-> s' Source #

Witness of that this code is unreachable.

Orphan instances