All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.uniform.interpreter-logictable_sjs1_2.13.5.0.0-RC6.source-code.package.scala Maven / Gradle / Ivy

The newest version!
package ltbs.uniform
package interpreters

import cats.data._

package object logictable {
  type Logic[A] = EitherT[WriterT[List, List[String], ?],ErrorTree,A]

  implicit val unitTell = new TellRenderer[Unit] {
    def apply(key: String, value: Unit): List[String] =
      Nil
  }

  implicit val unitSample = new SampleData[Unit] {
    def apply(key: String): List[Unit] = List(())
  }

  implicit def automaticTell[A] = new TellRenderer[A] {
    def apply(key: String, value: A): List[String] =
      List(value.toString)
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy