First class environments: Difference between revisions

m
→‎{{header|Sidef}}: Fix link: Perl 6 --> Raku
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Sidef}}: Fix link: Perl 6 --> Raku)
Line 1,907:
 
=={{header|Sidef}}==
{{trans|Perl 6Raku}}
<lang ruby>func calculator({.is_one} ) { 1 }
func calculator(n {.is_even}) { n / 2 }
2,392

edits