Loïc Grenié on Tue, 02 Aug 2016 14:56:08 +0200


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

Re: Please test pari-2.8.0 prerelease 1


On 2016-08-02 at 0:11 GMT+02:00 Bill wrote:
Dear PARI developers,

We have made available a prerelease of PARI 2.8.0 (alpha).

[...]
 
  - Hashtables/dictionnaries in GP via functions Map, mapget, mapput,
    mapisdefined, mapdelete
     ? M = Mat(); \\ empty

     Typo: Map()

 
     ? mapput(M, "a", 23); \\ insert key/value: "a" maps to 23
     ? mapput(M, "b", 43); \\ "b" maps to 43
     ? mapget(M, "a")      \\ retrieve value attached to key "a"
     %3 = 23
     ? M = Map(["a", 23; "b", 43]); \\ fast initialization

     Thanks !

         Loïc