That would greatly complicate the semantics of ATS.

On Sunday, May 6, 2018 at 3:05:45 PM UTC-4, Steinway Wu wrote:
>
> I was playing with a utility library based on type classes, implemented as 
> templates. As you mentioned, I experienced "interface explosion". For 
> things like a fold, or a fmap, I have a t@ype version that is probably 
> garbage collected, a vt@ype version that is call-by-value, and a vt@ype 
> version that consumes the resources which seems to be the only possible 
> version for lazy linear types. Is it theoretically possible to introduce 
> some way of doing sort scheme? So one doesn't need to specify any specific 
> base sorts?
>
> On Sunday, May 6, 2018 at 2:16:28 PM UTC-4, gmhwxi wrote:
>>
>> Yes. Should probably use some more informative syntax in ATS3.
>>
>>
>>
>>

-- 
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/a8912151-d103-452b-836b-aa1addef268d%40googlegroups.com.

Reply via email to