Closed Izaakwltn closed 2 months ago
Would like @eliaslfox to take a look. Obviously like other things this would be better as a bonafide language feature, but it's useful enough now that I think it warrants inclusion.
@macrologist We are doing this for many stdlib stuff now. It has its pros and cons.
@eliaslfox As a compromise, I will do a little more due diligence on existing code to determine how frequent the pattern occurs.
This adds the
as
macro, changing:into: