CurryInfo: array-3.0.0 / Data.Array.listToDefaultArray

definition:
listToDefaultArray ::  (Int -> b) -> [b] -> Array b
listToDefaultArray def = Array def . listToArray
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Creates a default array from a list of entries.
--- @param def - default funtion for non-initialized indexes
--- @param xs - list of entries
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {.._#lambda508}}
name:
listToDefaultArray
precedence:
no precedence defined
result-values:
{.._#lambda508}
signature:
(Prelude.Int -> a) -> [a] -> Array a
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms