|
definition: |
head :: [a] -> a head (x:_) = x |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
| Computes the first element of a list. |
|
failfree: |
{:}
|
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({:}) |-> _}
|
|
name: |
head |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[a] -> a |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
possibly non-reducible on same data term |