Re:High school programming taught in Haskell in Argentina
by joeyh on Saturday July 27, 2013 @12:36PM
(#6113500)
There are several projects that make the haskell type checker run on the fly (more or less) as code is entered in an editor. ghc-mod is one; hdevtools is another; FP complete has a web based haskell editor with on the fly type checking too.
Re:High school programming taught in Haskell in Argentina
by gnuvince on Saturday July 27, 2013 @05:00PM
(#6114416)
I recently installed ghc-mod [1] and configured it in Emacs; red squiggly lines appear when I have an error.
Re:High school programming taught in Haskell in Argentina
by kazagistar on Sunday July 28, 2013 @11:31AM
(#6116948)
Well, thats a start at least. Check as you type is only the tip of the iceberg, though, in creating a tighter programmer/compiler feedback loop. Detecting and listing all the possible choices for you to type automatically is something else... a good IDE can know which functions are valid in the current location, what values are valid parameters for those functions, and can list and auto-complete them.
Sure. But it is a slower feedback cycle then a good IDE (which tells you what it is expecting as you type it). Also, the same can be said about an interpreter: you can try things, and when they fail, it lets you know what it was expecting.