ParentFull threaddullgiulio·And the first snipped is purposely badly written. One can use early returns to make code flat just like the monadic example.View on HN