Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions that generate Plutus Core terms from Haskell values and vice versa.
Synopsis
- metaIntegerToNat :: TermLike term TyName Name uni fun => Integer -> term ()
- metaEitherToSum :: TermLike term TyName Name uni fun => Type TyName uni () -> Type TyName uni () -> Either (term ()) (term ()) -> term ()
- metaListToScottList :: TermLike term TyName Name uni fun => Type TyName uni () -> [term ()] -> term ()
Documentation
metaIntegerToNat :: TermLike term TyName Name uni fun => Integer -> term () Source #
Convert an Integer
to a nat
. TODO: convert PLC's integer
to nat
instead.