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

Unused Program type class in “fp-ts to the max Part II” example #1829

Open
anikeef opened this issue Feb 1, 2023 · 0 comments
Open

Unused Program type class in “fp-ts to the max Part II” example #1829

anikeef opened this issue Feb 1, 2023 · 0 comments

Comments

@anikeef
Copy link

anikeef commented Feb 1, 2023

📖 Documentation

In the “fp-ts to the max Part II” example, finish function from Program type class is currently not used. It should be either removed or commented to clarify its purpose.

interface Program<F extends URIS> extends Monad1<F> {
  readonly finish: <A>(a: A) => Kind<F, A>
}
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

No branches or pull requests

1 participant