Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-marie committed Jan 4, 2015
1 parent e577e8b commit 7956240
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions HLint.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{-# LANGUAGE PackageImports #-}
module HLint.HLint where

import "hint" HLint.Builtin.All
import "hint" HLint.Default
import "hint" HLint.Dollar
import "hint" HLint.Generalise
2 changes: 1 addition & 1 deletion lib/Data/Aeson/Roundtrip.hs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ instance ProductFunctor JsonBuilder where
merge x Null = Right x
merge Null x = Right x
merge x y = Left $
"Don't know how to merge: " ++ show x ++ " <*> " ++ show y
"Don't know how to merge: " <> show x <> " <*> " <> show y

instance Alternative JsonBuilder where
-- Try the left first, then right.
Expand Down

0 comments on commit 7956240

Please sign in to comment.