Nice !

пятница, 10 ноября 2017 г., 20:57:34 UTC+3 пользователь gmhwxi написал:
> FYI.
> 
> I have just added some support for using variadic functions in ATS.
> Here is a running example:
> 
> https://github.com/githwxi/ATS-Postiats/blob/master/doc/EXAMPLE/TESTATS/variadic.dats
> 
> The changes to ATS/Postiats are planned to to into the next release of ATS 
> (ATS2-0.3.8).
> 
> Cheers!
> 
> On Tuesday, November 7, 2017 at 5:15:35 PM UTC-5, gmhwxi wrote:
> 
> $list is handled specially. Another one is $arraypsz
> (for creating linear arrays).
> 
> I read various messages posted in this group and realized that
> variadic functions are not yet supported. I will now try to add some
> support for variadic functions so that it can go into the next release.
> 
> In ATS1, one can implement variadic functions in a type-safe manner.
> I do not plan to support this yet in ATS2. What I plan to do is to support
> calling (not implementing) variadic functions in ATS2 in a type-safe manner.
> 
> Cheers!
> 
> On Sunday, November 5, 2017 at 7:51:26 AM UTC-5, Russoul wrote:
> As I understand  varargs are not supported in ATS2 ? But $list and similar 
> functions somehow use this feature. How does it work ?

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/b1bae4a6-b130-411c-be9c-a0358ba4e170%40googlegroups.com.

Reply via email to