Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning to documentation about parametricity #7

Closed
rightfold opened this issue Sep 20, 2016 · 0 comments
Closed

Add warning to documentation about parametricity #7

rightfold opened this issue Sep 20, 2016 · 0 comments

Comments

@rightfold
Copy link

I think this library breaks parametricity.

toMaybe (toNullable (Just somethingNull)) /= Just somethingNull

but

toMaybe (toNullable (Just 1)) == Just 1

Should this be documented?

hdgarrood added a commit that referenced this issue Jan 12, 2019
Document pitfalls of Nullable, fixes #7, resolves #2
ajnsit added a commit to ajnsit/purescript-nullable that referenced this issue Nov 27, 2019
ajnsit added a commit to ajnsit/purescript-nullable that referenced this issue Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant