I'm trying to store data associated with an expression. Unfortunately Expression doesn't implement Hash which makes it impossible for me to store the data inside a HashMap. Would it be possible to derive or implement Hash for Expression so an expression can be used as a HashMap key?
I'm trying to store data associated with an expression. Unfortunately
Expressiondoesn't implement Hash which makes it impossible for me to store the data inside aHashMap. Would it be possible to derive or implementHashforExpressionso an expression can be used as aHashMapkey?