loop { say 'SPAM'; }
In addition, there are various ways of writing lazy, infinite lists in Raku:
print "SPAM\n" xx *; # repetition operator print "SPAM\n", ~* ... *; # sequence operator map {say "SPAM"}, ^Inf; # upto operator
Last updated 1 year ago