Hasklet #1
Due: Fri, Apr 2
Read the general information on Hasklets!
Submit your solution through Canvas.
Description
Download the template linked above and complete each undefined
function. The intended behavior of the function can be deduced from the description and the example test cases in the comments.
The test cases in the comments can also be executed as unit tests using the Doctest tool.
See here for instructions on installing Doctest