StructWalk.jl icon indicating copy to clipboard operation
StructWalk.jl copied to clipboard

drop in replacement for Functors.jl

Open CarloLucibello opened this issue 2 years ago • 2 comments

This package seems to me the way Functors.jl should be, more flexible and also easier to understand. Can we expand on the example in readme and define a FunctorStyle that is as close as possible to the interface of Functors.jl in order to facilitate the migration of the ecosystem?

Related to #9.

CarloLucibello avatar Apr 12 '23 03:04 CarloLucibello

I haven't touch Functors.jl for a long time and not sure how Functors.jl's api looks like right now. We would need to list all the functionalities that Functors can do beforehand.

Maybe @ToucheSir have any thought?

chengchingwen avatar Apr 12 '23 23:04 chengchingwen

I don't know of anything Functors can do that StructWalk couldn't on principle, but there might be small details in e.g. handling of array wrappers that would require changes.

ToucheSir avatar Apr 21 '23 19:04 ToucheSir