File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ class (Functor f) <= Alt f where
9
9
(<|>) :: forall a. f a -> f a -> f a
10
10
```
11
11
12
- The ` Alt ` type class identifies an associative operation on a type.
13
- It is similar to ` Semigroup ` , except that it applies to types of
14
- kind ` * -> * ` , like ` Array ` or ` List ` , rather than concrete types like
12
+ The ` Alt ` type class identifies an associative operation on a type
13
+ constructor. It is similar to ` Semigroup ` , except that it applies to
14
+ types of kind ` * -> * ` , like ` Array ` or ` List ` , rather than concrete types
15
15
` String ` or ` Number ` .
16
16
17
17
` Alt ` instances are required to satisfy the following laws:
@@ -32,7 +32,7 @@ class (Applicative f, Plus f) <= Alternative f where
32
32
```
33
33
34
34
The ` Alternative ` type class has no members of its own; it just specifies
35
- that the type has both ` Applicative ` and ` Plus ` instances.
35
+ that the type constructor has both ` Applicative ` and ` Plus ` instances.
36
36
37
37
Types which have ` Alternative ` instances should also satisfy the following
38
38
laws:
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ module Control.Alt where
2
2
3
3
infixl 3 <|>
4
4
5
- -- | The `Alt` type class identifies an associative operation on a type.
6
- -- | It is similar to `Semigroup`, except that it applies to types of
7
- -- | kind `* -> *`, like `Array` or `List`, rather than concrete types like
5
+ -- | The `Alt` type class identifies an associative operation on a type
6
+ -- | constructor. It is similar to `Semigroup`, except that it applies to
7
+ -- | types of kind `* -> *`, like `Array` or `List`, rather than concrete types
8
8
-- | `String` or `Number`.
9
9
-- |
10
10
-- | `Alt` instances are required to satisfy the following laws:
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Control.Lazy
5
5
import Control.Plus
6
6
7
7
-- | The `Alternative` type class has no members of its own; it just specifies
8
- -- | that the type has both `Applicative` and `Plus` instances.
8
+ -- | that the type constructor has both `Applicative` and `Plus` instances.
9
9
-- |
10
10
-- | Types which have `Alternative` instances should also satisfy the following
11
11
-- | laws:
You can’t perform that action at this time.
0 commit comments