you can sort of do this with ghci and :hoogle.
the simplest example is
foo : A -> A
since we know absolutely NOTHING about A, all we can really do is give it back to you, so foo turns out to be identity, or id.
another might be bar: [A] -> Nat we still don't know anything about A, but we know a little about lists, so a good suggestion might be length.
All of the environments are pretty interactive, and you pick and choose. but from time to time there is exactly one possible implementation that meets all the constraints, so the compiler can fill that in.