Certainly.
The following code is written is ATS1:
https://github.com/githwxi/ATS-Anairiats/blob/master/libats/ngc/SATS/slist.sats
slseg(l1, l2) is a singly-linked list segment from l1 to l2. So a circular
one is just
a case where l1 = l2.
If you want a doubly-linked one, please see the
Hi all,
Is it possible to write memory-safe circular linked list in ATS?
Cheers,
Vanessa
--
You received this message because you are subscribed to the Google Groups
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to