Re:OCamlers' critiques of Haskell
by AnimalMuppet on Thursday August 27, 2015 @12:19PM
(#10130317)
Then, from the better understanding of structures, does CT help you design better types for your program? Or better algorithms?
The epiphany I had from this is that, while linear algebra's utility comes in the form of designing efficient algorithms, CT's utility (in Haskell) comes in the form of understanding structures. It's similar to thinking of modular arithmetic in terms of remainders vs. quotient groups. I get lost doing anything complex with the former way of thinking, but when I switch to thinking in terms of basic abstract algebra suddenly the foliage clears and the way ahead is clear.