A series of exercises to get a feel for how generic types and type variables work in Elm.
For each of these, you are given some code that is not compiling. Your task is to get it
compiling. You can change the body of the function but not the signature. No cheating
with Debug.todo
or infinite recursions either 😉
Hint: the more generic your signature, the less you can do in the function body.
Is it okay to change the body to
[]
orNothing
in case of the first List and Maybe ? :P That was the first thing I came up with