intersection

io.github.iltotore.iron.macros.intersection
object intersection

Internal macros for intersection types

Attributes

Source
intersection.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final class IsIntersection[A]

Typeclass only implemented by intersection types. Used as evidence in implicit methods.

Typeclass only implemented by intersection types. Used as evidence in implicit methods.

Type parameters

A

the underlying intersection type.

Attributes

Companion
object
Source
intersection.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
intersection.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

transparent inline def intersectionCond[A, C](value: A): Boolean

Attributes

Source
intersection.scala
inline def intersectionMessage[A, C]: String

Constraint message for intersection type.

Constraint message for intersection type.

Type parameters

A

the input type (like in Constraint[A, C]).

C

the constraint type (like in Constraint[A, C]). Should be an intersection.

Attributes

Returns

the generated message for this constraint intersection.

Source
intersection.scala

Concrete fields