| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Plutarch.Builtin.Array
Synopsis
- newtype PArray (a :: S -> Type) (s :: S) = PArray (Term s (PArray a))
- plengthOfArray :: forall (a :: S -> Type) (s :: S). Term s (PArray a :--> PInteger)
- plistToArray :: forall (a :: S -> Type) (s :: S). Term s (PBuiltinList a :--> PArray a)
- pindexArray :: forall (a :: S -> Type) (s :: S). Term s (PArray a :--> (PInteger :--> a))
Documentation
newtype PArray (a :: S -> Type) (s :: S) Source #
A packed collection of values.
Since: 1.11.0
Instances
plengthOfArray :: forall (a :: S -> Type) (s :: S). Term s (PArray a :--> PInteger) Source #
Get the length of an array, as per CIP-138.
Since: 1.11.0