CurryInfo: string-trie-0.0.2 / Data.Trie.Internal.toList'

definition: Info
 
toList' :: InternalTrie a -> [(String, a)]
toList' (InternalTrie v ts) = case v of
  Nothing -> concatMap (\(c, t) -> map (\(s, w) -> (c:s, w)) (toList' t)) ts
  Just z  -> ("", z) :
              concatMap (\(c, t) -> map (\(s, w) -> (c:s, w)) (toList' t)) ts
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Converts an internal trie into a list of key-value pairs.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({InternalTrie}) |-> _}
name: Info
 toList'
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 InternalTrie a -> [(String, a)]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms