November 2017
Intermediate to advanced
670 pages
17h 35m
English
Haskell's rich type features (type classes, parameterized algebraic data types, recursive data types, and so on) allow us to implement polymorphism on a much higher level than is currently possible in Go.
It is possible to implement polymorphic behavior in Go. However, due to language limitations (the lack of generics), it requires additional code to specify each type that implements the desired behaviors.