How do I specify the default definedness?
I know it's possible because I've done it before, but I can't recall how to do it. It was something like "use :D;" but that's not quite right…
[#]RakuLang
=> More informations about this toot | More toots from julia@mathstodon.xyz
Of course! I can't believe I missed that. It was right in my face (I was staring at https://docs.raku.org/language/pragmas) all along.
use variables :D;
There we go.
[#]RakuLang
=> More informations about this toot | More toots from julia@mathstodon.xyz
Except…
“Cannot put a type constraint on an 'our'-scoped variable”
Thankfully, the “variables" pragma seems to apply only to the compilation unit(?) in which it appears, so it's easy enough to move it to a rakumod file.
#RakuLang
=> More informations about this toot | More toots from julia@mathstodon.xyz
text/gemini
This content has been proxied by September (ba2dc).