Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated gleam wrapper code #500

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

michallepicki
Copy link
Contributor

The external functions syntax in Gleam has changed: https://gleam.run/book/tour/external-functions.html

There's also no easy way to use this code from a gleam project that just has the floki dependency added with the gleam build tool. I think it's safe to say that no one is using this. Likely a better way to wrap Floki in Gleam would be to make a separate Gleam package with floki as a dependency, and wrap the API there - maybe then the package could also provide a more Gleam-y API than "here's an opaque thing, decode it if you want"

The external functions syntax in Gleam has changed: https://gleam.run/book/tour/external-functions.html

There's also no easy way to use this code from a gleam project that just has the floki dependency added with the gleam build tool. I think it's safe to say that no one is using this. Likely a better way to wrap Floki in Gleam would be to make a separate Gleam package with floki as a dependency, and wrap the API there - maybe then the package could also provide a more Gleam-y API than "here's an opaque thing, decode it if you want"
@philss
Copy link
Owner

philss commented Dec 11, 2023

@michallepicki Makes sense! Thank you! I'm going to assume that no one is using.

If anyone needs a wrapper, please go ahead and create a new package.

@philss philss merged commit f76fc0f into philss:main Dec 11, 2023
9 checks passed
@michallepicki michallepicki deleted the rm-old-gleam branch December 11, 2023 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants