CurryInfo: base-3.4.0 / Data.List.groupBy

definition: Info
 
groupBy :: (a -> a -> Bool) -> [a] -> [[a]]
groupBy _  []     = []
groupBy eq (x:xs) = (x:ys) : groupBy eq zs
                    where (ys,zs) = span (eq x) xs
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Splits the list argument into a list of lists of related adjacent
elements.
@param eq - the relation to classify adjacent elements
@param xs - the list of elements
@return the list of lists of related adjacent elements
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{[]}) |-> {[]} || (_,{:}) |-> {:}}
name: Info
 groupBy
precedence: Info
 no precedence defined
result-values: Info
 {:,[]}
signature: Info
 (a -> a -> Prelude.Bool) -> [a] -> [[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