Apr. 6th, 2021

juan_gandhi: (Default)
Had a discussion yesterday. Basically, about this equality:

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.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
171819 20212223
2425 26272829 30
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 31st, 2025 06:57 pm
Powered by Dreamwidth Studios