thoughtbot / carnival

An unobtrusive, developer-friendly way to add comments
MIT License
499 stars 30 forks source link

Refactor Model/Handler distinction #107

Closed pbrisbin closed 10 years ago

pbrisbin commented 10 years ago

This PR has two motivations:

First, see if it is as easy/safe to wildly refactor a Haskell codebase as we keep saying it should be. It was easy, we'll have to see if it was safe.

Second, bring the codebase in line with a few best practices, some accepted (line-length, formatting, import sorting, etc) and some that I'm proposing now via this PR.

The new ones are:

jferris commented 10 years ago

I think I commented on some of this on the other pull request, but this model approach looks good to me.