On Tue, Oct 20, 2009 at 5:35 PM, David Green <david.gr...@telus.net> wrote: > I would expect "$foo where {$_ ~~ X}" and "X $foo" simply to be different > ways of writing the same thing, but whatever works!
Yes, but the where clause lets you test against multiple types at once. They don't participate in multiple dispatch in the same way though. Whether it should be possible to attach a where clause to an invocant appears to be unresolved.