Quine
my &f = {say $^s, $^s.raku;}; f "my \&f = \{say \$^s, \$^s.raku;}; f "Note the terminating newline.
A more compact, but still purely functional, approach:
{.fmt($_).say}(<{.fmt($_).say}(<%s>)>)Note again the terminating newline.
Last updated
Was this helpful?