|
definition: |
replicate :: Int -> a -> [a] replicate n x = take n (repeat x) |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
| List of length n where all elements have the same value. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> {:,[]}}
|
|
name: |
replicate |
|
precedence: |
no precedence defined |
|
result-values: |
{:,[]}
|
|
signature: |
Int -> a -> [a] |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |