@hollyrebecca pointed out that the current WildcardValueSpecification notation for binding a wildcard to a variable, any into x, is not very intuitive. This came from my attempt to write something vaguely like structured English, so ideally I'd like something that is somehow concise but not symbol soup.
Possible inspirations:
Haskell and Rust: x@any (common; symbol soup, though)
OCaml: any as x (does it really improve things from into?)
@hollyrebecca pointed out that the current
WildcardValueSpecification
notation for binding a wildcard to a variable,any into x
, is not very intuitive. This came from my attempt to write something vaguely like structured English, so ideally I'd like something that is somehow concise but not symbol soup.Possible inspirations:
x@any
(common; symbol soup, though)any as x
(does it really improve things frominto
?)