3 ms·
For someone who knows neither particularly well but is intrigued by the parallels, how closely does this map to Haskell's type classes? To the uninitiated it al
by regularfry 16y ago
For someone who knows neither particularly well but is intrigued by the parallels, how closely does this map to Haskell's type classes? To the uninitiated it almost looks like a direct reimplementation.
- zaph0d 16y agoI asked Rich Hickey, and this is what he had to say - "they differ from Haskell's type classes (from which they draw partial inspiration) in that the dispatch map isn't an independent entity passed around by the type system, and thus can't do return-type based method selection, and generally in that they are not static-type-system-based."