2 ms·
"...although it wouldn't be necessary to do so." That's actually the point. (Have you read the "wearing the hair shirt" paper?) One of the hardest problems in
by mcguire 13y ago
"...although it wouldn't be necessary to do so."
That's actually the point. (Have you read the "wearing the hair shirt" paper?)
One of the hardest problems in moving from other languages to Haskell is that many of the solutions that you would immediately default to rely on run-time information or behavior, like the heterogeneous list. Those don't translate well, if at all. Instead, you need to step back and change the problem, by relying more on compile-time, type-level information.