Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
b2gills
on Nov 8, 2016
|
parent
|
context
|
favorite
| on:
Ask HN: Why hasn't Perl 6 taken off yet?
There is an operator to check if one number is divisible by another.
subset Even of Int where * %% 2;
You also don't have to write the where clause as a lambda.
subset Even of Int Where $_ %% 2;
markrushing
on Nov 8, 2016
[–]
woot! :) still learning stuff ;) - though I'll use the first.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: