----
function fn() {
  if (a) { b(); }
  else if (b) { c(); }
  else { d(); }
  return;
}
----
fn = ->
  if a
    b()
  else if b
    c()
  else
    d()
  return
