Skip to content

Commit

Permalink
Update src/Snap/Snaplet/Heist.hs
Browse files Browse the repository at this point in the history
Changed mkLabels to makeLenses for use with Control.Lens.
  • Loading branch information
statusfailed committed Dec 22, 2012
1 parent 8c51dd3 commit e74cc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snap/Snaplet/Heist.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
-- >
Expand Down

0 comments on commit e74cc19

Please sign in to comment.