CurryInfo: containers-3.0.0 / Data.Map.singleton

definition: Info
 
singleton :: k -> a -> Map k a
singleton k a = Bin k a 1 Tip Tip
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
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: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {Bin}}
name: Info
 singleton
precedence: Info
 no precedence defined
result-values: Info
 {Bin}
signature: Info
 a -> b -> Map a b
solution-complete: Info
 operationally complete operation
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms