Considering a list of rules {A -> {A1-> B}} what will be the correct way to come to <|A -> <|A1-> B|>|>?
Asked
Active
Viewed 37 times
0
SuTron
- 1,708
- 1
- 11
- 21
RulesToAssociations[rules_] := Replace[rules, r : {__Rule} :> Association[r], {0, Infinity}]? – Szabolcs Sep 30 '15 at 09:24