CurryInfo: base-3.4.0 / Prelude.break

definition: Info
 
break :: (a -> Bool) -> [a] -> ([a], [a])
break p = span (not . p)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
`break p xs` is equivalent to
`(takeWhile (not . p) xs, dropWhile (not . p) xs)`.
Thus, it breaks a list at the first occurrence of an element satisfying p.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> {span}}
name: Info
 break
precedence: Info
 no precedence defined
result-values: Info
 {span}
signature: Info
 (a -> Bool) -> [a] -> ([a], [a])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 possibly non-reducible on same data term