SYB `cast` function in Scala
I am reading the Scrap Your Boilerplate paper and trying to follow along by implementing the ideas in scala as best I can. However, I’m stuck on the very first function, the cast, which is used to take a value and attempt to cast it to another type in an Option, obviously a Some if… Read More SYB `cast` function in Scala