Jump to content

Singleton: Difference between revisions

m
PhixClass
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (PhixClass)
Line 1,640:
 
=={{header|Phix}}==
{{libheader|PhixClass}}
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.
7,820

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.