|Reported by:||nh2||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
The presence of foldl' and foldl1' suggests the addition of scanl' (and scanl1') to Data.List:
scanl' :: (a -> b -> a) -> a -> [b] -> [a] scanl' f q ls = q `seq` (q : (case ls of  ->  x:xs -> scanl' f (f q x) xs))
This would finally sort out the infamous (last . scanl) problem.