YAP6 Operator: Negated Operators

by Adriano Ferreira

Another article of the series "Yet Another Perl 6 Operator"


The design of Perl 6 includes some unification mechanisms to bring some extra power to syntax and developers. One of such artefacts is the notion of meta-operators. With them, it is possible to construct augmented operators from existing ones.



The first of such meta-operators we're going to look at is the quite simple '!' negation prefix.