|
definition: |
singleton :: k -> a -> Map k a singleton k a = Bin k a 1 Tip Tip |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Construct a map with only a single element. @param k key of @param a the single element to form @result a finite map with only a single element |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> {Bin}}
|
|
name: |
singleton |
|
precedence: |
no precedence defined |
|
result-values: |
{Bin}
|
|
signature: |
a -> b -> Map a b |
|
solution-complete: |
operationally complete operation |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |