mightybyte / snaplet-postgresql-simple

BSD 3-Clause "New" or "Revised" License
40 stars 38 forks source link

Cleaned up coding style (hlint for the win) #24

Closed bulldog98 closed 10 years ago

bulldog98 commented 10 years ago

As written above I fixed some coding style issues as pointed out by hlint

bulldog98 commented 10 years ago

The following has 80 characters and thus is better but not good enought.

pgsInit' c = makeSnaplet "postgresql-simple" description datadir $ initHelper c
mightybyte commented 10 years ago

Thanks for the patch. I have a couple small comments. Your pull request had a tab character. Tab characters do not play well with Haskell. You should set your editor to convert tabs to spaces. I also try to keep my packages warning free. The tab character generates a GHC warning, so in the future you should verify that your code builds without warnings.