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

Problems with compilation #4

Open
vonagam opened this issue Aug 22, 2023 · 2 comments
Open

Problems with compilation #4

vonagam opened this issue Aug 22, 2023 · 2 comments

Comments

@vonagam
Copy link

vonagam commented Aug 22, 2023

Those are the issues that I've encountered while compiling this library as a dependency with gleam 0.30.5.

  1. A lot of warnings about "Deprecated external fn syntax"

  2. Usage of asset Ok(x) = without preceding let.

  3. float.power now returns Result(Float, Nil) not Float as the library expects.

@NicklasXYZ
Copy link
Owner

Thanks a lot for opening an issue :)
The library have not been updated in a long time, so it is expected it will not work with newer versions of gleam.

My most recent efforts have been to update and move all math-related functionality to the library:

It has not yet been published as there are still some open issues. If you are considering contributing, you should direct your efforts there :)

The future goal of the ´gleam_stats´ will be to focus on RNG and stats-related functionality, while having the maths library as a dependency.

@vonagam
Copy link
Author

vonagam commented Aug 23, 2023

Thanks for the fast response.

I myself found gleam_stats in search of a random number generator that produces the same results in js and erlang targets. I guess, I'll just copy that part from the library.

Good to know the status of the project.

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

No branches or pull requests

2 participants