I have the following code: (get_assoc(Line, Assoc, Value) -> Value1 is Value+1; Value1 is 1), put_assoc(Line, Assoc, Value1, Array). When I try to add the key: 3581 with value 1 and the key 2619 with value 1 the first pair is successfull while the second fails. I am providing a screenshot of the trace failure.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Find if a key exists in association list | 1 | 509 | August 11, 2019 | |
| Can I use as a key to association list strings or atoms? | 2 | 336 | August 14, 2019 | |
| From string to key-value list and then to assoc | 1 | 274 | August 20, 2023 | |
| Interesting behaviour in bagof call | 8 | 160 | April 20, 2024 | |
| Unified key-value interface | 9 | 927 | December 15, 2021 |
