|
definition: |
insertDefFirstTab :: String ->
a ->
(a -> a -> a) ->
Symboltable a b ->
Symboltable a b
insertDefFirstTab k v c (ST (m,n) ms) = ST ((Map.insertWith c k v m),n) ms
|
|
demand: |
argument 4 |
|
deterministic: |
deterministic operation |
|
documentation: |
Inserts a key-value-pair into the current scope (first table) without throwing away previous bindings. Values are combined by given combinator. |
|
failfree: |
(_, _, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_,{ST}) |-> {ST}}
|
|
name: |
insertDefFirstTab |
|
precedence: |
no precedence defined |
|
result-values: |
{ST}
|
|
signature: |
String -> a -> (a -> a -> a) -> Symboltable a b -> Symboltable a b |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |