Re: globs and rules and trees, oh my!

2008-10-27 Thread Patrick R. Michaud
On Mon, Oct 27, 2008 at 06:20:51PM +0100, TSa wrote: > HaloO, > > Jon Lang wrote: >> This can already be done, for the most part: >> >> / (<.does(ro)>) / >> >> Mind you, this only searches a list; to make it search a tree, you'd >> need a drill-down subrule such as I outline above: >> >> / <[>* (<.

Re: globs and rules and trees, oh my!

2008-10-27 Thread TSa
HaloO, Jon Lang wrote: This can already be done, for the most part: / (<.does(ro)>) / Mind you, this only searches a list; to make it search a tree, you'd need a drill-down subrule such as I outline above: / <[>* (<.does(ro)>) <]>* / Isn't it the case that ~~ has very special dispatch seman

Re: Signatures and matching (was "Re: XPath grammars (Was: Re: globs and trees in Perl6)")

2008-10-27 Thread TSa
HaloO, David Green wrote: On 2008-Oct-22, at 10:03 am, TSa wrote: Note that types have a fundamentally different task in a signature than name and position have. The latter are for binding arguments to parameters. The types however are for selection of dispatch target. Names do that too; I t