← 返回事件
持续讨论科技

Typeclasses vs Modules

图:Lobsters

发生了什么

For a long time I’ve noticed that there’s a lot of persistent confusion about the differences and similarities between module systems (as seen in languages like OCaml) and typeclasses (as seen in languages like Haskell or Rust). This is an attempt to clear up the confusion.

摘要按规则整理自下方来源原文

为什么在扩散

来源

社区讨论