On Sat, 29 Apr 2023 at 23:01, <petr@adamek.name> wrote:
Ad 4) Wouldn't "<=" be a little more logical than "=>"? The perceived direction of the "flow" of the default value is exactly opposite, i.e., the default value is always evaluated and then put *into* the argument.
Using arrows to represent information flow has been done, for example in APL and R, but it's generally not been a significant benefit. C++ uses flow operators in a delightfully cute way that gets old after about the second time you actually use it. (Python has done similarly cute things with certain operators, with mixed results. I think Pathlib has been quite successful, but there are others that are less so.) Flow direction simply isn't a valuable-enough piece of information to be worth reusing an existing operator and thus risking ambiguity. ChrisA