Janek BoguckiScala unzip is not just for List[Tuple2]Often zip is used to split apart a list of tuples,Apr 29, 2020Apr 29, 2020
Janek BoguckiConcise Scala Idiom for Optional Capture Groupsprivate val SuffixRegex = “^.+ — ([0–9]{10})$”.rJun 11, 2018Jun 11, 2018
Janek BoguckiEncoding zero to one quadrillion in the Scala type systemIn Typelevel Programming 101: The Subspace of Scala Joe Barnes steps through an encoding of the natural numbers in the Scala type system…May 15, 20171May 15, 20171