CurryInfo: base-3.4.0 / Data.List.partition

definition: Info
 
partition       :: (a -> Bool) -> [a] -> ([a],[a])
partition p xs  = foldr select ([],[]) xs
 where
  select x (ts,fs) = if p x then (x:ts,fs)
                            else (ts,x:fs)
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Partitions a list into a pair of lists where the first list
contains those elements that satisfy the predicate argument
and the second list contains the remaining arguments.

Example: `(partition (<4) [8,1,5,2,4,3]) = ([1,2,3],[8,5,4])`
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 partition
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (a -> Prelude.Bool) -> [a] -> ([a], [a])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms