atlas-engineer / nhooks

MIT License
18 stars 5 forks source link

`equals` return true for any anonymous function. #20

Open kchanqvq opened 3 weeks ago

kchanqvq commented 3 weeks ago

Currently, (equals (lambda () 1) (lambda () 2)) returns T, which means each hook could have at most one anonymous handler. Is this intended behavior?

aadcg commented 2 weeks ago

If you're the author of commit 9db6a7375e621a96d1df3705c5373419003ae474 then you're in the best position to answer.

It doesn't seem sensible that it returns T to me.