We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a608415 commit 105a53eCopy full SHA for 105a53e
src/Control/Bind.purs
@@ -63,8 +63,12 @@ infixr 1 bindFlipped as =<<
63
instance bindFn :: Bind ((->) r) where
64
bind m f x = f (m x) x
65
66
--- | The `Array` monad works like a nested for loop. Each
67
--- | `bind`/`>>=` adds another level of nesting in the loop:
+-- | The `bind`/`>>=` function for `Array` works by applying a function to
+-- | each element in the array, and flattening the results into a single,
68
+-- | new array.
69
+-- |
70
+-- | Array's `bind`/`>>=` works like a nested for loop. Each `bind` adds
71
+-- | another level of nesting in the loop. For example:
72
-- | ```
73
-- | foo :: Array Int
74
-- | foo =
0 commit comments