Solve a bug in `splitWith`

`takenWhile` and `dropWhile`was called with the wrong arguments.
Merge pull request #71 from Serabe/master

Solve a bug in `splitWith`