ReversibleFunction

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

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

Constructors

Link copied to clipboard
constructor(label: String)

Properties

Link copied to clipboard

Functions

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