Changed kw_to_dict to use dict.upsert instead of dict.update (deprecated in gleam_stdlib 0.39.0, removed in 0.40.0)
Bumped minimum version of gleam_stdlib to 0.39 to include dict.upsert.
I also had to run gleam deps update to get it to build, as the version change in gleam.toml lead to "dependency resolution failed" error because of the manifest,
_gleamstdlib is specified with the requirement ~> 0.39 or ~> 1.0, but it is locked to 0.35.1, which is incompatible.
Not sure if this is the correct way of doing it. Let me know if I need to redo it differently.
This fixes #4.
kw_to_dict
to usedict.upsert
instead ofdict.update
(deprecated ingleam_stdlib
0.39.0, removed in 0.40.0)gleam_stdlib
to 0.39 to includedict.upsert
.I also had to run
gleam deps update
to get it to build, as the version change in gleam.toml lead to "dependency resolution failed" error because of the manifest,Not sure if this is the correct way of doing it. Let me know if I need to redo it differently.