3 ms·
I'll bet a choklate bar that 100% of all developers who spent 6 year using Haskell knows what a for-loop is.
by Nevermindmyview 7y ago
I'll bet a choklate bar that 100% of all developers who spent 6 year using Haskell knows what a for-loop is.
- 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.