rescript-core icon indicating copy to clipboard operation
rescript-core copied to clipboard

add `Char` module

Open aspeddro opened this issue 1 year ago • 1 comments

Perhaps add chrOpt, return option<chr>, @zth, @fhammerschmidt?

TODO:

  • [ ] Get rid of PervasivesU
  • [ ] Add docstrings
  • [ ] Update CHANGELOG.md

Close #228

aspeddro avatar Jun 05 '24 17:06 aspeddro

Yes, a chrOpt that checks if a given int is in the valid char range and only then returns a Some(char) is missing currently, imo.

fhammerschmidt avatar Jun 06 '24 17:06 fhammerschmidt