relations as roles (was: using the newer collection types)

2006-05-05 Thread Darren Duncan
First of all, Sam Vilain, thank you for your responses. Giving these issues more thought, I'm am now leaning towards the idea that the best way to provide relational algebra in Perl 6 is that the relation-land Tuple and Relation each be a Role which various other classes can provide to their u

Re: using the newer collection types

2006-05-05 Thread Darren Duncan
At 8:01 PM +1200 5/5/06, Sam Vilain wrote: Also, I don't agree with the notion of a "header" of each relation. It has a type for each tuple item, sure, but "header" just sounds like the sort of thing you want in a ResultSet, not a Relation. Sam. A relation's heading is essentially the definitio

[svn:perl6-synopsis] r9120 - doc/trunk/design/syn

2006-05-05 Thread larry
Author: larry Date: Fri May 5 15:27:43 2006 New Revision: 9120 Modified: doc/trunk/design/syn/S09.pod doc/trunk/design/syn/S11.pod Log: Typos from Dr.Ruud and Marcus Laire. Modified: doc/trunk/design/syn/S09.pod

S11 - s/beings/begins/

2006-05-05 Thread Dr.Ruud
S11, near the end: s/beings/begins/ :) -- Affijn, Ruud "Gewoon is een tijger."

[svn:perl6-synopsis] r9119 - doc/trunk/design/syn

2006-05-05 Thread larry
Author: larry Date: Fri May 5 15:02:52 2006 New Revision: 9119 Modified: doc/trunk/design/syn/S04.pod Log: Clarified that parens are required on C-style loop. Modified: doc/trunk/design/syn/S04.pod == --- doc/trunk/

S09: Single typo & postfix ...

2006-05-05 Thread Markus Laire
There is a typo in S09 (patch included) Also, S09 uses postfix ... to mean ..Inf but S03 uses ..* for this, so one of these should likely be changed unless both are OK. -- Markus Laire patch-S09 Description: Binary data

Re: [S05] /ee

2006-05-05 Thread Ruud H.G. van Tol
Juerd schreef: > Dr.Ruud: >> S05: >>> s/pattern/{ eval doit() }/ >> >> s/eval/try/ ? > > No, string eval stays eval. Only block eval is renamed to try. Understood, but I was thinking about variants like { eval '' ~ doit() } { eval $\&doit } and then wasn't sure anymore whether "eval doit()

Re: [S05] /ee

2006-05-05 Thread Juerd
Dr.Ruud skribis 2006-05-05 15:25 (+0200): > > s/pattern/{ eval doit() }/ > s/eval/try/ ? No, string eval stays eval. Only block eval is renamed to try. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

[S05] /ee

2006-05-05 Thread Dr.Ruud
Instead of /ee say: s/pattern/{ eval doit() }/ s/eval/try/ ? -- Affijn, Ruud "Gewoon is een tijger."

Re: using the newer collection types

2006-05-05 Thread Sam Vilain
Darren Duncan wrote: >>>Is there a reference for the meaning of these methods? >>> >>> >>There are many written references to these methods; just type >>"relational algebra" into Google. >> >> > >I will add that the first hit on such a search, the Wikipedia page on >relational algebra