This is a portfolio assignment.

  1. Complete all the functions in Lab 6.

  2. Write the following functions, also adapted from their list versions:

    1. foldl
    2. foldl1
    3. foldr
    4. foldr1
    5. scanl
    6. scanl1
    7. scanr
    8. scanr1
    9. mapAccumL
    10. mapAccumR
    11. splitAt

Post your answers on GitHub as per the instructions in the policies page.