Improve existing typechecking, add additional typechecking. Still needs typechecking for the on and position parameters.
Improve existing typechecking, add additional typechecking
Thanks for the pull request, could you please update the unit tests for the error scenarios. Thanks.
Typecheck additional parameters
Typecheck the on, play, and position parameters to serverDown, play, writePatternLine and readPatternLine.
Added further typechecking as specified in #5.
Add unit testing as per @sandeepmistry's request, issue #5.
Added unit tests for @sandeepmistry.
Also, sorry for the lack of newline at the end of the file. I didn't feel like actually forking and cloning the repo so I just edited it within GitHub, which apparently disregards final newlines. Hooray ocd.
Commit 41688a0 takes care of this now.