conversions between NonEmptyArray/NonEmptyString#102
conversions between NonEmptyArray/NonEmptyString#102garyb merged 4 commits intopurescript:compiler/0.12from
Conversation
8bec6e6 to
5bee30e
Compare
|
rebased on |
addresses purescript#101 This uses unsafePartial for the sake of efficiency.
5bee30e to
58e66ed
Compare
4334ebd to
1f8411d
Compare
|
I've added some benchmarks to the branch. For longer strings, I'm getting It will be interesting to compare That being said, there is probably something to be said in favor of the API for I think this is worth adopting on those grounds. |
|
Hey looks neat :) I would like to see CodePoint conversions as well, since they make working with unicode nicer. |
|
👍 on codepoints, but we can add that separately as it's non-breaking at least 🙂 |
addresses #101
This uses
unsafePartialfor the sake of efficiency.