Skip to content

Commit 85039e8

Browse files
Change Array's element type to String to match example
1 parent 105a53e commit 85039e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Bind.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ instance bindFn :: Bind ((->) r) where
7070
-- | Array's `bind`/`>>=` works like a nested for loop. Each `bind` adds
7171
-- | another level of nesting in the loop. For example:
7272
-- | ```
73-
-- | foo :: Array Int
73+
-- | foo :: Array String
7474
-- | foo =
7575
-- | ["a", "b"] >>= \eachElementInArray1 ->
7676
-- | ["c", "d"] >>= \eachElementInArray2

0 commit comments

Comments
 (0)