Re:Age discrimination in Perl 6 using subsets and multiple d...
by mahmud on Sunday August 22, 2010 @03:18AM
(#1624351)
Subset types, at least in that form you have shown, do not exist in Common Lisp. That's a very MLish feature, and Perl keeps on surprising me :-)
Do another, more elaborate one when you have time. Would love to learn new things.
Here's the code for buy-beer in Perl 6:
No other code in the system need be aware of it. No other code in the system is affected by it.