Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/purescript/purescript-strings

String utility functions, Char type, regular expressions.
https://github.com/purescript/purescript-strings

refactor to avoid lists dep; better complexity adherence in fallbacks

b38eb80e1ea9f212f889af56f6b99be00614e583 authored over 7 years ago by Michael Ficarra <[email protected]>
update Data.String import warning comment

cef521afe2f8379f20d60ad62608fe5e8c9b6c14 authored over 7 years ago by Michael Ficarra <[email protected]>
add comments and complexity notes

370af7cae24407f339d1f9e1fdbcd0eabd7d27e2 authored over 7 years ago by Michael Ficarra <[email protected]>
bug fix lastIndexOf'

0d81e0b4207a37f0173d2864d925f70052250d28 authored over 7 years ago by Michael Ficarra <[email protected]>
consistent code unit variable names

4292a8bad00ff9b0ea896268cf4b5a7f489f2d01 authored over 7 years ago by Michael Ficarra <[email protected]>
bug fix for unsafeCodePointAt0Fallback

cde0d26213ceec0b9083eb04709513f278bf5579 authored over 7 years ago by Michael Ficarra <[email protected]>
remove unused function

7eac69e2efcd59d17a8bfcdf570954fc3bdd5f3b authored over 7 years ago by Michael Ficarra <[email protected]>
remove duplication

3b57fd4fa775fbb9baf65471e5b03e3ab572ecfc authored over 7 years ago by Michael Ficarra <[email protected]>
remove Newtype instance for CodePoint

205838c84190ec300c6d8d1bca6ec1a3fd9990c6 authored over 7 years ago by Michael Ficarra <[email protected]>
prefer string iteration over Array.from in _codePointAt FFI function

af2db11877de7ecac511ed35c9677560540bfa4b authored over 7 years ago by Michael Ficarra <[email protected]>
prefer 10e3 over 1024e1

5490d4679e4ce9e8ad4b52a3ad37bebeaa389474 authored over 7 years ago by Michael Ficarra <[email protected]>
Merge pull request #84 from ijks/bmp-typo

Fix typo: 'plain' -> 'plane'

d1ecf84db8841bf4764a31b33f470be8ef63e5f7 authored over 7 years ago by Gary Burgess <[email protected]>
Fix typo: 'plain' -> 'plane'

https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane

c680ede5500fd8a7332b6d089be2bbe4ee5acaf0 authored over 7 years ago by Daan Rijks <[email protected]>
Merge pull request #83 from purescript/string-gen-size

Ensure `genString` always generates at least one character

dc78175df95d188c26d5ed43922e5a39c274ecc8 authored over 7 years ago by Gary Burgess <[email protected]>
Ensure `genString` always generates at least one character

3c844982b2f0c0fc35681d61a6e72de1d58a27bc authored over 7 years ago by Gary Burgess <[email protected]>
Merge pull request #82 from purescript/more-gen

Enhance string & char generation

c4158c1349799a115e66125566d22c541dfb6e3a authored over 7 years ago by Gary Burgess <[email protected]>
Add some additional common character generators

fd7ca545994b0391dd3fecf8693916d830c8b7c0 authored over 7 years ago by Gary Burgess <[email protected]>
Vary the length of generated strings

3d400a47ab217a23295a0e9ec60a2e6a8be872f3 authored over 7 years ago by Gary Burgess <[email protected]>
remove unnecessary qualification in import

4ec116b76cc856bac1d990632836b16bbfcf6246 authored over 7 years ago by Michael Ficarra <[email protected]>
remove some redundant JS implementations

557186c275894defa4a74d6ff2aa0dc09ad5b448 authored over 7 years ago by Michael Ficarra <[email protected]>
remove unused parameters

8e99c3996dcfe5349b73a7b7d87f1237cb3068ae authored over 7 years ago by Michael Ficarra <[email protected]>
add some comments

8d6d263bac2ddae7c605bda329adf55854cf10e2 authored over 7 years ago by Michael Ficarra <[email protected]>
open imports for Prelude

e8ca6f36278fcce565d83a313f4e607ffb2b52bc authored over 7 years ago by Michael Ficarra <[email protected]>
use charCodeAt from Data.String.Unsafe

71c5156e74a5569d81c9b43906dbc111e25e4c36 authored over 7 years ago by Michael Ficarra <[email protected]>
remove TODOs

c59f34028a1cd7ea9de96d732c938d27e5ea3183 authored over 7 years ago by Michael Ficarra <[email protected]>
move codePointAt0 from JS to purs

46e9545c0d3d3c3168097131f770baf1e7e7995b authored over 7 years ago by Michael Ficarra <[email protected]>
move fromCodePoint from JS to purs

2c2418aa41cf547b53c210361c06a1f62faaae1c authored over 7 years ago by Michael Ficarra <[email protected]>
bugfixes

71cdcf299d1acb32e702b4055fe65a721fa171b6 authored over 7 years ago by Michael Ficarra <[email protected]>
change re-export of Data.String

c798dfe490651b219b980664b5a5462cfd2430cf authored over 7 years ago by Michael Ficarra <[email protected]>
fix linting errors

04154a5bee241c48f2a70f6417280e7f8ea587f4 authored over 7 years ago by Michael Ficarra <[email protected]>
finished the tests

c1ff8c579316c6a34c605a5d702811597ea1cfcd authored over 7 years ago by Michael Ficarra <[email protected]>
trailing whitespace

a26afdf1cf62120f6b3459d5feacc22d6ff93f8b authored over 7 years ago by Michael Ficarra <[email protected]>
add some initial tests and fix some bugs

8c55257a3f12632f12e8c7027691225896571136 authored over 7 years ago by Michael Ficarra <[email protected]>
indexOf and lastIndexOf

a6855b4fc770eb3afb6030ef4be7ce9964349208 authored over 7 years ago by Michael Ficarra <[email protected]>
fix count; implement dropWhile and takeWhile

8860295f284b635cc2b1cb5b8407d76c8d617f4d authored over 7 years ago by Michael Ficarra <[email protected]>
re-arrange JS exports

d5b6d92b5e140cc8843e508caf6db015d18fb15c authored over 7 years ago by Michael Ficarra <[email protected]>
re-arrange imports

ecfbf0bc6825b6af3492baa07cc3acedf69857c8 authored over 7 years ago by Michael Ficarra <[email protected]>
uncons

75117d2043a00b9bbe03798d1d4c08a37eee6ae2 authored over 7 years ago by Michael Ficarra <[email protected]>
re-export Data.String

3003c090d6fcc53e90222bca61f600569cac916e authored over 7 years ago by Michael Ficarra <[email protected]>
use String.fromCodePoint in singleton implementation when available

5a6cfd069df05db7f452fec062590b0155292143 authored over 7 years ago by Michael Ficarra <[email protected]>
splitAt

fb473871d8f7620bedda52e6802f86aa5bf03bb8 authored over 7 years ago by Michael Ficarra <[email protected]>
singleton

83876413a8dd5b907c20f51944838a0d1602d03d authored over 7 years ago by Michael Ficarra <[email protected]>
length

fd91b0ba09f88318611d503cd89eef6de947c862 authored over 7 years ago by Michael Ficarra <[email protected]>
drop and take

292e0de444253949d163e9a96bbaaa673723752e authored over 7 years ago by Michael Ficarra <[email protected]>
count

8279da8f9d13f9a6b66514e62f570403380e156a authored over 7 years ago by Michael Ficarra <[email protected]>
minor stuff

25572de0630cc5e43c95dee1f242ea824911a2bc authored over 7 years ago by Michael Ficarra <[email protected]>
more progress

dc0577c026065b722ea86c45b22ffaf59f4016c4 authored over 7 years ago by Michael Ficarra <[email protected]>
WIP code point based string functions

428b99547ca167f2b93b69c67b0cc81a71128b3d authored over 7 years ago by Michael Ficarra <[email protected]>
Merge pull request #77 from purescript/gen

Add some generator functions

e69a22c117c9cc0b40d908dc4749b7eceeebea6b authored over 7 years ago by Gary Burgess <[email protected]>
Add some generator functions

f4759c68e4fd2a7f2814b71b58d3cbe46781f56c authored over 7 years ago by Gary Burgess <[email protected]>
Merge pull request #76 from purescript/ps-0.11

Update for PureScript 0.11

dbd0ac242fc97b4ef804069666fb8dc3056fe86b authored almost 8 years ago by Gary Burgess <[email protected]>
Merge pull request #72 from purescript/splitAt-record

[BREAKING] Make splitAt return a record, fixes #69

8fd322a33a4f1893e7c9f4a943cec86a8cb7bf36 authored almost 8 years ago by Gary Burgess <[email protected]>
Update for PureScript 0.11

a1c83a75828688529b3c9139f59c235b305bbb17 authored almost 8 years ago by Gary Burgess <[email protected]>
v2.1.0

