Re: A demo of Union/Find algorithm in ATS

I suggest:

fun{} addr_of{a:t@ype} (pt a): ptr

Casting a pointer(64bit) to an integer(32bit) is a bit dangerous.

A post was merged into an existing topic: A demo of Union/Find algorithm in ATS