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 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
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
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
=