{"body":"The iterator of this Seq is already in use/consumed by another Seq\n(you might solve this by adding .cache on usages of the Seq, or\nby assigning the Seq into an array)\n\n\nsub get-assets is export {\n    my %assets = defaults => (map { .Str }, dir(\"pandoc-templates/defaults/\", test => /:i '.' ya?ml $/)),\n                 filters => (map { .Str }, dir(\"pandoc-templates/pandoc-filters/\", test => /:i '.py' $/)),\n                 pandoc-version => run(</usr/bin/pandoc --version>, :out).out.get.tc,\n                 warp-version => from-json(slurp(\"./META6.json\"))<version>;\n\n    %assets<filter-pre> = %assets<filters>.head(2);\n    %assets<filter-rest> = %assets<filters>.tail(*-2);\n\n    return %assets;\n}","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/tMaMzKm9","modified":1614680228,"id":"tMaMzKm9","size":701,"lines":16,"own_paste":false,"theme":"","date":1614680228}