Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 6, 2020 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/9f309c83dd80f60335213e1f92bdd7ec to your computer and use it in GitHub Desktop.
Save Whateverable/9f309c83dd80f60335213e1f92bdd7ec to your computer and use it in GitHub Desktop.
committable6
400f4ec8835c^,400f4ec8835c my $seq := ‘foobar’.comb; say reverse $seq; say $seq.head; say $seq
¦«400f4ec8835c^»:
(r a b o o f)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/pCpdgU95Qy line 1
«exit code = 1»
¦«400f4ec»:
(r a b o o f)
f
(f o o b a r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment