skunk
io.github.iltotore.iron.skunk
object skunk
Attributes
- Source
- skunk.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
skunk.type
Members list
Givens
Givens
given given_Codec_:|[A, C](using codec: Codec[A], constraint: RuntimeConstraint[A, C]): Codec[IronType[A, C]]
A Codec for refined types. Decodes to the underlying type then checks the constraint.
A Codec for refined types. Decodes to the underlying type then checks the constraint.
Value parameters
- codec
-
the Codec of the underlying type
- constraint
-
the Constraint implementation to test the decoded value
Attributes
- Source
- skunk.scala
A Codec for new types.
Extensions
Extensions
extension [A](codec: Codec[A])
Explicit conversion for refining a Codec. Decodes to the underlying type then checks the constraint.
Explicit conversion for refining a Codec. Decodes to the underlying type then checks the constraint.
Value parameters
- constraint
-
the Constraint implementation to test the decoded value
Attributes
- Source
- skunk.scala
In this article