-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
==
not defined for IndexLens
#144
Comments
Thanks a lot for bringing this up. Hash and equality should be defined in the same ways as in Setfield. The only exception are compositions, which use |
julia> using Accessors
julia> Accessors.ComposedOptic
ComposedFunction So |
Yes, perfectly. |
We are trying to update Turing.jl to using Accessors.jl in sync with BangBang (TuringLang/AbstractPPL.jl#91)
I noticed that
==
forIndexLens
is not defined, (c.f. Setfield's definition).Are there reasons this is removed (or just not ported)?
The text was updated successfully, but these errors were encountered: