Skip to main content
3 events
when toggle format what by license comment
Jul 15, 2022 at 22:45 comment added Astrid I'd welcome input from people more familiar with other functional languages; I tried to keep this general (and it's very striking that no other functional language I checked allows early return) but my experience is with Scala and this answer may be biased in that direction. I also couldn't actually find explanations for why functional programming and explicit return don't mix and ended up cobbling one together from tpolecat's post and my own experience, so addenda and corrections are very welcome.
S Jul 15, 2022 at 22:39 history answered Astrid CC BY-SA 4.0
S Jul 15, 2022 at 22:39 history made wiki Post Made Community Wiki by Astrid