Permalink
Browse files

Update src/Snap/Snaplet/Heist.hs

Changed mkLabels to makeLenses for use with Control.Lens.
  • Loading branch information...
statusfailed committed Dec 22, 2012
1 parent 8c51dd3 commit e74cc196614d17a7441d7bb92e6f426fe2f4c0c1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Snap/Snaplet/Heist.hs
@@ -66,7 +66,7 @@ import Snap.Snaplet.HeistNoClass ( Heist
-- how the heist snaplet might be declared:
--
-- > data App = App { _heist :: Snaplet (Heist App) }
--- > mkLabels [''App]
+-- > makeLenses ''App
-- >
-- > instance HasHeist App where heistLens = subSnaplet heist
-- >

0 comments on commit e74cc19

Please sign in to comment.