Implement compose in terms of sequence
Test for dot operator
Add some semicolons to make jshint happy
Reformat complex functions in tests
Move func type assertions into compareFunctions()