mochi / mochiweb

MochiWeb is an Erlang library for building lightweight HTTP servers.
Other
1.86k stars 474 forks source link

Remove tuple calls #215

Closed etrepum closed 5 years ago

etrepum commented 5 years ago

This is basically a re-implementation of part of #201, this removes tuple calls entirely from the source code, but I refactored the tests last to ensure that backwards compatibility is maintained.

Re: #214

etrepum commented 5 years ago

The mixed tabs and spaces are probably emacs erlang-mode's fault (historically). Do these modified files have mixed tabs and spaces? I ran erl_tidy on everything that changed (ideally settling on this or a similar tool on a CI basis, but didn't want to inflate this PR beyond things it touched). https://github.com/mochi/mochiweb/pull/215/commits/69d6df7fe02990ebbf8c836215d26a1e1939716a