Skip to content
This repository
Browse code

Update src/Snap/Snaplet/Heist.hs

Changed mkLabels to makeLenses for use with Control.Lens.
  • Loading branch information...
commit e74cc196614d17a7441d7bb92e6f426fe2f4c0c1 1 parent 8c51dd3
Paul Wilson authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/Snap/Snaplet/Heist.hs
2  src/Snap/Snaplet/Heist.hs
@@ -66,7 +66,7 @@ import           Snap.Snaplet.HeistNoClass ( Heist
66 66
 -- how the heist snaplet might be declared:
67 67
 --
68 68
 -- > data App = App { _heist :: Snaplet (Heist App) }
69  
--- > mkLabels [''App]
  69
+-- > makeLenses ''App
70 70
 -- >
71 71
 -- > instance HasHeist App where heistLens = subSnaplet heist
72 72
 -- >

0 notes on commit e74cc19

Please sign in to comment.
Something went wrong with that request. Please try again.