a question about lens inside Snaplet doc

0 views
Skip to first unread message

Canhua

unread,
Oct 29, 2011, 10:41:32 PM10/29/11
to sn...@snapframework.com
hi, I am trying to understand lens inside the new Snap.Snaplet
comments, http://hackage.haskell.org/packages/archive/snap/0.6.0.2/doc/html/Snap-Snaplet.html

and I have a question, the comment says "appQuuxLens = quux .
snapletValue . foo" has a type signature of "appQuuxLens :: Lens App
(Snaplet Quux)",

Isn't that signature should be "Lens App Quux" ?

Thanks

MightyByte

unread,
Oct 29, 2011, 11:06:13 PM10/29/11
to Canhua, sn...@snapframework.com
You are exactly right. Good catch. Thanks.
Reply all
Reply to author
Forward
0 new messages