ed00f298cff06cc066f3593cdf6b0107692aa1dd authored about 8 years ago by Phil Freeman <[email protected]>
Add unsafeRegex (#74)

* Add unsafeRegex

Fixes #73.

* Make purescript-partial a non-dev dependency

* Move unsa...

1108a606b822ccafa12babeb219ae7d42862a367 authored about 8 years ago by rightfold <[email protected]>
Make splitAt return a record, fixes #69

f7f449cfb8ac60827f3e42809a3f39391e444d29 authored about 8 years ago by Harry Garrood <[email protected]>
Update README.md

94d6526ca7c692cc6917225f68a7bcabeebf9555 authored about 8 years ago by Gary Burgess <[email protected]>
Merge pull request #70 from leighman/master

Update documentation - split now takes a Pattern

1a2df5beb23b3498c7dd23ea838877665823dbe8 authored about 8 years ago by Gary Burgess <[email protected]>
Update documentation - split now takes a Pattern

332077b01204cd489345a38b11bf29db9a93d178 authored about 8 years ago by Jack Leigh <[email protected]>
Merge pull request #68 from Risto-Stevcev/master

Rewrote null check to use mempty

6843c74e91db39e483d2a94698bd97f4c4288870 authored over 8 years ago by Gary Burgess <[email protected]>
Rewrote null to check the empty string

ab78019ef5624d4cbc832a532b509c1c2df86e58 authored over 8 years ago by Risto Stevcev <[email protected]>
Merge pull request #66 from purescript/bump

Prepare for 2.0 release

c013a7e1a935a734a75bae8c299763a7cdfa09df authored over 8 years ago by Gary Burgess <[email protected]>
Rewrote null check to use mempty

c04a774a89e5ca4ea77cf73934d5eca96e9c9ab7 authored over 8 years ago by Risto Stevcev <[email protected]>
Add some extra instances for RegexFlags

96b451ac69dabbbb7f52a3fb84576744465669e9 authored over 8 years ago by Gary Burgess <[email protected]>
Prepare for 2.0 release

4e5059d0478fb0e39b5a20b4c36fee6ac98ef72d authored over 8 years ago by Gary Burgess <[email protected]>
Added some shortcuts for commonly used flags (#67)

* Added a monoid instance and helper functions to regex flags

* Refactored the regex flags code

3f7ad6f11a698a89e1c1ef548ec86dc318f1d897 authored over 8 years ago by Risto Stevcev <[email protected]>
Merge pull request #65 from Risto-Stevcev/master

Added 'splitAt' function

2e60399b4c51ad4e74e61df6df406676aca3d64c authored over 8 years ago by Gary Burgess <[email protected]>
Added 'splitAt' function

8f1be344654906b309a82459e47abc7e3daa8916 authored over 8 years ago by Risto Stevcev <[email protected]>
Merge pull request #64 from purescript/count

Export `count` again

b6997465b21f7971d8bf13ea05049ca12b6b9312 authored over 8 years ago by Gary Burgess <[email protected]>
Update build to use pulp again

f37336c673be5d0905106a79c96eb917b5af3651 authored over 8 years ago by Gary Burgess <[email protected]>
Export `count` again

dab00b716b0242063e0b9534c22b9b31eb9e5218 authored over 8 years ago by Gary Burgess <[email protected]>
Merge pull request #63 from paulyoung/from-char

Remove reference to `fromChar` in documentation

018455ddd9b8705dcb1d55622823ba5e5317df75 authored over 8 years ago by Phil Freeman <[email protected]>
Remove reference to `fromChar` in documentation

- `fromChar` was removed in #59.

ca2fee8ee50d0e448d9840380f4d71b35fa5a98b authored over 8 years ago by Paul Young <[email protected]>
Update build for release

c48158348af3d23ba8a467cb6b249a941f9ed2ce authored over 8 years ago by Gary Burgess <[email protected]>
Update build & fix warning

87dd5f1694fd9dc7e052ff2b2df54e8b6b54dab5 authored over 8 years ago by Gary Burgess <[email protected]>
Merge pull request #60 from purescript/0.8-updates

Updates for PureScript 0.8

248d3953733c780beab6157ca56a75c3d155862d authored almost 9 years ago by Gary Burgess <[email protected]>
Updates for PureScript 0.8

4e8af7d5e3bfd4c9b74d833ab11debd0c3e49360 authored almost 9 years ago by Gary Burgess <[email protected]>
Merge pull request #54 from sharkdp/fix-regex-global-state

Reset Regex state after calling 'test', resolves #7

e4317a24c5e8ade8c617ffb581adfafef60822e4 authored almost 9 years ago by Gary Burgess <[email protected]>
Reset Regex state after calling 'test', resolves #7

Previously, the second `assert` in the following code would fail:
``` purs
let pattern = regex "...

26941a934f3fec3d76ec9c981d8483fd4931cc8f authored almost 9 years ago by sharkdp <[email protected]>
Merge pull request #50 from sharkdp/deprecate-count

Deprecate count, resolves #46

5772cb65b258825c91f6b12da79b1d00be58551d authored almost 9 years ago by Gary Burgess <[email protected]>
Merge pull request #49 from sharkdp/handle-regex-syntax-errors

Handle Regex syntax errors, resolves #48

5898fb28778e0e0c183e1bde1159d1d3e051f8dc authored almost 9 years ago by Gary Burgess <[email protected]>
Merge pull request #53 from sharkdp/fix-drop

Handle negative arguments in drop, resolves #52

07a8f7669442627a5896bb93ddddfeea47f9e72a authored almost 9 years ago by Gary Burgess <[email protected]>
Merge pull request #59 from sharkdp/remove-fromChar-toString

Remove String.fromChar, Char.toString, fixes #51

9d4ef0c1bccc74e960ba9a4129c4be8e3421f05c authored almost 9 years ago by Gary Burgess <[email protected]>
Remove String.fromChar, Char.toString, fixes #51

7c451346158ca645dd37ac077d3a26b17be864db authored almost 9 years ago by sharkdp <[email protected]>
Handle negative arguments in drop, resolves #52

With this change, `drop` handles negative arguments consistently:
``` purs
drop (-2) "abcdef" ==...

5ed4d40a50b65832be4273fe3f09abaa7642c881 authored almost 9 years ago by sharkdp <[email protected]>
Deprecate count, resolves #46

Removes the export for the function `count`.

e0b2f00bc50afa62bc98b071c696f55fd6e5b073 authored about 9 years ago by sharkdp <[email protected]>
Handle Regex syntax errors, resolves #48

In order to avoid runtime errors, this commit replaces
```
regex :: String -> RegexFlags -> Rege...

85f08d388058e0e0aacf8d8bc27ad639996f76ae authored about 9 years ago by sharkdp <[email protected]>
Merge pull request #47 from tfausak/patch-1

Remove unused import

6e67dd14a6d6c510e48be8182f5c5fb25790e98f authored about 9 years ago by Gary Burgess <[email protected]>
Remove unused import

The PureScript compiler warns about unused imports as of 0.7.6.

eb51bd6c63528affadcf0b627d886925a6e85fbd authored about 9 years ago by Taylor Fausak <[email protected]>
Remove orphan Bounded Char instances

aa15ef8d0df54bbefa9ae9c5e0366b66f6f24a6f authored over 9 years ago by Gary Burgess <[email protected]>
Merge pull request #41 from LiamGoodacre/master

Uppercase/lowercase on Char, tests, and more

24a912f21744d2a638b1fe161333512985ac8cb1 authored over 9 years ago by Gary Burgess <[email protected]>
Merge pull request #44 from hdgarrood/stripSuffix

Add `stripSuffix`

d6eb480303734668317a19af3c9a0e0bfe62c5ee authored over 9 years ago by Phil Freeman <[email protected]>
Add `stripSuffix`

e786b5c0a955eaa87fd32079e7d44be8368e58ca authored over 9 years ago by Harry Garrood <[email protected]>
Merge pull request #43 from anttih/remove-show-char

Remove Show instance for Char, we have that in Prelude

6e9f7c59923cd164fb9db4c572a9e9122b37576b authored over 9 years ago by Gary Burgess <[email protected]>
Remove Show instance for Char, we have that in Prelude

241161f9afd7b6a4e9abfa5d8a3c43549537a40d authored over 9 years ago by Antti Holvikari <[email protected]>
tests, changes, and fixes

Testing
--

* Added `test/` directory.
* Added `pulp test` to the `build` script.
* New dev depe...

1523fc3c2b6dc8d2f05dcc00cb5deb85e0c47514 authored over 9 years ago by Liam Goodacre <[email protected]>
Uppercase/lowercase on Char

Added

* `Data.Char.toUpperChar :: Char -> Char`
* `Data.Char.toLowerChar :: Char -> Char`

Remo...

ecc6ad64321a59a9742bfce03a3e4ba165f5e3d5 authored over 9 years ago by Liam Goodacre <[email protected]>
Merge pull request #40 from hdgarrood/fix-split-docs

Fix split docs, fixes #30

9968b3f2cd40b4e74f287e72a1ff5e6831427958 authored over 9 years ago by Phil Freeman <[email protected]>
Fix split docs, fixes #30

5bf639a61111d642d9226173391ebde4330cd8dd authored over 9 years ago by Harry Garrood <[email protected]>
Merge pull request #38 from hdgarrood/docs-updates

Docs updates

7aec0e3306cd191b826505540b7b52526cae268f authored over 9 years ago by Phil Freeman <[email protected]>