This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import scala.annotation.nowarn | |
| import scala.deriving.Mirror | |
| trait TC[A] { | |
| def show(a: A): Unit | |
| } | |
| @nowarn | |
| inline def gen[A](using m: Mirror.SumOf[A]): TC[A] = { | |
| val subTypes = compiletime.summonAll[Tuple.Map[m.MirroredElemTypes, TC]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.esotericsoftware.kryo.io.{Input, Output} | |
| import com.twitter.chill.{KSerializer, Kryo} | |
| import scala.runtime.LazyVals | |
| import scala.runtime.LazyVals.LazyValControlState | |
| class LazyValControlStateSerializer extends KSerializer[LazyValControlState] { | |
| override def read(kryo: Kryo, input: Input, cls: Class[LazyValControlState]): LazyValControlState = { | |
| kryo.readClassAndObject(input).asInstanceOf[LazyValControlState] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Wed, 12 Nov 2025 08:16:13 GMT Downloading https://jitpack.io/org/scala-lang/scala3-library_3/ | |
| Wed, 12 Nov 2025 08:16:13 GMT Failed to download https://jitpack.io/org/scala-lang/scala3-library_3/ | |
| Wed, 12 Nov 2025 08:16:13 GMT Downloading https://jitpack.io/org/scala-lang/scala3-library_3/maven-metadata.xml | |
| Wed, 12 Nov 2025 08:16:13 GMT Checking https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/ | |
| Wed, 12 Nov 2025 08:16:13 GMT Failed to check https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/ | |
| Wed, 12 Nov 2025 08:16:13 GMT Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/ | |
| Wed, 12 Nov 2025 08:16:13 GMT Failed to download https://jitpack.io/org/scala-lang/scala3-library_3/maven-metadata.xml | |
| Wed, 12 Nov 2025 08:16:13 GMT Downloading https://jitpack.io/org/scala-lang/scala3-library_3/maven-metadata.xml.sha1 | |
| Wed, 12 Nov 2025 08:16:13 GMT Failed to download https://jitpack.io/org/scala-lang/scala3-library_3/maven-metadata.xml.sha1 | |
| Wed, 12 Nov 2025 08:16:13 GMT Download |
OlderNewer