Nice one. To learn macros, 2 years before I created a safe-string-interpolation project. Probably I will copy your code to create scala3 compatible version! :)
@Swoogles
3 жыл бұрын
"oh here's a typo" *Makes typo worse* :)
@yan9za1
3 жыл бұрын
@19:22 it typechecks and compiles probably because `asInstanceOf` is an unsafe cast.
@JanusTroelsen
3 жыл бұрын
Why is the tuple size not naming its size? If it is dynamically sized, what is the point of using it instead of a List? I don't know Scala, I read this as a Haskeller.
@yan9za1
3 жыл бұрын
`Tuple2[A, B]`, `Tuple3[A, B, C]` ... `TupleN[...]` are statically sized types. `Tuple` is just the abstract supertype of all of them. In the case of `T
Пікірлер: 8