Well, let's hope, that ATS3 will have such feature сб, 18 июл. 2020 г. в 06:21, Artyom Shalkhakov <artyom.shalkha...@gmail.com >:
> Hi Alex, > > сб, 18 июл. 2020 г. в 09:17, Dambaev Alexander <ice.redm...@gmail.com>: > >> Hi, >> >> datatypes/datavtypes are heap-allocated, which runtime representation, I >> guess, is a tag and a pointer to data. >> >> ATS has unboxed tuples and unboxed records, which runtime representation, >> I guess, are C's structs >> >> Is there a way to define a stack allocated datatype? >> I think, we can have them by using C's union types for runtime >> representation. Am I missing something? >> > > This is not supported at the moment. > > I too think it would be a great addition! > >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/ats-lang-users/CAHjn2KzsFUPptwSPgTrWVR%3DsoA42aSEmUXv4D-MAQAR_K8f%2BKw%40mail.gmail.com >> <https://groups.google.com/d/msgid/ats-lang-users/CAHjn2KzsFUPptwSPgTrWVR%3DsoA42aSEmUXv4D-MAQAR_K8f%2BKw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Cheers, > Artyom Shalkhakov > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ats-lang-users/CAKO6%3DqggX%3DPE0-0FidevEnemk3JUYY6LGGD5zN5FidKNNG2Jsw%40mail.gmail.com > <https://groups.google.com/d/msgid/ats-lang-users/CAKO6%3DqggX%3DPE0-0FidevEnemk3JUYY6LGGD5zN5FidKNNG2Jsw%40mail.gmail.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 view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAHjn2Kz9e7c8DKZrnKF3kqNpuDnmNApFORJR8hBs9QtVfBrW-Q%40mail.gmail.com.