2 ms·
Haskell does this already. You can ask the Haskell runtime the type annotation for a given function. The Haskell's Emacs mode (http://www.haskell.org/haskell-mo
by silentbicycle 18y ago
Haskell does this already. You can ask the Haskell runtime the type annotation for a given function. The Haskell's Emacs mode (http://www.haskell.org/haskell-mode/ http://www.haskell.org/haskell-mode/) can insert it at point.
Also, PLT Scheme's "Mr. Spidey" (http://www.plt-scheme.org/software/mrspidey/ http://www.plt-scheme.org/software/mrspidey/) looks like an interesting type-inference system (non-HM), though I haven't personally used it.