Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 5, 2019 12:30
Show Gist options
  • Save Whateverable/493205686f02e762dc5d2d6621f87811 to your computer and use it in GitHub Desktop.
Save Whateverable/493205686f02e762dc5d2d6621f87811 to your computer and use it in GitHub Desktop.
evalable6
use JSON::Fast; say to-json <a b c d e>.map({ %(:title($_), :active, :pattern("*$_*"), :1type, :1protocols) }).Hash
(exit code 1)
===SORRY!===
Could not find JSON::Fast at line 1 in:
file#/home/bisectable/git/whateverable/sandbox/lib
inst#/home/bisectable/.perl6
inst#/tmp/whateverable/rakudo-moar/9d1505d1843ff7e2fe0fce1f16eb362fd2e87ca2/share/perl6/site
inst#/tmp/whateverable/rakudo-moar/9d1505d1843ff7e2fe0fce1f16eb362fd2e87ca2/share/perl6/vendor
inst#/tmp/whateverable/rakudo-moar/9d1505d1843ff7e2fe0fce1f16eb362fd2e87ca2/share/perl6/core
ap#
nqp#
perl5#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment