Dear OO-enlighted Monks,
My interest in Perl6 is rapidly growing but sometimes I can’t appreciate/understand a specific language construct. Take for example partial types. The idea seems to stem from Type inference with partial types, Thatte 1988.
I looked around:
In C# it seems to boil down to: allow a single class to be defined in more than one file. See for example What Are Partial Types in C#? and Working with Partial Types. The wiki pages seem to be based on that approach.
In Perl6 it seems something completely different though (correct me if I am wrong).Could some OO-enlighted/Perl6 Monk explain to me:
Cheers
dHarry
Update: Added link to Multiple-type objects in an enhanced C++ persistent programming language.
In reply to Perl6 Partial Typing by dHarry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |