Skip to content

Commit

Permalink
Removed some useless TH dollar-signs from test code and docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanvisser committed Jul 25, 2012
1 parent 23feb0c commit f0bd829
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bench/Benchmark.hs
Expand Up @@ -19,7 +19,7 @@ data Place = Place
, _continent :: String
} deriving (Show, Eq)

$(mkLabels [''Person, ''Place])
mkLabels [''Person, ''Place]

jan :: Person
jan = Person "Jan" 71 True (Place "Utrecht" "The Netherlands" "Europe") Nothing
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Label.hs
Expand Up @@ -46,7 +46,7 @@ underscore. This underscore is an indication for our Template Haskell code to
derive lenses for these fields. Deriving lenses can be done with this simple
one-liner:
>$(mkLabels [''Person, ''Place])
>mkLabels [''Person, ''Place]
For all labels a lens will created.
Expand Down
2 changes: 1 addition & 1 deletion test/Deriving.hs
Expand Up @@ -31,7 +31,7 @@ data Member a =
}
deriving Show

$(mkLabels [''Family, ''Member])
mkLabels [''Family, ''Member]

myself :: Member Int
myself = Person "Me" 28 (Family (Just myDad) (Just myMum))
Expand Down

0 comments on commit f0bd829

Please sign in to comment.