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

Applicative extends Apply and not Semigroupal and Functor #138

Open
dadepo opened this issue Jun 19, 2018 · 1 comment
Open

Applicative extends Apply and not Semigroupal and Functor #138

dadepo opened this issue Jun 19, 2018 · 1 comment

Comments

@dadepo
Copy link

dadepo commented Jun 19, 2018

Chapter 6 has it that:

Applicative extends Semigroupal and Functor. It provides a way
of applying functions to parameters within a context. Applicative is
the source of the pure method we introduced in Chapter 4.

That is not quite correct. Applicative extends Apply and not Semigroupal and Functor as stated above. Even though this can be said to be the case indirectly since Apply extends Semigroupal and Functor, but stating it as above could lead to confusions.

It is better to state that Applicative extends Apply and Apply then extends Semigroupal and Functor

@dadepo
Copy link
Author

dadepo commented Jun 19, 2018

Also

It provides a way of applying functions to parameters within a context

Is not particularly correct. It should be

It provides a way of applying functions inside a context to parameters within a context

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