Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update src/Snap/Snaplet/Heist.hs

Changed mkLabels to makeLenses for use with Control.Lens.
  • Loading branch information...
commit e74cc196614d17a7441d7bb92e6f426fe2f4c0c1 1 parent 8c51dd3
@statusfailed statusfailed authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Snap/Snaplet/Heist.hs
View
2  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
-- >
Please sign in to comment.
Something went wrong with that request. Please try again.