morley-0.3.0: Developer tools for the Michelson Language

Safe HaskellNone
LanguageHaskell2010

Michelson.Typed.Extract

Synopsis

Documentation

extractNotes :: Type -> Sing t -> Either TypeConvergeError (Notes t) Source #

Extracts Notes t type from Type and corresponding singleton.

fromUType :: HasCallStack => Type -> T Source #

Extracts T type from Type.

mkUType :: Sing x -> Notes x -> Type Source #

toUType :: T -> Type Source #

Converts from T to Type.