core :: union_find
union–find algorithm using an efficient disjoint-set data structurecocoa :: foundation
The Foundation Kit provides basic Objective-C classes and structures
# iOS platform support
module ios
import platform
import app
import cocoa::foundation
redef fun print(msg) do msg.to_s.nslog
redef fun print_error(msg) do msg.to_s.nslog
redef class Text
private fun nslog do to_nsstring.nslog
end
redef class NSString
private fun nslog in "ObjC" `{ NSLog(@"%@", self); `}
end
lib/ios/ios.nit:15,1--32,3