Hello,
I've recently discovered ATS and I'm following the introduction guide. I'm having trouble compiling with patscc (myatscc works, but only for a single source file) when a boxed value or a closure is defined.
Example:
#include "share/atspre_staload.hats"
val _ = '(0)
implement main0 () = print "hello"
When I compile with patscc I get the following error:
main_dats.c:(.text+0x10b): undefined reference to `atsruntime_malloc_undef'
I've installed ats2 with nix; according to patsopt I'm using version 0.4.2