Skip to content

Instantly share code, notes, and snippets.

@gfldex
Created Jan 24, 2022
Embed
What would you like to do?
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