@@ -39,28 +39,28 @@ set l b = over l (const b)
39
39
(.~) :: forall s t a b . Setter s t a b -> b -> s -> t
40
40
(.~) = set
41
41
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
43
43
(+~) p = over p <<< flip (+)
44
44
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
46
46
(*~) p = over p <<< flip (*)
47
47
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
49
49
(-~) p = over p <<< flip (-)
50
50
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
52
52
(//~) p = over p <<< flip (/)
53
53
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
55
55
(||~) p = over p <<< flip (||)
56
56
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
58
58
(&&~) p = over p <<< flip (&&)
59
59
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
61
61
(<>~) p = over p <<< flip (<>)
62
62
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
64
64
(++~) p = over p <<< flip (++)
65
65
66
66
(?~) :: forall s t a b . Setter s t a (Maybe b ) -> b -> s -> t
0 commit comments