@@ -39,28 +39,28 @@ set l b = over l (const b)
3939(.~) :: forall s t a b . Setter s t a b -> b -> s -> t
4040(.~) = set
4141
42- (+~) :: forall s t a a . (Semiring a ) => Setter s t a a -> a -> s -> t
42+ (+~) :: forall s t a . (Semiring a ) => Setter s t a a -> a -> s -> t
4343(+~) p = over p <<< flip (+)
4444
45- (*~) :: forall s t a a . (Semiring a ) => Setter s t a a -> a -> s -> t
45+ (*~) :: forall s t a . (Semiring a ) => Setter s t a a -> a -> s -> t
4646(*~) p = over p <<< flip (*)
4747
48- (-~) :: forall s t a a . (Ring a ) => Setter s t a a -> a -> s -> t
48+ (-~) :: forall s t a . (Ring a ) => Setter s t a a -> a -> s -> t
4949(-~) p = over p <<< flip (-)
5050
51- (//~) :: forall s t a a . (DivisionRing a ) => Setter s t a a -> a -> s -> t
51+ (//~) :: forall s t a . (DivisionRing a ) => Setter s t a a -> a -> s -> t
5252(//~) p = over p <<< flip (/)
5353
54- (||~) :: forall s t a a . (BooleanAlgebra a ) => Setter s t a a -> a -> s -> t
54+ (||~) :: forall s t a . (BooleanAlgebra a ) => Setter s t a a -> a -> s -> t
5555(||~) p = over p <<< flip (||)
5656
57- (&&~) :: forall s t a a . (BooleanAlgebra a ) => Setter s t a a -> a -> s -> t
57+ (&&~) :: forall s t a . (BooleanAlgebra a ) => Setter s t a a -> a -> s -> t
5858(&&~) p = over p <<< flip (&&)
5959
60- (<>~) :: forall s t a a . (Semigroup a ) => Setter s t a a -> a -> s -> t
60+ (<>~) :: forall s t a . (Semigroup a ) => Setter s t a a -> a -> s -> t
6161(<>~) p = over p <<< flip (<>)
6262
63- (++~) :: forall s t a a . (Semigroup a ) => Setter s t a a -> a -> s -> t
63+ (++~) :: forall s t a . (Semigroup a ) => Setter s t a a -> a -> s -> t
6464(++~) p = over p <<< flip (++)
6565
6666(?~) :: forall s t a b . Setter s t a (Maybe b ) -> b -> s -> t
0 commit comments