regarding Scala types
Apr. 6th, 2021 07:05 pmHad a discussion yesterday. Basically, about this equality:
No surprise, just making sure that it behaves as expected. Two projections are equal.
scala> "abc": Iterable[Char] val res0: Iterable[Char] = abc scala> List('a', 'b', 'c'): Iterable[Char] val res1: Iterable[Char] = List(a, b, c) scala> res0 == res1 val res2: Boolean = true
No surprise, just making sure that it behaves as expected. Two projections are equal.