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
package com.kodeworks.clusterfuck.util | |
import language.experimental.macros | |
import language.dynamics | |
import cats.syntax.option._ | |
import io.circe._ | |
import shapeless._ | |
import shapeless.labelled._ | |
import shapeless.ops.hlist.{Intersection, Length, Mapped, Mapper, RemoveAll, Zip, ZipWithKeys} | |
import shapeless.ops.record.{SelectAll, UnzipFields, Values} |
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 shapeless._ | |
import shapeless.ops.hlist.{Intersection, Length, Mapped, Mapper, ToTraversable, Zip, ZipWithKeys} | |
import shapeless.ops.record.{Keys, SelectAll, UnzipFields} | |
object checker { | |
sealed trait CheckedT { | |
val valid: Boolean | |
val messages: List[String] | |
} |