Oct 11, 2021, 5:38:20 AM10/11/21
I sometimes find it convenient to be able to specify the "short-circuiting" of the "or" operator in the reverse order.
This happens in particular when I use the "and-let*" form, and I want to provide the default alternative:
it might be preferable to write:
where "otherwise" is defined trivially as
((_ expression) expression)
((_ expression . expressions)
(or (otherwise . expressions) expression))))
(so it effectively reverses the order of arguments to "or")
Do you think "otherwise" is a good name for this?
Or are there any alterantives that you'd recommend?