merge_recursive on Vector of Pairs #46
Lincoln-Hannah
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
The requirements (Underscores, Lazy) are the only reason to hesitate. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would you consider adding something like this ?
simple use case
merge_recursive([:a=> [:a2=>2],:b=>2,:c=>10,:d=> [:x => 20], :d=>[:y=> 10] , :a=>[:a1=>1] ] )
Actual use case: Creating nested named tuple of DB connections so I can specify a connection as
Connections.Prod.DB1
Currently writing like this
The above would allow the last two lines to be
Beta Was this translation helpful? Give feedback.
All reactions