CurryInfo: icurry-3.2.0 / ICurry.Options.addQMap

definition: Info
 
addQMap :: (QName,a) -> [(String, Map.Map String a)]
        -> [(String, Map.Map String a)]
addQMap ((mn,fn),i) [] = [(mn, Map.singleton fn i)]
addQMap (qn@(mn,fn),i) ((m,mmap):mmaps) =
  if mn == m then (m, Map.insert fn i mmap) : mmaps
             else (m,mmap) : addQMap (qn,i) mmaps
demand: Info
 arguments 1 2
deterministic: Info
 deterministic operation
documentation: Info
 
Adds the info for a qualified name in a map.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({(,)},{[]}) |-> {:} || ({(,)},{:}) |-> {:}}
name: Info
 addQMap
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 ((String, String), a) -> [(String, Data.Map.Map String a)]
-> [(String, Data.Map.Map String a)]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term