News for hackers. Stuff that matters.
Re:Elm at Prezi by halacsy on Wednesday May 29, 2013 @02:09PM (#5787947)
is there any theoretical limitation?
Re:Elm at Prezi by jerf on Wednesday May 29, 2013 @02:22PM (#5788024)
It looks like the requisite debugger technology is just coming online in dev builds for Mozilla: https://hacks.mozilla.org/2013/05/compiling-to-javascript-an...

Chrome has some sort of support for it too, which Closure can apparently use. (That's Closure the JS library, not Clojure the JVM Lisp.)

Re:Elm at Prezi by eliben on Wednesday May 29, 2013 @03:55PM (#5788685)
Do source maps also support tracing values in variables, or do they only map line numbers in source to line numbers in output? Because the former (mapping values) is the hard part of implementing a debugger.
Re:Elm at Prezi by rbanffy on Wednesday May 29, 2013 @11:20PM (#5790701)
I don't think tracing values is very important when they're immutable.
Re:Elm at Prezi by eliben on Friday June 07, 2013 @04:32PM (#5841588)
How are they immutable? Given some obj, is obj.prop immutable?
Re:Elm at Prezi by deno on Wednesday May 29, 2013 @03:58PM (#5788700)
Actually that’s Closure the Javascript compiler. There’s nothing special that has to do with source maps in Closure Library, because it’s regular JS.
Re:Elm at Prezi by rbanffy on Wednesday May 29, 2013 @11:02PM (#5790633)
That's an interesting question. Debuggers are very different when they target functional languages and the mote you express with fewer lines of code make for somewhat surprising.

OTOH, the way one codes in functional languages is also different. Lack of a debugger may not he a problem as big as it would be with, say, Java.

Re:Elm at Prezi by revelation on Wednesday May 29, 2013 @02:18PM (#5788004)
No, its plain old lazyness. All these "compiled to JS" language makers would rather add more fancy syntactic sugar or extend the standard library than getting their goddamn bases covered.

I have no problem with that, but please don't go on about how you are much more productive in this language than in JS, and how much cheaper the code will be to maintain.

Re:Elm at Prezi by cia_plant on Wednesday May 29, 2013 @03:23PM (#5788491)
I think it's ridiculous to call people "lazy" who wrote an entirely new language from scratch and released it for free, because it's lacking one feature.
Re:Elm at Prezi by jerf on Wednesday May 29, 2013 @02:25PM (#5788045)
Per my sibling post, I do not believe you are technically correct. Debuggers must support the ability to debug compiled languages before anyone can usefully implement support for debugging. I'm curious what exactly you think the developers of languages that compile to JS are not doing out of "lazyness"?
Re:Elm at Prezi by calpaterson on Wednesday May 29, 2013 @02:36PM (#5788136)
A counterexample is coffeescript, which I think does have a plugin for Chrome to allow a source-level debugger.
Re:Elm at Prezi by deno on Wednesday May 29, 2013 @03:59PM (#5788705)
You can run (and debug) Dart natively in Dartium.