Dirk Laurie on Fri, 22 Jun 2012 16:54:22 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Assigning closure names
- From: Dirk Laurie <dirk.laurie@gmail.com>
- Date: Fri, 22 Jun 2012 16:54:15 +0200
- Delivery-date: Fri, 22 Jun 2012 16:54:22 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=V9bawm8UYy3M3sVlZvHPWT+BaqMHO0F3se3wWsPwYsc=; b=Q4sTNLvO90zanyDOyvfitgzCm7lGqNr2jZxiTacpe/6tAMFL1eP4M4eB4jBOL03g2V 3NgleRgtQV3DIT0/x/5SlqBHTNn9lTrDS/Z99S8pnMi/P20B/n/q3+oGLtgusCbnt5I6 FJt5DjZMERNQPICfusJIVqqDqCKa1Z2pO+4DSmhQMU2/Q522tt0+Dts/eOSYylszRi7H K3C6HDk1xz568N8EFboKi+ZyZPbXTx8hhlZ4MswuEhjmGztDPe8ZvSv1Q9v19IF6g9gA 5mDwWEgsGO5RWFE0qorNJZ6oe9qzDaffwSivuOnwhbJ8P9yb1PvGldbiHSC+N/59tTnN j6Lw==
Consider the following GP session.
? type(Ser)
%1 = "t_CLOSURE"
? type(Vec)
%2 = "t_VEC"
Deduction: when a built-in function may be called
with an empty parameter list, the bare name is
interpreted as a function call, not as a reference
to the closure.
Is there a way to access the closure "Vec" as
a Pari object?