Skip to content

Conversation

@JordanMartinez
Copy link
Contributor

@JordanMartinez
Copy link
Contributor Author

JordanMartinez commented Oct 23, 2020

Blocked by nonempty, gen, arrays, and enums

@kl0tl
Copy link
Member

kl0tl commented Oct 24, 2020

We could replace some uses of unsafeCoerce by Safe.Coerce.coerce in the implementations of toNonEmptyString, fromNonEmptyString and liftS in Data.String.NonEmpty.CodePoints and Data.String.NonEmpty.CodeUnits.

Sadly we can’t remove the last unsafe coercions from Data.String.NonEmpty.CodeUnits.fromFoldable1 and Data.String.NonEmpty.Internal. joinWith implementations for the same reason we can’t do it either in arrays (see purescript/purescript-arrays#181 (comment)).

@JordanMartinez
Copy link
Contributor Author

CI builds. Need 1 more review.

@thomashoneyman
Copy link
Member

Should we include @kl0tl’s suggestions in this PR or in a subsequent one?

@JordanMartinez
Copy link
Contributor Author

A subsequent one. This PR gets the library to compile, so I can get quickcheck and other libraries to compile. I'll dad a note in the 'core libs' issue to remind us to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants