ReversibleFunction

abstract class ReversibleFunction<Input, Output>(label: String)

Defines a reversible function, for use by KVar.map.

Constructors

ReversibleFunction
Link copied to clipboard
fun ReversibleFunction(label: String)

Functions

invoke
Link copied to clipboard
abstract operator fun invoke(from: Input): Output
reverse
Link copied to clipboard
abstract fun reverse(original: Input, change: Output): Input

Properties

label
Link copied to clipboard
val label: String