4 ms·
"for" is not that complicated, it's just mapM with its arguments pre-flipped: http://hackage.haskell.org/package/base-4.12.0.0/docs/Control-Monad.html#v:forM ht
by jerf 7y ago
"for" is not that complicated, it's just mapM with its arguments pre-flipped: http://hackage.haskell.org/package/base-4.12.0.0/docs/Control-Monad.html#v:forM http://hackage.haskell.org/package/base-4.12.0.0/docs/Contro...
I don't know why you want to call that a "loop", but, sure, you do you, you crazy imperative programmers.
- hutzlibu 7y agoBecause it is a loop in any sane language ... you overheaded functional programmers .. edit: Sigh. I was jockingly mocking.