Skip to content

Commit 9c13aea

Browse files
Add comment about naming of lmap specializations
1 parent 73a5b45 commit 9c13aea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

core/src/Streamly/Internal/Data/Unfold.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ module Streamly.Internal.Data.Unfold
5050

5151
-- * Combinators
5252
-- ** Mapping on Input
53+
54+
-- A named lmap specialization earns its name only if it's more
55+
-- forward-thinkable than lmap f itself.
56+
5357
, discardFirst
5458
, discardSecond
5559
, swap

0 commit comments

Comments
 (0)