added function codePointFromChar#92
Conversation
|
Looks good! Yes, the code point value of a |
|
Looks great, but I think the example doesn't quite work because we don't export the |
|
the new commit uses the representation, that |
|
Hi, looks good! Would you consider adding a conversion from Thanks! |
|
The problem with writing it this way is that it suggests that you can write I'd prefer something like this instead: |
|
Thanks for putting up with my nitpicking! :) |
|
I don't mind it. Thanks for merging! |
while writing documentation for
Data.String.CodePointsI realized that a function converting a char to a codepoint might be useful.Correct me if I am wrong but the charcode should always be smaller than
0x10FFFF