3 ms·
in raku, that’s spelled subset OneToTen of Int where 1..10:
by librasteve 1y ago
in raku, that’s spelled
subset OneToTen of Int where 1..10:
- yoz-y 1y agoOff topic: do you use raku in day to day life? I tried learning it but perl5 remains my go-to when I just need to whip something up
- librasteve 1y agoyes … I find it as useful as I used to find perl (spent 4 years as a perl coder back in the day) and use for ad hoc scripts … data migration, PDF/CSV scraping, some LLM prompt engineering in a business setting, wrote a module to manage/install Wordpress on EC2 for example raws-ec2 —eip —nsu launch raws-ec2 —q connect | pbcopy https://raku.land/zef:librasteve/CLI::AWS::EC2-Simple https://raku.land/zef:librasteve/CLI::AWS::EC2-Simple mainly I find Raku (and the community) much -Ofun
- tmtvl 1y agoIn Common Lisp it's (deftype One-To-Ten () '(Integer 1 10))