hello Bruce, > Short answer: Add `flat` before `lazy in line 19, and remove `.flat` from > line 21. Like so: > my @future_aams = > flat lazy gather for 2019..∞ { take .&aam_dates_of_year };
sure but i loose the ability to use @future_aams year by year. the best i i have here to keep both behaviors available is: sub flat_stream { lazy gather for @^list -> @l { take $_ for @l } } @future_aams.&flat_stream.head(1)>>.say; > Full answer coming when time allows. For such a small fix, it was > surprisingly effortful to figure out. > See https://docs.perl6.org/language/list#Itemization i'll read again and try to find by myself. thanks marc