Concise way of writing multi clause - single body functions?

see this thread: Can a macro generate functions iteratively from list of atoms?

Note, that it does not just exist, but is also allowed in guards (as long as the right-hand side is a list or a range).

1 Like