2 ms·Haskell has `when cond do sideEffect` which captures the intention of an if without an else concisely.by montmorency88 4y agoHaskell has `when cond do sideEffect` which captures the intention of an if without an else concisely.