Skip to content

Align the nubByEq example with the unionBy example and the deleteBy example #150

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

Merged

Conversation

nfgrusk
Copy link
Contributor

@nfgrusk nfgrusk commented Oct 5, 2018

Sorry, I can’t unsee it. 😅

Please feel free to close this pull request if you think that this change is unnecessary.

@nfgrusk
Copy link
Contributor Author

nfgrusk commented Oct 5, 2018

By the way, most of the examples in the documentation use a single = to denote that the expression on the left-hand side evaluates to the expression on the right-hand side. However, some examples (e.g. span, group, and nubBy) use == instead.

And now I’m wondering if this is intentional. 😅

@hdgarrood
Copy link
Contributor

I don't think it's intentional. At some point I would like to try to agree on a syntax which is sufficiently unambiguous that we could have an automated tool for doctesting, but I don't think we've reached that point yet!

@garyb garyb merged commit f80754d into purescript:master Dec 16, 2018
@nfgrusk nfgrusk deleted the align-the-nubByEq-example-with-the-other-ones branch December 16, 2018 19:01
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