Skip to content

Add Prelude.Text.{lower,upper}ASCII utilities#1164

Merged
Gabriella439 merged 8 commits intomasterfrom
gabriel/lower_ascii_2
May 11, 2021
Merged

Add Prelude.Text.{lower,upper}ASCII utilities#1164
Gabriella439 merged 8 commits intomasterfrom
gabriel/lower_ascii_2

Conversation

@Gabriella439
Copy link
Copy Markdown
Contributor

Related to #631

In particular, this is based on the suggestion from:

#631 (comment)

Related to #631

In particular, this is based on the suggestion from:

#631 (comment)
@ad-si
Copy link
Copy Markdown
Contributor

ad-si commented May 4, 2021

Wouldn't it make sense to also include upperASCII while you're already at it?

Gabriella439 and others added 3 commits May 4, 2021 08:59
Oops! 🙂

… as caught by @basile-henry

Co-authored-by: Basile Henry <bjm.henry@gmail.com>
@Gabriella439 Gabriella439 changed the title Add Prelude.Text.lowerASCII utility Add Prelude.Text.{lower,upper}ASCII utilities May 4, 2021
@MonoidMusician
Copy link
Copy Markdown
Collaborator

You might want to add a warning that decomposed unicode characters (base character + modifier diacritics) may be affected by case conversion:

assert : lowerASCII ""  ""

(I believe that is correct, but you should test!)

@Gabriella439 Gabriella439 merged commit fbe7f32 into master May 11, 2021
@Gabriella439 Gabriella439 deleted the gabriel/lower_ascii_2 branch May 11, 2021 14:40
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.

5 participants