hoogle icon indicating copy to clipboard operation
hoogle copied to clipboard

Not finding instances for `(->)`

Open Synthetica9 opened this issue 9 years ago • 2 comments

Examples:

Same for Arrow instances.

Synthetica9 avatar Nov 15 '16 11:11 Synthetica9

Instances for -> are pretty tricky - I'm not sure they will ever work, but good to record it.

ndmitchell avatar Nov 24 '16 20:11 ndmitchell

Relatedly(?), I tried searching for

(a -> b) -> (b -> c) -> a -> c

and

cat a b -> cat b c -> cat a c

but neither turned up Control.Category.>>>. To get it, I had to go all the way to

Category cat => cat a b -> cat b c -> cat a c

which doesn't seem very helpful for discovering the function.

Similarly, I tried

[a] -> [a]

and

[String] -> [String]

and neither turned up Data.List.sort. Hmm.....

treeowl avatar Aug 03 '22 01:08 treeowl