stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

stdlib 0.40: reuse dict.update

Open inoas opened this issue 1 year ago • 3 comments
trafficstars

  1. Target branch should be inoas:create-upsert - this branch is rebased to that.
  2. Do not merge into next release, but the one after

Followup to https://github.com/gleam-lang/stdlib/issues/570 ~~Potentially closes https://github.com/gleam-lang/stdlib/issues/599~~

inoas avatar May 26 '24 12:05 inoas

Closes #599

This doesn't address #599 as far as I can tell. That issue is about a different function that "changes" dictionaries (update, insert, delete), with an as yet to be determined name

mooreryan avatar May 26 '24 16:05 mooreryan

Hello! What's this? It seems to be a different function to the one from the issue.

Would you want exactly the behaviour and signature described here? https://github.com/gleam-lang/stdlib/issues/599#issue-2309469182 @lpil

inoas avatar Jun 28 '24 22:06 inoas

Yes please

lpil avatar Jun 30 '24 10:06 lpil

Done @lpil https://github.com/gleam-lang/stdlib/pull/659

inoas avatar Jul 10 '24 15:07 inoas

After doing the other PR I am not certain about the naming https://github.com/gleam-lang/stdlib/pull/659#issuecomment-2220843804

inoas avatar Jul 10 '24 15:07 inoas