|Reported by:||nh2||Owned by:|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.