File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -151,10 +151,9 @@ ifM :: forall a m. Bind m => m Boolean -> m a -> m a -> m a
151
151
ifM cond t f = cond >>= \cond' -> if cond' then t else f
152
152
153
153
-- | Similar to `ifM` but for use in cases where one of the monadic actions may
154
- -- | be expensive to compute or be responsible for side effects. As PureScript
155
- -- | is not lazy, the standard `ifM` has to construct both monadic actions
156
- -- | before returning the result, whereas here only the corresponding monadic
157
- -- | action is constructed.
154
+ -- | be expensive to compute. As PureScript is not lazy, the standard `ifM` has
155
+ -- | to construct both monadic actions before returning the result, whereas here
156
+ -- | only the corresponding monadic action is constructed.
158
157
-- |
159
158
-- | ```purescript
160
159
-- | main :: Effect Unit
You can’t perform that action at this time.
0 commit comments