I wrote a better* generic derivation macro for Scala because I needed one and @milessabin said it was impossible!
http://magnolia.work
-
-
-
Replying to @milessabin
Deriving implicits recursively without the need for `Lazy`, or similar...
1 reply 0 retweets 1 like -
Replying to @propensive
Oh, I see. There is an "or similar" in your code ;-) FWIW what you have looks similar to
@larsr_h's original TypeClass type class.2 replies 0 retweets 0 likes -
Replying to @milessabin @larsr_h
Oh, but the "or similar" (!) is only in my code, not users' code (in the form of Lazy)… I'll revisit
@larsr_h's Typeclass² for inspiration!2 replies 0 retweets 0 likes -
Replying to @propensive @larsr_h
Shapeless's Lazy lets users control how recursive knots are tied. TypeClass and your lib can only tie the knot in a limited number of ways.
2 replies 0 retweets 1 like -
By name implicit arguments (coming soon to Typelevel Scala) _will_ be a replacement for Lazy.
1 reply 4 retweets 7 likes -
byname implicits? That have any hope of making mainline?
2 replies 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.