Sometimes, you may want to have one single file that
contains all the C code generated from some ATS code contained in
multiple files. This often allows a C compiler to produce better optimized
code.

On Wed, Oct 17, 2018 at 1:18 AM Julian Fondren <julian.fond...@gmail.com>
wrote:

>
>
> On Tuesday, October 16, 2018 at 11:53:53 PM UTC-5, M88 wrote:
>>
>> // mylibies_link.hats
>> local
>> #include "./DATS/foo.dats"  // link the file (for non-template functions,
>> etc)
>> in end
>>
>
> Why are you doing that? If a file is using foo.dats' *non*-template
> functions, all it should have to do is staload the foo.sats that has their
> types, and then its object should be linked with one with their definitions
> (i.e., foo_dats.o).
>
> --
> 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 ats-lang-users+unsubscr...@googlegroups.com.
> To post to this group, send email to ats-lang-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/ats-lang-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ats-lang-users/eca6f467-d5a5-4de5-b8cd-2523abc97ed0%40googlegroups.com
> <https://groups.google.com/d/msgid/ats-lang-users/eca6f467-d5a5-4de5-b8cd-2523abc97ed0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 ats-lang-users+unsubscr...@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/CAPPSPLqTpvTKt8C6P-b31J_W4jHagwpn00Yns%3Dn8rDWxJRmqAw%40mail.gmail.com.

Reply via email to