doobie

io.github.iltotore.iron.doobie
object doobie

Implicit Metas, Puts and Gets for refined types.

Attributes

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

Members list

Givens

Givens

inline given given_Get_:|[A, C](using inline get: Get[A])(using Constraint[A, C], Show[A]): Get[IronType[A, C]]

A Get instance for refined types. Retrieve values using base type's Get then check the constraint on the retrieved unrefined values.

A Get instance for refined types. Retrieve values using base type's Get then check the constraint on the retrieved unrefined values.

Type parameters

A

the base type

C

the constraint type

Value parameters

get

the base type's value getter

Attributes

Source
doobie.scala
inline given given_Get_T[T](using m: Mirror[T], ev: Get[IronType]): Get[T]

A Get instance for new types.

A Get instance for new types.

Type parameters

T

the new type

Value parameters

ev

the value getter of the underlying type

m

the meta information of the refined new type

Attributes

Source
doobie.scala
inline given given_Meta_:|[A, C](using inline meta: Meta[A])(using Constraint[A, C], Show[A]): Meta[IronType[A, C]]

A Meta instance for refined types. Retrieve values using base type's Meta then check the constraint on the retrieved unrefined values.

A Meta instance for refined types. Retrieve values using base type's Meta then check the constraint on the retrieved unrefined values.

Type parameters

A

the base type

C

the constraint type

Value parameters

meta

the base type's value getter/setter

Attributes

Source
doobie.scala
inline given given_Meta_T[T](using m: Mirror[T], ev: Meta[IronType]): Meta[T]

A Meta instance for new types.

A Meta instance for new types.

Type parameters

T

the new type

Value parameters

ev

the value getter/setter of the underlying type

m

the meta information of the refined new type

Attributes

Source
doobie.scala
inline given given_Put_:|[A, C](using inline put: Put[A])(using Constraint[A, C], Show[A]): Put[IronType[A, C]]

A Put instance for refined types. Retrieve values using base type's Put then check the constraint on the retrieved unrefined values.

A Put instance for refined types. Retrieve values using base type's Put then check the constraint on the retrieved unrefined values.

Type parameters

A

the base type

C

the constraint type

Value parameters

put

the base type's value setter

Attributes

Source
doobie.scala
inline given given_Put_T[T](using m: Mirror[T], ev: Put[IronType]): Put[T]

A Put instance for new types.

A Put instance for new types.

Type parameters

T

the new type

Value parameters

ev

the value setter of the underlying type

m

the meta information of the refined new type

Attributes

Source
doobie.scala