issues Search Results · repo:purescript/purescript-strings language:PureScript
Filter by
57 results
(90 ms)57 results
inpurescript/purescript-strings (press backspace or delete to remove)I think the bounds check and the exception are largely unnecessary. Presumably one would be using these APIs if they had
already performed the requisite checks. If one wanted an exception (rather than ...
natefaubion
- 3
- Opened on Apr 26, 2024
- #171
- takeEnd :: Int - String - String
- dropEnd :: Int - String - String
Could these functions be added?
flip111
- Opened on Feb 1, 2024
- #170
localeCompare can return different output depending on locale. Example borrowed from MDN:
console.log( ä .localeCompare( z , de )); // a negative value: in German, ä sorts before z
console.log( ä .localeCompare( ...
pete-murphy
- 7
- Opened on Jan 21, 2024
- #169
The unicode character generator for unicode characters is picking a random CodePoint in the BMP. The unicode string
generator just generates an arbitrary array of such code points and turns it into a string. ...
martyall
- 4
- Opened on Sep 13, 2023
- #167
Right now the signature of replace on regex is:
foreign import replace :: Regex - String - String - String
and I argue it should be
foreign import replace :: Regex - Replacement - String - String
Of ...
i-am-the-slime
- 2
- Opened on Nov 7, 2022
- #164
Could we provide a function that checks if a string is wellformed w.r.t. its encoding? In the JS backend this would be a
check if there are lone surrogates present, in other backends this may be a different ...
chtenb
- 2
- Opened on Feb 21, 2022
- #156
Should this library expose a function which allows constant-time codepoint indexing in string? This would only work in
situations where you have the codeunit index of the codepoint handy, so the signature ...
chtenb
- 11
- Opened on Feb 9, 2022
- #155
It seems to me that these lines in Data.String.CodePoints.uncons
https://github.com/purescript/purescript-strings/blob/157e372a23e4becd594d7e7bff6f372a6f63dd82/src/Data/String/CodePoints.purs#L197-L198 ...
type: enhancement
jamesdbrock
- 3
- Opened on Sep 23, 2021
- #154
fromCharCode should return Nothing if the code is out of the Basic Multilingual Plane Char range, right?
https://github.com/purescript/purescript-strings/blob/157e372a23e4becd594d7e7bff6f372a6f63dd82/src/Data/Char.purs#L16 ...
type: bug
jamesdbrock
- 5
- Opened on Sep 22, 2021
- #153
~Is there ever an occasion when Javascript s String.prototype.split() returns an empty array? If not, couldn t we have
split :: Pattern - String - NonEmptyArray String? Or another version, called split ...
JamieBallingall
- 3
- Opened on Aug 17, 2021
- #152

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.