Comment
Comment by jihiggins
this is what those end up being, it's pretty straightforward?
semicolon changes the expression from returning the result of the expression to running the expression and returning the unit type. if you accidentally do that and specified a non-unit-return-type in the function signature, the type checker tells you about it:
which is also pretty clear about the solution