Front page | perl.perl6.language |
Postings from June 2010
Re: r31050 -[S03] refine hyper dwimminess to be more like APL, with modular semantics
Thread Previous
|
Thread Next
From:
Solomon Foster
Date:
June 2, 2010 14:14
Subject:
Re: r31050 -[S03] refine hyper dwimminess to be more like APL, with modular semantics
Message ID:
AANLkTinR68GNBd3hKmxQt-51A6ZjUAMQY3wFjs09fRN4@mail.gmail.com
On Wed, Jun 2, 2010 at 3:52 PM, Aaron Sherman <ajs@ajs.com> 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,2,3,4) »+» (1,2) ) ~~ (2,4,4,6) )
> ok(( (1,2,3) »+» (1,2) ) ~~ (2,4,4,6) )
> ok(( (1,2,3) »+» 1 ) ~~ (2,4,4,6) )
>
> I tested these all with Rakudo, and they all currently fail, though I guess
> that's not shocking.
~~ (2, 4, 4) (for example) isn't actually supposed to work, is it?
Certainly doesn't work in Rakudo and I've never seen a spectest
written like that...
--
Solomon Foster: colomon@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
Thread Previous
|
Thread Next