For example, I haven't used Haskell in a while, and forgot the name of the const
function, but remembered that its type signature is a -> b -> a
.
Asked
Active
Viewed 263 times
1 Answers
11
Use Hoogle or Stackage. (See also related Stackoverflow answer.)
As far as I know, Stackage uses Hoogle underneath, but one may find its representation easier to read.
Just type any type signature that would be acceptable by Haskell, and browse the results.

toraritte
- 6,300
- 3
- 46
- 67