Or do you mean leaving out variable names? Yes, I see that is bad now.On Feb 20, 2014 10:33 PM, “Brandon Barker” brandon...@gmail.com wrote:
Thanks. Partially annotated refers to using a closure to hide data used as
inputs?
On Feb 20, 2014 10:26 PM, “gmhwxi” gmh...@gmail.com wrote:
This one works.
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) - int
implement
my_makeclo(x) = lam(xs) => myfun(xs, x)
Partially annotated functions should in general be avoided.
On Thursday, February 20, 2014 9:24:38 PM UTC-5, Brandon Barker wrote:
When I use a slightly less recent versio
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) - int
//
implement
my_makeclo(x) =
lam(xs: !mytype) => myfun(xs, x)
n (but one that compiles) with this test case, the same problem occurs:
On Thursday, February 20, 2014 8:47:04 PM UTC-5, gmhwxi wrote:
Your version of ATS is too new
On Thursday, February 20, 2014 8:06:31 PM UTC-5, Brandon Barker wrote:
Woops, that makes sense. However, it seems I still get the same error.
I updated ATS-Postiats to HEAD to see if that would help and I can’t
seem to build:
/media/RAID5/home/brandon/ATS-Postiats/src/pats_ccomp_dynexp_dats.c:3799:
undefined reference to `2media_2RAID5_2home
2brandon_2ATS_2dPostiats_2src_2pats_ccomp_dynexp_2edats__
hidexp_ccomp_ret_fixinit’
On Thursday, February 20, 2014 7:16:33 PM UTC-5, gmhwxi wrote:
extern
fun gmeanvar_makeclo(GDMap, GDMap):
genes - (double, double)
should be
extern
fun gmeanvar_makeclo(GDMap, GDMap):
(!genes) - (double, double)
On Thursday, February 20, 2014 5:31:39 PM UTC-5, Brandon Barker wrote:
I’ve had similar errors before but in different contexts I think:
d1exp_tr_arg_body_ann: the function argument cannot be ascribed
refval types.
Thanks. Partially annotated refers to using a closure to hide data used as
inputs?On Feb 20, 2014 10:26 PM, “gmhwxi” gmh...@gmail.com wrote:
This one works.
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) - int
implement
my_makeclo(x) = lam(xs) => myfun(xs, x)
Partially annotated functions should in general be avoided.
On Thursday, February 20, 2014 9:24:38 PM UTC-5, Brandon Barker wrote:
When I use a slightly less recent versio
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) - int
//
implement
my_makeclo(x) =
lam(xs: !mytype) => myfun(xs, x)
n (but one that compiles) with this test case, the same problem occurs:
On Thursday, February 20, 2014 8:47:04 PM UTC-5, gmhwxi wrote:
Your version of ATS is too new
On Thursday, February 20, 2014 8:06:31 PM UTC-5, Brandon Barker wrote:
Woops, that makes sense. However, it seems I still get the same error.
I updated ATS-Postiats to HEAD to see if that would help and I can’t
seem to build:
/media/RAID5/home/brandon/ATS-Postiats/src/pats_ccomp_dynexp_dats.c:3799:
undefined reference to `2media_2RAID5_2home
2brandon_2ATS_2dPostiats_2src_2pats_ccomp_dynexp_2edats__
hidexp_ccomp_ret_fixinit’
On Thursday, February 20, 2014 7:16:33 PM UTC-5, gmhwxi wrote:
extern
fun gmeanvar_makeclo(GDMap, GDMap):
genes - (double, double)
should be
extern
fun gmeanvar_makeclo(GDMap, GDMap):
(!genes) - (double, double)
On Thursday, February 20, 2014 5:31:39 PM UTC-5, Brandon Barker wrote:
I’ve had similar errors before but in different contexts I think:
d1exp_tr_arg_body_ann: the function argument cannot be ascribed
refval types.
Partially annotated functions should in general be avoided.On Thursday, February 20, 2014 9:24:38 PM UTC-5, Brandon Barker wrote:
When I use a slightly less recent versio
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) - int
//
implement
my_makeclo(x) =
lam(xs: !mytype) => myfun(xs, x)
n (but one that compiles) with this test case, the same problem occurs:
On Thursday, February 20, 2014 8:47:04 PM UTC-5, gmhwxi wrote:
Your version of ATS is too new
On Thursday, February 20, 2014 8:06:31 PM UTC-5, Brandon Barker wrote:
Woops, that makes sense. However, it seems I still get the same error.
I updated ATS-Postiats to HEAD to see if that would help and I can’t
seem to build:
/media/RAID5/home/brandon/ATS-Postiats/src/pats_ccomp_dynexp_dats.c:3799:
undefined reference to
`_2media_2RAID5_2home_2brandon_2ATS_2dPostiats_2src_2pats_ccomp_dynexp_2edats__hidexp_ccomp_ret_fixinit’
On Thursday, February 20, 2014 7:16:33 PM UTC-5, gmhwxi wrote:
extern
fun gmeanvar_makeclo(GDMap, GDMap):
genes - (double, double)
should be
extern
fun gmeanvar_makeclo(GDMap, GDMap):
(!genes) - (double, double)
On Thursday, February 20, 2014 5:31:39 PM UTC-5, Brandon Barker wrote:
I’ve had similar errors before but in different contexts I think:
d1exp_tr_arg_body_ann: the function argument cannot be ascribed refval
types.
When I use a slightly less recent versio
abstype mytype
extern
fun myfun
(!mytype, x: int): int
extern
fun my_makeclo(int): (!mytype) - int
//
implement
my_makeclo(x) =
lam(xs: !mytype) => myfun(xs, x)
n (but one that compiles) with this test case, the same problem occurs:On Thursday, February 20, 2014 8:47:04 PM UTC-5, gmhwxi wrote:
Your version of ATS is too new
On Thursday, February 20, 2014 8:06:31 PM UTC-5, Brandon Barker wrote:
Woops, that makes sense. However, it seems I still get the same error.
I updated ATS-Postiats to HEAD to see if that would help and I can’t seem
to build:
/media/RAID5/home/brandon/ATS-Postiats/src/pats_ccomp_dynexp_dats.c:3799:
undefined reference to
`_2media_2RAID5_2home_2brandon_2ATS_2dPostiats_2src_2pats_ccomp_dynexp_2edats__hidexp_ccomp_ret_fixinit’
On Thursday, February 20, 2014 7:16:33 PM UTC-5, gmhwxi wrote:
extern
fun gmeanvar_makeclo(GDMap, GDMap):
genes - (double, double)
should be
extern
fun gmeanvar_makeclo(GDMap, GDMap):
(!genes) - (double, double)
On Thursday, February 20, 2014 5:31:39 PM UTC-5, Brandon Barker wrote:
I’ve had similar errors before but in different contexts I think:
d1exp_tr_arg_body_ann: the function argument cannot be ascribed refval
types.
Woops, that makes sense. However, it seems I still get the same error.
I updated ATS-Postiats to HEAD to see if that would help and I can’t seem
to build:
/media/RAID5/home/brandon/ATS-Postiats/src/pats_ccomp_dynexp_dats.c:3799:
undefined reference to
`_2media_2RAID5_2home_2brandon_2ATS_2dPostiats_2src_2pats_ccomp_dynexp_2edats__hidexp_ccomp_ret_fixinit’On Thursday, February 20, 2014 7:16:33 PM UTC-5, gmhwxi wrote:
extern
fun gmeanvar_makeclo(GDMap, GDMap):
genes - (double, double)
should be
extern
fun gmeanvar_makeclo(GDMap, GDMap):
(!genes) - (double, double)
On Thursday, February 20, 2014 5:31:39 PM UTC-5, Brandon Barker wrote:
I’ve had similar errors before but in different contexts I think:
d1exp_tr_arg_body_ann: the function argument cannot be ascribed refval
types.
Your version of ATS is too new :)On Thursday, February 20, 2014 8:06:31 PM UTC-5, Brandon Barker wrote:
Woops, that makes sense. However, it seems I still get the same error.
I updated ATS-Postiats to HEAD to see if that would help and I can’t seem
to build:
/media/RAID5/home/brandon/ATS-Postiats/src/pats_ccomp_dynexp_dats.c:3799:
undefined reference to
`_2media_2RAID5_2home_2brandon_2ATS_2dPostiats_2src_2pats_ccomp_dynexp_2edats__hidexp_ccomp_ret_fixinit’
On Thursday, February 20, 2014 7:16:33 PM UTC-5, gmhwxi wrote:
extern
fun gmeanvar_makeclo(GDMap, GDMap):
genes - (double, double)
should be
extern
fun gmeanvar_makeclo(GDMap, GDMap):
(!genes) - (double, double)
On Thursday, February 20, 2014 5:31:39 PM UTC-5, Brandon Barker wrote:
I’ve had similar errors before but in different contexts I think:
d1exp_tr_arg_body_ann: the function argument cannot be ascribed refval
types.