Skip to content

Commit

Permalink
Correct a doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Aug 26, 2021
1 parent 2a2739a commit 54118a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/ListT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ null =

-- |
-- Execute in the inner monad,
-- using its 'mplus' function on each entry.
-- using its '(<|>)' function on each entry.
{-# INLINABLE alternate #-}
alternate :: (Alternative m, Monad m) => ListT m a -> m a
alternate (ListT m) = m >>= \case
Expand Down

0 comments on commit 54118a3

Please sign in to comment.