on develop help sign in
Correct docs for commentNodeConfig_setContents
commitf2c6189d3fbb9a2f794b5c9b3af8d65023a7c083 authorTom Smalley <tfsmalley@gmail.com> dateThu 3 Jan 2019, 16:07 (8 years ago) parent77f2fb1
1 file changed+1−1
reflex-dom-core/src/Reflex/Dom/Builder/Class.hs+1−1
reflex-dom-core/src/Reflex/Dom/Builder/Class.hs+1−1
@@ -442,7 +442,7 @@ textNodeConfig_setContents =
442442 setter t e = t { _textNodeConfig_setContents = Just e }
443443 in lens getter setter
444444
445−-- | This lens is technically illegal. The implementation of 'TextNodeConfig' uses a 'Maybe' under the hood for efficiency reasons. However, always interacting with 'TextNodeConfig' via lenses will always behave correctly, and if you pattern match on it, you should always treat 'Nothing' as 'never'.
445+-- | This lens is technically illegal. The implementation of 'CommentNodeConfig' uses a 'Maybe' under the hood for efficiency reasons. However, always interacting with 'CommentNodeConfig' via lenses will always behave correctly, and if you pattern match on it, you should always treat 'Nothing' as 'never'.
446446commentNodeConfig_setContents :: Reflex t => Lens (CommentNodeConfig t) (CommentNodeConfig t) (Event t Text) (Event t Text)
447447commentNodeConfig_setContents =
448448 let getter = fromMaybe never . _commentNodeConfig_setContents