shapeless-guide
shapeless-guide copied to clipboard
The Type Astronaut's Guide to Shapeless
This line just blows up the compiler in scala 2.12.x. In https://github.com/underscoreio/shapeless-guide/blob/master/src/pages/labelled-generic/literal-types.md . Issue here: https://github.com/milessabin/shapeless/issues/674 . Perhaps just a note not to try it with scala 2.12.x?
fix compilation
I got erros on build everything(pdf, html, epub). I tried to fix and make same with package.json of advenced-scala and it did work. I dont know how pandoc works and...
The function import shapeless.LabelledGeneric implicit def genericObjectEncoder[A, H
dist/pdf went missing in https://github.com/underscoreio/shapeless-guide/commit/503b8bfc83652eec348c0d18ad10ac6bf51ac49d was that intentional?
Near the end of section 2.4 there is the following example: ```{scala} sealed trait Shape final case class Rectangle(width: Double, height: Double) extends Shape final case class Circle(radius: Double) extends...
Reported by @d6y: Box on "Literal types in Scala", p. 56 There's a flag to enable this stuff, right? Worth saying that? As of Lightbend Scala....., with the -wibble flag...
As far as I recall, there was a relatively recent SIP that improved the implicit resolution process, making the usage of `Lazy` redundant in at least some cases (quick research...
After adding following code to example(cvs.scala, object Main) I've got java.lang.StackOverflowError ```scala sealed trait Tree[A] case class Branch[A](left: Tree[A], right: Tree[A]) extends Tree[A] case class Leaf[A](value: A) extends Tree[A] val...