-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
purs-0.14A reminder to address this issue or merge this PR before we release PureScript v0.14.0A reminder to address this issue or merge this PR before we release PureScript v0.14.0
Description
We have these functions:
isDigit
- matches0..9
isHexDigit
- matches0..9, a..f, A..F
digitToInt
- converts hex digits0..9, a..f, A..F
to0..15
Would it make more sense to rename digitToInt
to hexDigitToInt
and create a new digitToInt
that only converts decimal digits:
digitToInt
- converts decimal digits0..9
to0..9
hexDigitToInt
- converts hex digits0..9, a..f, A..F
to0..15
This issue came up in this slack discussion:
https://functionalprogramming.slack.com/archives/C717K38CE/p1589481039128200
kurtmilam and cdepillabout
Metadata
Metadata
Assignees
Labels
purs-0.14A reminder to address this issue or merge this PR before we release PureScript v0.14.0A reminder to address this issue or merge this PR before we release PureScript v0.14.0