Re:Learning Elm has gotten me confused about static vs. dyna...
by talles on Tuesday June 14, 2016 @03:48PM
(#11904788)
That's very, very nice. Is this exclusive to Haskell?
[ Parent
| on HN ]
Re:Learning Elm has gotten me confused about static vs. dyna...
by jerf on Tuesday June 14, 2016 @04:07PM
(#11904936)
Well, Haskell got it from Agda [1], but Agda is even farther in the direction of Haskell than Haskell relative to mainstream programming languages, and beyond the "currently practical" language horizon.
Re:Learning Elm has gotten me confused about static vs. dyna...
by dllthomas on Tuesday June 14, 2016 @05:24PM
(#11905435)
Typed holes are quite a different thing than deferred type errors. Does Agda actually have something like the latter? (Results seem negative from the tiny bit of searching I've just done, but that's awfully low confidence...)
Re:Learning Elm has gotten me confused about static vs. dyna...
by jerf on Tuesday June 14, 2016 @08:13PM
(#11906392)
Whoops, you're right! I was too hasty.
Re:Learning Elm has gotten me confused about static vs. dyna...
by jdmichal on Tuesday June 14, 2016 @06:20PM
(#11905805)
Eclipse does a similar thing with Java. It will replace methods that don't compile with a stub that throws an exception with the compilation error.