ivory-stdlib-0.1.0.3: Ivory standard library.

Safe HaskellNone
LanguageHaskell2010

Ivory.Stdlib.Init

Synopsis

Documentation

izerolen :: (IvoryArea area, IvoryZero area, ANat bound) => Proxy bound -> Init (Array bound area) Source

Variant of izero that constrains the length of the array to match a given type-level natural. This reduces the need for the ScopedTypeVariables extension in Ivory code.

iarraylen :: (IvoryArea area, IvoryZero area, ANat bound) => Proxy bound -> [Init area] -> Init (Array bound area) Source

Variant of iarray that constrains the length of the array to match a given type-level natural. This reduces the need for the ScopedTypeVariables extension in Ivory code.