Skip to content

Instantly share code, notes, and snippets.

@gfldex
Created January 24, 2022 23:43
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 gfldex/b15f95ea9444f341617c5182860da461 to your computer and use it in GitHub Desktop.
Save gfldex/b15f95ea9444f341617c5182860da461 to your computer and use it in GitHub Desktop.
use v6.*;
{
multi sub hyperize(&code, '«') {
sub (@little, @large) {
((@little xx *).flat Z @large).flat.map(&code)
}
}
my &hyper-assume = hyperize({&^a.assuming($^b)}, '«');
sub sc($_) {
.words».&{ hyper-assume((&lc, &uc), .comb)».().join }
}
for ^10 {
say sc "sarcasmcase FOR YOU";
}
say now - ENTER now;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment