libretto.lambda.util

Members list

Type members

Classlikes

trait Applicative[F[_]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
object Applicative

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait BiInjective[F[_, _]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BiInjective

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait ClampEq[F[_]]

Equality test where value equality of a: F[A], b: F[B] implies type equality A =:= B. I.e., value equality "clamps" A and B together.

Equality test where value equality of a: F[A], b: F[B] implies type equality A =:= B. I.e., value equality "clamps" A and B together.

Corollary: a value a: F[A] cannot also be assigned a type F[B] where B != A: testEqual(a: F[A], a: F[B]) results in Some[A =:= B].

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait Exists[F[_]] extends ExistsCo[F]

Attributes

Companion
object
Supertypes
trait ExistsCo[F]
class Object
trait Matchable
class Any
Known subtypes
class Some[F, A]
object Exists

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Exists.type
sealed trait ExistsCo[+F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Exists[F]
class Some[F, A]
sealed trait ExistsK[F[_[_]]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Some[F, A]
object ExistsK

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ExistsK.type
trait Functional[F[_, _]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SemigroupalObjectMap[|*|, <*>, F]
trait MonoidalObjectMap[F, |*|, One, <*>, Unit]
trait Injective[F[_]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object id
object Injective

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Injective.type
sealed trait Masked[+F[_], A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Masked

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Masked.type
trait Monad[F[_]]

Witnesses that F is a monad in the category of Scala functions.

Witnesses that F is a monad in the category of Scala functions.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object monadId
object Monad

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Monad.type
opaque case class NonEmptyList[+A](head: A, tail: List[A])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object NonEmptyList

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SourcePos(path: String, filename: String, line: Int)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SourcePos

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SourcePos.type
class StaticValue[T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object StaticValue

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait TypeEq[A, B]

Type equality that, unlike Scala's =:=, can be pattern matched on.

Type equality that, unlike Scala's =:=, can be pattern matched on.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Refl[T]
object TypeEq

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TypeEq.type
sealed trait TypeEqK[F[_], G[_]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Refl[F]
object TypeEqK

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TypeEqK.type
enum Validated[+E, A]

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Validated

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Validated.type
object unapply

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
unapply.type