News for hackers. Stuff that matters.
Re:Fun with Dependent Types in Haskell by lmm on Monday October 13, 2014 @06:34PM (#8451045)
So you check types at the boundaries (e.g. doing the same thing in Scala, I'd use Shapeless .cast, which does tricks to get around JVM erasure so ensures that it really will fail if the type doesn't match), and then they work throughout your code. Then you can concentrate your test coverage on the parts that actually need it.

Just because we can't make things perfect is no reason not to make things better.

Re:Fun with Dependent Types in Haskell by dkarapetyan on Monday October 13, 2014 @06:49PM (#8451099)
At what point do I advocate not making things better? General rule of polite discourse is to not assume things on the part of the speaker unless it is explicitly stated and to ask for clarification if something is unclear.