Hi,
I'm working with ATS-Temptory and trying to add a function, 'glseq_concat', 
which generalizes over, for example:


fun
{a:vtflt}
steam_vt_concat(stream_vt(stream_vt(a))): stream_vt(a)

but I can't find a way of passing in a general type that is parameterized 
in a type. I want to write:

extern fun
{xs: ...}
{x: ...}
glseq_concat
  (a:xs(xs(x))):xs(x)


Is there any way to encode this?

-- 
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/b3fdf7fc-0a2e-4f86-8eb6-8a084330f518%40googlegroups.com.

Reply via email to