Fundef
When used on a function, allows to use put
on the function instead of putFundef.
For example, allows you to go from this:
fun myFundef() {
// ...
}
val env = tegralDi {
putFundef(::myFundef)
}
Content copied to clipboard
... to this...
@Fundef
fun myFundef() {
// ...
}
val env = tegralDi {
put(::myFundef)
}
Content copied to clipboard