--
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-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAEvX6dmYKd5yV%2B2%2BFG%3DJXJ%2B31YFJj83863FCsoJrW0-CioXneg%40mail.gmail.com.
extern fun{a:t@ype} |
gflist_append_length |
{xs1,xs2:ilist}{n1,n2:int} |
(pf1: LENGTH (xs1, n1), pf2: LENGTH (xs2, n2) | xs1: gflist (a, xs1), xs2: gflist (a, xs2)): |
[res:ilist] (LENGTH (res, n1+n2), APPEND (xs1, xs2, res) | gflist (a, res)) changes to |
extern
fun{a:t@ype}
gflist_append_length
{xs1,xs2:ilist}{n1,n2:int}
( pf1: LENGTH (xs1, n1), pf2: LENGTH (xs2, n2)
| xs1: gflist (INV(a), xs1), xs2: gflist (a, xs2)
): [res:ilist] (LENGTH (res, n1+n2), APPEND (xs1, xs2, res) | gflist (a, res))