|
|
|
|
|
by dbpatterson
4391 days ago
|
|
I think it's a little bit of both. Yes, Haskell code is often quite terse, but the more important thing is that the type system allows abstraction to a much higher degree than in languages with weaker type systems. Abstraction always takes skill, but in Haskell usually once you come up with the abstractions, the type system allows you to (pretty easily and) safely use them. |
|
https://github.com/gregorulm/h2048/blob/master/h2048.hs