Ideally I would distribute .so files, .sats files for ats programs, and
.h files for C programs. I think I've got a good enough sense of how ats
compilation works to generate the shared library and then link to it
later, and of course I write the .sats files, so now I'm just figuring
out the .h files. patsopt with the --static flag doesn't seem to export
a function definition when I try something like
> fn foo {l: addr} (int @ l | ptr l): int = "ext#"
~Shea
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/fb8b923f-be04-4c2f-b7f4-0a6e342c9b5f%40googlegroups.com.