Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 7, 2020 15:01
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/d4c0e4bdcb972b383efab9da9372268f to your computer and use it in GitHub Desktop.
Save Whateverable/d4c0e4bdcb972b383efab9da9372268f to your computer and use it in GitHub Desktop.
committable6
HEAD sub here-we-get-a-seq($seq) { note ‘all elements of the seq:’; .note for $seq }; my $s = <a b c>.words; note $s.head; here-we-get-a-seq $s
¦«HEAD(98c7e51)»:
a
all elements of the seq:
The iterator of this Seq is already in use/consumed by another Seq
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in sub here-we-get-a-seq at /tmp/OxTZ_6uSOU line 1
in block <unit> at /tmp/OxTZ_6uSOU line 1
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment