Topological sort: Difference between revisions

Content added Content deleted
Line 501: Line 501:
You can compile this program with something like
You can compile this program with something like
"patscc -o topo -DATS_MEMALLOC_GCBDW topo.dats -lgc"
"patscc -o topo -DATS_MEMALLOC_GCBDW topo.dats -lgc"

(Or you can use the libc malloc and just let the memory leak.)


<syntaxhighlight lang="ATS">
<syntaxhighlight lang="ATS">