On Mon, 09 Nov 2015 06:36:49 -0800, matt.oa...@congenica.com wrote:
> The following has an empty result when using race or hyper in perl6
> version 2015.10-233-gac750a9 built on MoarVM version 2015.10-61-
> g624d504
> 
> $ perl6
> > (1..10).grep(* > 3)
> (4 5 6 7 8 9 10)
> > (1..10).race().grep(* > 3)
> ()
> > (1..10).hyper().grep(* > 3)
> ()
> 
> Looks specifically like the methods after the hyper/race never get
> called:
> 
> > (1..10).hyper().grep(* > 3).map({$_.say; $_})
> ()
> > (1..10).map({$_.say; $_}).hyper().grep(* > 3)
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> ()

Fixed in new hyper/race implementation; tests in S07-hyperrace/hyper.t and 
S07-hyperrace/race.t.

Reply via email to