Fix comment in Typed
commitb3ca312ee3926c70404c33e5f8c6cfad2c31ae47
authorCsongor Kiss <kiss.csongor.kiss@gmail.com>
dateSun 30 Jul 2017, 19:45 (9 years ago)
parent823792d
src/Data/Generics/Product/Typed.hs+1−1
@@ -63,7 +63,7 @@ class HasType a s where
6363 -- |A lens that focuses on a field with a unique type in its parent type.
6464 -- Compatible with the lens package's 'Control.Lens.Lens' type.
6565 --
66− -- >>> human ^. @typed Int
66+ -- >>> human ^. typed @Int
6767 -- 50
6868 typed :: Lens' s a
6969