File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 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
99 (<|>) :: forall a. f a -> f a -> f a
1010```
1111
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
1515` String ` or ` Number ` .
1616
1717` Alt ` instances are required to satisfy the following laws:
@@ -32,7 +32,7 @@ class (Applicative f, Plus f) <= Alternative f where
3232```
3333
3434The ` 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.
3636
3737Types which have ` Alternative ` instances should also satisfy the following
3838laws:
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ module Control.Alt where
22
33infixl 3 <|>
44
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
88-- | `String` or `Number`.
99-- |
1010-- | `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
55import Control.Plus
66
77-- | 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.
99-- |
1010-- | Types which have `Alternative` instances should also satisfy the following
1111-- | laws:
You can’t perform that action at this time.
0 commit comments