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

improved definition of pointed functor #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jethrolarson
Copy link
Collaborator

After reading https://stackoverflow.com/questions/39179830/how-to-use-pointed-functor-properly
I thought we should make the definition less wrong.

@jethrolarson
Copy link
Collaborator Author

jethrolarson commented Aug 2, 2022

I think when I wrote the original I was looking at the "Pointed" typeclass in haskell which doesn't have a requirement of functor so I didn't think that it was necessary. And in a way it's not. A type is pointed if any value can be lifted into it but intuitively a type is only a pointed functor if it's both pointed and a functor.

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.

None yet

1 participant