CurryInfo: base-3.4.0 / Data.List.scanl

definition: Info
 
scanl        :: (a -> b -> a) -> a -> [b] -> [a]
scanl f q ls =  q : (case ls of
                       []   -> []
                       x:xs -> scanl f (f q x) xs)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
`scanl` is similar to `foldl`, but returns a list of successive
reduced values from the left:
  scanl f z [x1, x2, ...] == [z, z `f` x1, (z `f` x1) `f` x2, ...]
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> {:}}
name: Info
 scanl
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 (a -> b -> a) -> a -> [b] -> [a]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms