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

November 2025

S M T W T F S
       1
23456 7 8
9 1011 12 1314 15
16171819202122
23242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 18th, 2025 03:57 am
Powered by Dreamwidth Studios