Skip to content

Instantly share code, notes, and snippets.

View Whateverable's full-sized avatar
☺️
Having fun on #raku on Libera.chat

Whateverable bots Whateverable

☺️
Having fun on #raku on Libera.chat
View GitHub Profile
@Whateverable
Whateverable / query
Created May 4, 2026 12:12
releasable6
next
@Whateverable
Whateverable / result
Created May 3, 2026 00:11
Whateverable
2026-01-01T21:57:43Z #raku <wayland> guifa Maybe an example would be better. https://gist.github.com/wayland/8a525770558d2765fcf0756f4964c3c5 . It runs, but the anonymous method doesn't show up. It's not so much that I'm dead keen on anonymous methods, it's that it's possible to declare them, so I thought that, if there were a way to use them, I might have a use for it.
@Whateverable
Whateverable / query
Created May 3, 2026 00:05
releasable6
next
@Whateverable
Whateverable / query
Created May 3, 2026 00:02
releasable6
next
@Whateverable
Whateverable / query
Created May 2, 2026 23:50
releasable6
next
sub foo {my $v = to-bool("bar"); fail "it failed: {$_.Str}" without $v; 1;}; sub to-bool($s) {return True if $s.lc eq "true"; fail "oh no"}; foo()
@Whateverable
Whateverable / query
Created May 1, 2026 14:05
releasable6
next
@Whateverable
Whateverable / query
Created May 1, 2026 14:04
releasable6
next
@Whateverable
Whateverable / query
Created May 1, 2026 13:50
releasable6
next
@Whateverable
Whateverable / query
Created May 1, 2026 13:48
releasable6
next