Dirk Laurie on Fri, 22 Jun 2012 17:37:33 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Assigning closure names


2012/6/22 Karim Belabas <Karim.Belabas@math.u-bordeaux1.fr>:
> * Dirk Laurie [2012-06-22 16:54]:

> Note that your specific example only works in pari-stable. In
> pari-2.6.*, Vec() has a mandatory argument.
>
Excellent.

>> Is there a way to access the closure "Vec" as a Pari object?
>
> (17:06) gp > f = x->Vec(x);
> (17:06) gp > type(f)
> %2 = "t_CLOSURE"

Is there a kosher way to do it in library mode?

Dirk