Fork me on GitHub
#clr
<
2023-08-30
>
skelter21:08:32

When given a ..Generic.Dictionary, I know I can use (get thedict mykey). Is there a way to (set! thedict mykey myval) or assoc! or something other than .Contains and .Add. .Add throws an exception if key already there.

skelter21:08:39

like (set! (.Item thedict) mykey myvalue) // could replace if I could figure out interop with the Item indexer // it is probably something very easy and I am making it harder