Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class optics(val targets: Array<OpticsTarget> = emptyArray())

Empty arrays means "Everything that matches annotated class"

Link copied to clipboard
Link copied to clipboard
@RequiresOptIn(message = "Potentially unsafe optic because of a covariant type argument. Getting it always fine, but setting may not respect the type bounds.", level = RequiresOptIn.Level.ERROR)
annotation class PotentiallyUnsafeCovariantOptic