externfun genes_meanvar (xs: !genes, emap: GDMap, smap: GDMap): (double, double)
externfun gmeanvar_makeclo(GDMap, GDMap): genes -<cloref> (double, double)//implementgmeanvar_makeclo(emap, smap) = lam(xs: !genes) => genes_meanvar(xs, emap, smap)
externfun gmeanvar_makeclo(GDMap, GDMap):
genes -<cloref> (double, double)
should be
externfun gmeanvar_makeclo(GDMap, GDMap): (!genes) -<cloref> (double, double)
abstype mytype
externfun myfun (!mytype, x: int): int
externfun my_makeclo(int): (!mytype) -<cloref> int//implementmy_makeclo(x) = lam(xs: !mytype) => myfun(xs, x)
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) -<cloref1> int
implement
my_makeclo(x) = lam(xs) => myfun(xs, x)
Thanks. Partially annotated refers to using a closure to hide data used as inputs?
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/312ce9c3-bb8d-4a2b-8e3a-f752faa3805d%40googlegroups.com.
Or do you mean leaving out variable names? Yes, I see that is bad now.