element and aref functions. This DEP proposes an element reference syntax for providing default values for element calls.If we used "default", what would it mean for the use of the name "default" as a local variable / parameter name, if anything?
--
You received this message because you are subscribed to the Google Groups "dylan-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dylan-lang+...@googlegroups.com.
To post to this group, send email to dylan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dylan-lang/ce0e8c18-6e3e-4ea0-bdb8-767c1d4bb33f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
let inc-square = (squares[a] otherwise a * a) + 1
Also, I really don't like how error-prone the otherwise-expression is.let inc-square = (squares[a] otherwise a * a) + 1is not going to do what it looks like it is going to do—especially since the reason for this DEP would be to shorten expressions where the spelled-out element call would be too obtrusive.