"be consistent" | |
PerlMonks |
Re^4: Reflections on “Higher Order Perl” §1.1by John M. Dlugosz (Monsignor) |
on Jun 10, 2009 at 17:35 UTC ( [id://770408]=note: print w/replies, xml ) | Need Help?? |
A literal (including integer) is a subset type. That means they should be able to appear in junction types. Either Larry was being overentheusiastic when he said that literals (including ints) and named values (constants and enumerations) "are" subset types, and the parser ran into trouble actually doing that in full generality, or the STD.pm is just not caught up to his latest vision. —John
In Section
Meditations
|
|