File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1
- # v0.2.0 Breaking change note
2
-
3
- If you are have a conflict between ` <|> ` in ` Prelude ` and ` Control.Alt ` please update your ` psc ` to 0.5.4.1.
4
-
5
- ---
6
-
7
1
# Module Documentation
8
2
9
3
## Module Control.Alt
@@ -94,6 +88,15 @@ If you are have a conflict between `<|>` in `Prelude` and `Control.Alt` please u
94
88
duplicate :: forall a w. (Extend w) => w a -> w (w a)
95
89
96
90
91
+ ## Module Control.Functor
92
+
93
+ ### Values
94
+
95
+ ($>) :: forall f a b. (Functor f) => f a -> b -> f b
96
+
97
+ (<$) :: forall f a b. (Functor f) => a -> f b -> f a
98
+
99
+
97
100
## Module Control.Lazy
98
101
99
102
### Type Classes
@@ -147,4 +150,4 @@ If you are have a conflict between `<|>` in `Prelude` and `Control.Alt` please u
147
150
### Type Classes
148
151
149
152
class (Alt f) <= Plus f where
150
- empty :: forall a. f a
153
+ empty :: forall a. f a
Original file line number Diff line number Diff line change
1
+ module Control.Functor where
2
+
3
+ infixl 4 <$
4
+ infixl 4 $>
5
+
6
+ (<$) :: forall f a b . (Functor f ) => a -> f b -> f a
7
+ (<$) x f = const x <$> f
8
+
9
+ ($>) :: forall f a b . (Functor f ) => f a -> b -> f b
10
+ ($>) f x = const x <$> f
You can’t perform that action at this time.
0 commit comments