|
definition: |
first :: (a -> b) -> (a, c) -> (b, c) first f (x, y) = (f x, y) |
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Apply a function to the first component of a tuple. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{(,)}) |-> {(,)}}
|
|
name: |
first |
|
precedence: |
no precedence defined |
|
result-values: |
{(,)}
|
|
signature: |
(a -> b) -> (a, c) -> (b, c) |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |