Skip to content

Commit a9f4398

Browse files
authored
Added documentation clarification (#5)
Added a sentence to prevent confusion between two similarly-named functions.
1 parent a41a63a commit a9f4398

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Halogen/Subscription.purs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ derive newtype instance semigroupSubscription :: Semigroup Subscription
147147
derive newtype instance monoidSubscription :: Monoid Subscription
148148

149149
-- | Subscribe to an `Emitter` by providing a callback to run on values produced
150-
-- | by the emitter:
150+
-- | by the emitter. Not to be confused with the `subscribe` function from the
151+
-- | regular `Halogen` module!
151152
-- |
152153
-- | ```purs
153154
-- | -- Produce an emitter / listener pair with `create`:

0 commit comments

Comments
 (0)