I added methods to NamedTuples.jl to support merge, set and delete. Since NamedTuples are essentially immutable dictionaries it seems incorrect to use the ! forms of setindex and delete. I now have an issue that these are not defined in base. How best to solve this? This is indirectly related to the thread on function name collapse, but any suggestions ?
nt = @NT( a=>1, b=>2, c=>3 ) x = NamedTuples.setindex( nt, :x, 123 ) NamedTuples.delete( x, :a) # (b=>2,c=>3,x=>123) merge( nt, @NT( d => "hello", e => "world")) # ( a=>1,b=>2,c=>3,d=>"hello",e=>"world")
