Screencast: Hole-driven Haskell
matthew.brecknell.net
matthew.brecknell.net
For example, I imagine a tool like Hoogle* would be really awesome: you give it a type and it suggests how to compose functions to get that type. I know somebody implemented this for Java, but I think it would be more powerful and easier in a language like Haskell.
The important idea is to use type systems for more than just preventing errors, as these type holes show.