Bonus Marks


  • › Rewrite the len function using foldl.
  • › Rewrite the elem function using foldl.
  • › Incorporate your standard library directly into the language. Make it load at start-up.
  • › Write some documentation for your standard library, explaining what each of the functions do.
  • › Write some example programs using your standard library, for users to learn from.
  • › Write some test cases for each of the functions in your standard library.