The Scala Type Class Chronicles - Part 1
Nov 16, 2024 · 3 min read · Let’s say we’re writing a function to check if two integers are equal. Pretty simple, right? We can just compare them with the == and return true or false. So far, so good. object Equal { println(2 == 3) // prints false } But what if we want to ...
Join discussion
































