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

Module specific lensnaming

Open zenna opened this issue 10 years ago • 0 comments

Currently lensnames effectively have global scope. This may (will) cause conflicts in that one may unintentionally register a filter to a lens from another library.

One work around is for lenses to have scoped within the module.

e.g.

function myf()
   lens(:x,10)
end

The lensname :x would be comverted to :mymodule_x

zenna avatar Feb 24 '15 01:02 zenna