3 ms·
> OCaml seems to be adding type class support Funnily enough, Scala's implicit-based type classes were the inspiration for the coming modular implicits type cl
by saosebastiao 10y ago
> OCaml seems to be adding type class support
Funnily enough, Scala's implicit-based type classes were the inspiration for the coming modular implicits type classes in OCaml (as opposed to the Haskell approach). It wouldn't be the first time that two languages have mutually inspired each other (The Rust and Swift teams have both acknowledged certain design decisions inspired by the counterpart).