Jason Switzer wrote:
> On Wed, Jun 2, 2010 at 5:10 AM, wrote:
>
>> Author: masak
>> Date: 2010-06-02 12:10:22 +0200 (Wed, 02 Jun 2010)
>> New Revision: 31043
>>
>> Modified:
>> docs/Perl6/Spec/S32-setting-library/Containers.pod
>> Log:
>> [S32/Containers] Buf does Stringy, too
>>
>> -class
Solomon Foster wrote:
> On Wed, Jun 2, 2010 at 3:52 PM, Aaron Sherman wrote:
>> Is there some automatic translation of these examples into tests? If not,
>> here's what they'd be:
>>
>> ok(( (1,2,3,4) «+» (1,2) ) ~~ (2,4,4,6) )
>> ok(( (1,2,3) «+» (1,2) ) ~~ (2,4,4) )
>> ok(( (1,2,3,4) «+« (1,
On Wed, Jun 2, 2010 at 3:52 PM, Aaron Sherman wrote:
> Is there some automatic translation of these examples into tests? If not,
> here's what they'd be:
>
> ok(( (1,2,3,4) «+» (1,2) ) ~~ (2,4,4,6) )
> ok(( (1,2,3) «+» (1,2) ) ~~ (2,4,4) )
> ok(( (1,2,3,4) «+« (1,2) ) ~~ (2,4) )
> ok(( (1,
On Wed, Jun 2, 2010 at 2:59 PM, Jason Switzer wrote:
> On Wed, Jun 2, 2010 at 5:10 AM, wrote:
>
> >
> > -class Buf does Positional {...}
> > +class Buf does Positional does Stringy {...}
> >
>
> I never really thought about this, but now that I see it here, it made me
> realize that how
On Wed, Jun 2, 2010 at 12:51 PM, wrote:
> +
> +(1,2,3,4) »+« (1,2) # always error
> +(1,2,3,4) «+» (1,2) # 2,4,4,6 rhs dwims to ((1,2) xx *).batch(4)
> +(1,2,3) «+» (1,2) # 2,4,4 rhs dwims to ((1,2) xx *).batch(3)
> +(1,2,3,4) «+« (1,2) # 2,4 lhs dwims
On Wed, Jun 2, 2010 at 5:10 AM, wrote:
> Author: masak
> Date: 2010-06-02 12:10:22 +0200 (Wed, 02 Jun 2010)
> New Revision: 31043
>
> Modified:
> docs/Perl6/Spec/S32-setting-library/Containers.pod
> Log:
> [S32/Containers] Buf does Stringy, too
>
> -class Buf does Positional {...}
> +cl
Darren Duncan wrote:
> With the above addition, you have both Buf and Blob roles as well as Buf and
> Blob types.
>
> I think you need to make each of those just a role or a type, and then add
> another named entity which is the counterpart role or type.
>
> For example, as you have Stringy as a ro
And while we're at it with expanding examples, can we use string
concatenation instead of addition? It makes following what's happening
easier.
eg, +1 on that prior post.
-y
wrote:
> +Regardless of whether the dwim is forced or emergent from the shapes
> +of the arrays, once the side to dwim on has been chosen, the dwim
> +semantics on the dwimmy side are always:
> +
> + (@dwimmyside xx *).batch(@otherside.elems)
> +
> +This produces a list the same length as the c
Author: lwall
Date: 2010-06-02 20:19:54 +0200 (Wed, 02 Jun 2010)
New Revision: 31054
Modified:
docs/Perl6/Spec/S03-operators.pod
Log:
[S03] suggestions from dataweaver++
more refinements to the description of the dwim semantics
Modified: docs/Perl6/Spec/S03-operators.pod
=
Smylers wrote:
> pugs-comm...@feather.perl6.nl writes:
>
>> Author: lwall
>> Log:
>> [S03] refine hyper dwimminess to be more like APL, with modular semantics
>>
>> + (1,2,3) »+» 1 # 2,4,4,6 rhs dwims to (1 xx *).batch(3)
>
> I'd've expected the output to be 2,3,4; is the 2,4,4,6 cop
Author: lwall
Date: 2010-06-02 20:02:31 +0200 (Wed, 02 Jun 2010)
New Revision: 31053
Modified:
docs/Perl6/Spec/S03-operators.pod
Log:
[S03] copy-o spotted by Smylers++
Modified: docs/Perl6/Spec/S03-operators.pod
===
--- docs/Perl
Author: lwall
Date: 2010-06-02 19:54:21 +0200 (Wed, 02 Jun 2010)
New Revision: 31052
Modified:
docs/Perl6/Spec/S02-bits.pod
Log:
[S02] add native blob types
Modified: docs/Perl6/Spec/S02-bits.pod
===
--- docs/Perl6/Spec/S02-bits.
pugs-comm...@feather.perl6.nl wrote:
Author: lwall
Date: 2010-06-02 19:30:34 +0200 (Wed, 02 Jun 2010)
New Revision: 31051
Modified:
docs/Perl6/Spec/S02-bits.pod
Log:
[S02] refine Blobs to simply be immutable Bufs, with similar generic
characteristics
Thank you for this change; it was esse
Author: lwall
Date: 2010-06-02 19:30:34 +0200 (Wed, 02 Jun 2010)
New Revision: 31051
Modified:
docs/Perl6/Spec/S02-bits.pod
Log:
[S02] refine Blobs to simply be immutable Bufs, with similar generic
characteristics
Modified: docs/Perl6/Spec/S02-bits.pod
===
pugs-comm...@feather.perl6.nl writes:
> Author: lwall
> Log:
> [S03] refine hyper dwimminess to be more like APL, with modular semantics
>
> +(1,2,3) »+» 1 # 2,4,4,6 rhs dwims to (1 xx *).batch(3)
I'd've expected the output to be 2,3,4; is the 2,4,4,6 copy pasta or am
I missing s
Author: lwall
Date: 2010-06-02 18:51:06 +0200 (Wed, 02 Jun 2010)
New Revision: 31050
Modified:
docs/Perl6/Spec/S03-operators.pod
Log:
[S03] refine hyper dwimminess to be more like APL, with modular semantics
Modified: docs/Perl6/Spec/S03-operators.pod
=
Author: masak
Date: 2010-06-02 12:11:42 +0200 (Wed, 02 Jun 2010)
New Revision: 31045
Modified:
docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
[S32/Containers] oh, and let's bump the version, too
Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod
=
Author: masak
Date: 2010-06-02 12:10:26 +0200 (Wed, 02 Jun 2010)
New Revision: 31044
Modified:
docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
[S32/Containers] Buf.new parameter no longer slurpy
Feedback from implementors suggests that this would be too inefficient.
Also, might be good
Author: masak
Date: 2010-06-02 12:10:22 +0200 (Wed, 02 Jun 2010)
New Revision: 31043
Modified:
docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
[S32/Containers] Buf does Stringy, too
Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod
===
20 matches
Mail list logo