Re: [q-lang-users] Association lists
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2008-02-21 14:24:47
|
Jir(í Spitz wrote: > Nonetheless, I discovered another small bug. In dict and similarly hdict > should be > > update D:Dict (X, Y) = insert D (X,Y); > or > update D:Dict XY = insert D XY; > > instead of > > update D:Dict X Y = insert D (X,Y); Nope, update takes three args, see stddecl.q. Citing the manual: update D X Y same as insert D (X,Y) I.e., for dictionaries update is just a completely curried form of insert. Has always been that way. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |