Skip to content

Commit 3d4380c

Browse files
authored
Merge pull request #131 from heptahedron/patch-1
Fix minor typo in documentation
2 parents 6d41182 + cd0e77c commit 3d4380c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Control/Applicative.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ instance applicativeArray :: Applicative Array where
5353
liftA1 :: forall f a b. Applicative f => (a -> b) -> f a -> f b
5454
liftA1 f a = pure f <*> a
5555

56-
-- | Perform a applicative action when a condition is true.
56+
-- | Perform an applicative action when a condition is true.
5757
when :: forall m. Applicative m => Boolean -> m Unit -> m Unit
5858
when true m = m
5959
when false _ = pure unit
6060

61-
-- | Perform a applicative action unless a condition is true.
61+
-- | Perform an applicative action unless a condition is true.
6262
unless :: forall m. Applicative m => Boolean -> m Unit -> m Unit
6363
unless false m = m
6464
unless true _ = pure unit

0 commit comments

Comments
 (0)