Thorsten Jolitz <tjol...@gmail.com> writes: > the answer is in the quote already: > > ,--------------------------------------------- > | Since return value matters, I suggest to use ... > `---------------------------------------------
Exactly. I use `when' if side-effects are involved or if the code is too long and doesn't fit nicely in a `and' branch. Of course, this is nitpicking. There's nothing wrong with `when' variant. Regards, -- Nicolas Goaziou