In Supply§
See primary documentation in context for method from-list.
method from-list(Supply:U: +@values --> Supply:D)
Creates an on-demand supply from the values passed to this method.
my $s = Supply.from-list(1, 2, 3); $s.tap(&say); # OUTPUT: «123»