Singleton: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
m (PhixClass) |
||
Line 1,640: | Line 1,640: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
{{libheader|PhixClass}} |
|||
Not really any special handling for singletons in Phix, but you can do something like this, |
Not really any special handling for singletons in Phix, but you can do something like this, |
||
or keep check() private and invoke it internally from a few critical routines. |
or keep check() private and invoke it internally from a few critical routines. |