Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: b99ecf40b7cd8197086a07ee857c5f1f91fad489 https://github.com/perl6/specs/commit/b99ecf40b7cd8197086a07ee857c5f1f91fad489 Author: TimToady <la...@wall.org> Date: 2014-08-13 (Wed, 13 Aug 2014)
Changed paths: M S03-operators.pod Log Message: ----------- whack down the smartmatch table The semantics of smartmatches should largely be inferable from the X argument, and should not imply heavy run-time processing of the X value. In general, smartmatches should not be providing implicit any/all semantics except in a few cases where no other interpretation is possible. Since we now have Sets, Hash smartmatch no longer needs to emulate sets, and can be eqv identity. Regex on LHS now considered too magical, but we provide provide Callable escape value for reverse match of Associative and Positional. (Reverse Regex match on keys can be written { .keys.any ~~ /.../ } ~~ %hash for instance.)