All Questions
Tagged with language-design associations
8 questions
23
votes
1
answer
531
views
What's the difference between these 2 associations?
I have 2 associations similar to these simplified ones:
...
8
votes
0
answers
145
views
Relation between the syntactic and evaluated Association
This question is inspired by this answer and related to unsolved post "Association's Attributes change between 10.3.1 & 10.4"...
19
votes
2
answers
339
views
Association's Attributes change between 10.3.1 & 10.4?
In Mathematica 10.3.1
In[1]:= Attributes[Association]
Out[1]= {Protected}
In Mathematica 10.4:
...
4
votes
1
answer
61
views
A natural syntax for a Query that holds
Often I have an unevaluated expression in a RuleDelayed Key-Value pair and subsequently want ...
9
votes
1
answer
271
views
Different Set Semantics - Why is assoc["a"] =. different from assoc[["a"]] =.?
Accessing parts of an Association can be done either using Part or the [] extraction ...
14
votes
4
answers
414
views
Association's Key[key] extraction different in V10.1/V10.2
V10.1:
<|a -> 1|>[Key @ a]
(* Missing["KeyAbsent", Key[a]]*)
V10.0:
<|a -> 1|>[Key @ a]
(* 1 *)
Bug or ...
3
votes
3
answers
124
views
Orderless storage of tabulated function values
I would like to elaborate on my previous question Function of arguments given in non-fixed order and a relevant related one Best practice of passing a large number of parameters to functions
I find ...
6
votes
1
answer
315
views
when two associations are equal?
<|a -> 2, b -> 3|> == <|b -> 3, a -> 2|> returns False; can anybody explain why? If I am not mistaken ...