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

hoogle does not find ArrowChoice functions when searching for the (->) instance #64

Open
ibotty opened this issue Apr 20, 2014 · 2 comments

Comments

@ibotty
Copy link

ibotty commented Apr 20, 2014

looking for

(a -> a') -> Either a b -> Either a' b

should find

left :: ArrowChoice a => a b c -> a (Either b d) (Either c d)

but it doesn't. the same applies for (+++) (aka bimap for Either)

@ndmitchell
Copy link
Owner

Currently I quickly split out the result type from the arguments. I guess one approach would be to find instances for -> and pregenerate a version with -> substituted in.

@erikkaplun
Copy link

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

3 participants