from-list
ErrorsCollection

from-list

Synthesised documentation from type/Supply

From type/Supply

See Original text in context

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(123);
$s.tap(&say);           # OUTPUT: «1␤2␤3␤»