Update carpenter to latest Gleam features#5
Conversation
|
Hi @grottohub, no pressure, but I'm curious if you can find some time to review that PR. We're currently relying on |
|
Hi @ghivert, since it doesn't seem like this repo is active, and, as you mentioned, no longer works with current versions of gleam, would you consider possibly publishing your fork to hex, especially seeing as you're willing to maintain it? This would be really useful, and I don't see any other active libraries that fill this niche in the gleam ecosystem. (Bravo also appears to be relying on pre-1.0.0 gleam versions). [EDIT--nevermind. I just saw that the Bravo maintainer has posted in the last couple hours that he intends to update that library, so maybe it will be available soon for my project] |
|
Hi @chuckberrypi, as I thought, You can expect that package to be maintained in the future, notably because we're using it heavily at Steerlab. However, I won't release the package on the Hex repository. If you want more context, take a look at the Gleam Discord discussion about However, you can simply import the package as a git dependency if you need it. Here's the blog post talking about it.. I'm not sure why you need that package, but keep in mind you have access to other ETS packages, like |
|
I also opened a PR here, but it seems @grottohub is not up for maintenance anymore. |
Hi!
Gleam evolved quickly during the latest year, and as such, things have changed.
That Pull Request come to maintain
carpenterin a usable, compatible state with the rest of the ecosystem.That PR:
gleam_erlangto version1.0.0. This should be future-proof, as API becomes more stable.assertin tests, providing better information, more context, and simpler tests.carpenter.erltocarpenter_ffi.erl, to match Gleam conventions to write FFI files as*_ffimodules. Indeed, in the future, adding acarpenter.gleamfile would mess up with the FFI file, so renaming it make sure nothing will ever break in the future.echomainly).props.gleammodule, to help working with atoms lists.Tell me if anything is not to your taste, I took freedom to directly implement changes as I would do, because I needed them for production. I tried to not modify too much things though.