Karim Belabas on Thu, 10 May 2018 18:28:04 +0200

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

Re: forsubset

* Josef Eschgfaeller [2018-05-10 17:36]:
> In .../Programming_in_GP__control_statements.html
> there appears the function "forsubset" which is an
> unknown identifier on my 2.9.4 (Mac OS X).

You are probably looking at


(which is specific to the development branch), instead of


(which caters for *stable* released versions). Not sure where you got
the link but on our server, the two sets of documentations should be
carefully labelled as such, as in 


(Stable 2.9 vs. Testing 2.10)

> The function is also cited on the Rosetta code.
> Also "forperm", "forprimestep" and
> "forsquarefree" are unknown.

All these functions are only available in pari-2.10, which is not yet
released. (But stay tuned: it's scheduled next week !)

If you want access to bleeding edge code in between releases, you can
either download a daily snapshot:


(for macOS), or sources from our git repository


(which assumes you have a working development environment, a non-trivial
task on macOS)


Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 21 23
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]