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

Documentation for Validation operators mentions Bind (>>=), but the library doesn't implement it #188

Closed
sonicbhoc opened this issue Oct 23, 2022 · 1 comment · Fixed by #214
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@sonicbhoc
Copy link

Describe the bug
Looking through the source code through for the validation operators, the Bind operator (>>=) is not defined, even though the documentation references it specifically.

Instead, the following error message is displayed:

FS0043: Expecting a type supporting the operator `>>=` but given a function type. You may be missing an argument to a function.

To Reproduce
Attempt to use the >>= operator

Expected behavior
Function composition with Bind

Desktop (please complete the following information):

  • OS: Windows 10 Pro 20H2
  • Browser: Microsoft Edge 106
  • Version: 3.1.0
@TheAngryByrd TheAngryByrd added bug Something isn't working good first issue Good for newcomers labels Oct 24, 2022
@TheAngryByrd
Copy link
Collaborator

Yeah looks like the validation operators aren’t opening the Result ones. Will be happy to take a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants