Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump dependancy on `template-haskell` to allow version 2.8

...and add top-level signature for `errmsg` to silence compiler warning
  • Loading branch information...
commit ebdb380d1f39382605e85294529ba083211b4678 1 parent 2132129
@hvr hvr authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  Data/Lens/Template.hs
  2. +1 −1  data-lens-template.cabal
View
1  Data/Lens/Template.hs
@@ -134,6 +134,7 @@ decMakeLens t dec namer = do
#endif
+errmsg :: Show a => a -> [Char]
errmsg t = "Cannot derive accessors for name " ++ show t ++ " because"
++ "\n it is not a type declared with 'data' or 'newtype'"
++ "\n Did you remember to double-tick the type as in"
View
2  data-lens-template.cabal
@@ -22,7 +22,7 @@ library
build-depends:
data-lens >= 2.0 && < 2.11,
base >= 1.0 && < 5,
- template-haskell >= 2.4 && < 2.8
+ template-haskell >= 2.4 && < 2.9
exposed-modules:
Data.Lens.Template
Please sign in to comment.
Something went wrong with that request. Please try again.