morley-1.19.0: Developer tools for the Michelson Language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Michelson.Typed.ClassifiedInstr.Internal.InstrEnum

Description

A Enum type that has constructors matching those of typed Instr.

Synopsis

Documentation

data InstrEnum Source #

A enum type with the same constructors as Instr. Used to specify classifications a little more safely.

fromName :: Name -> InstrEnum Source #

Turn a Name into its corresponding InstrEnum. NB: partial function!