Double definition of `lazymerge`
theogf opened this issue · comments
Théo Galy-Fajou commented
NestedTuples.jl/src/lazymerge.jl
Line 36 in 20dfe05
is repeated at
NestedTuples.jl/src/lazymerge.jl
Line 45 in 20dfe05
Chad Scherrer commented
Thanks @theogf . I think we can change the first one to function lazymerge end
, and just use it for the docs reference. Then lazymrege
will not always create a LazyMerge
. For example,
lazymerge(nt, NamedTuple()) == nt
Sometimes we want to be sure to create a LazyMerge (for dispatch, to avoid type piracy for NamedTuples). In those cases we can call LazyMerge
directly.