mirror of https://github.com/DanilaFe/abacus
12 lines
378 B
Kotlin
12 lines
378 B
Kotlin
package org.nwapw.abacus.function.interfaces
|
|
|
|
import org.nwapw.abacus.function.Applicable
|
|
import org.nwapw.abacus.number.NumberInterface
|
|
|
|
/**
|
|
* A function that operates on numbers.
|
|
*
|
|
* This function takes some number of input NumberInterfaces and returns
|
|
* another NumberInterface as a result.
|
|
*/
|
|
abstract class NumberFunction : Applicable<NumberInterface, NumberInterface> |