Skip to content

Instantly share code, notes, and snippets.

@thundergnat
Created March 27, 2020 00:38
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 thundergnat/c8902a82f2a48db2b7fcb7e5a511ecc1 to your computer and use it in GitHub Desktop.
Save thundergnat/c8902a82f2a48db2b7fcb7e5a511ecc1 to your computer and use it in GitHub Desktop.
hyper routine
my $actions = Moedict::Actions.new();
my @objects;
my @data = .lines # or whatever
(^@data).hyper.map: {
@objects[$_] = Moedict.parse(@data[$_], :actions($actions)) or die "$!";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment