za.co.absa.commons
Memoized converter
Stackable abstract converter between two arbitrary types
Defines not type constraint.
not
Defines not type constraint. Can be used to declare a generic type that is _not_ a given type. Inspired by https://gist.github.com/milessabin/c9f8befa932d98dcc7a4}
trait VegMenu { def add[A <: Food : not[Meat]#λ](food: A) }
Utility object that defines extended type constraints to be used in Scala type definitions
Defines
not
type constraint. Can be used to declare a generic type that is _not_ a given type.Inspired by https://gist.github.com/milessabin/c9f8befa932d98dcc7a4}