add scanl, scanl1, scanr, scanr1