plutus-core-0.1.0.0: Language library for Plutus Core
Safe HaskellNone
LanguageHaskell2010

PlutusCore.Examples.Data.List

Synopsis

Documentation

omapList :: Term TyName Name DefaultUni (Either DefaultFun ExtensionFun) () Source #

Monomorphic map over built-in lists.

/(a :: *) -> (f : a -> a) -> fix {list a} {list a} (rec : list a -> list a) (xs : list a) -> caseList {a} xs {list a} xs (x : a) (xs' : list a) -> cons {a} (f x) (rec xs')