Skip to main content

All Questions

Filter by
Sorted by
Tagged with
23 votes
1 answer
531 views

What's the difference between these 2 associations?

I have 2 associations similar to these simplified ones: ...
Coolwater's user avatar
  • 20.5k
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"...
luyuwuli's user avatar
  • 2,814
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: ...
Gustavo Delfino's user avatar
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 ...
Ronald Monson's user avatar
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 ...
Ronald Monson's user avatar
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 ...
Ronald Monson's user avatar
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 ...
Rho Phi's user avatar
  • 1,420
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 ...
Rho Phi's user avatar
  • 1,420