Consider a junction of digits: say any 0..9; # OUTPUT: any(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) This carries ‘any’ as a type of operation and 0..9 as a list of eigenstates internally. In a smartmatch context, this can match any object that can smartmatch against any of its digit eigenstates. WhileContinue reading “Day 15: Junction transformers”
Tag Archives: junctions
RFC 225: Superpositions (aka Junctions)
Damian Conway is one of those names in the Perl and Raku world that almost doesn’t need explaining. He is one of the most prolific contributors to CPAN and was foundational in the design of Raku (then Perl 6). One of his more interesting proposals came in RFC225 on Superpositions, which suggested making his PerlContinue reading “RFC 225: Superpositions (aka Junctions)”