We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ffb5b1 commit 4d27c72Copy full SHA for 4d27c72
src/Data/Lens/Lens/Product.purs
@@ -8,10 +8,10 @@ import Data.Lens.Iso.Product (_Product)
8
import Data.Lens.Lens (Lens())
9
import Data.Lens.Lens.Tuple as T
10
11
--- | Lens for the `left` of a `Product`.
+-- | Lens for the first component of a `Product`.
12
_1 :: forall f g h a. Lens (Product f g a) (Product h g a) (f a) (h a)
13
_1 = _Product <<< T._1
14
15
--- | Lens for the `right` of a `Product`.
+-- | Lens for the second component of a `Product`.
16
_2 :: forall f g h a. Lens (Product f g a) (Product f h a) (g a) (h a)
17
_2 = _Product <<< T._2
0 commit comments