Skip to content

Add Bool module #244

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

Closed

Conversation

fhammerschmidt
Copy link
Member

@fhammerschmidt fhammerschmidt commented Aug 27, 2024

As those methods will be removed from pervasives.
Also added some helpers inspired from https://hexdocs.pm/gleam_stdlib/gleam/bool.html

Please tell me which ones you would like to keep, then I will add tests and docs.

@bloodyowl
Copy link
Contributor

I'm wondering if we really need such a module in the stdlib, I'd rather encourage using plain expressions (inside anonymous functions if needed)

@fhammerschmidt
Copy link
Member Author

Probably not. It was mainly to have a substitute for the corresponding Pervasives methods, but we also have this now: https://github.com/rescript-lang/rescript/blob/master/runtime/Primitive_bool.res

@fhammerschmidt fhammerschmidt deleted the bool-module branch February 27, 2025 17:17
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