Fundef

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class 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)
}

... to this...

@Fundef
fun myFundef() {
// ...
}

val env = tegralDi {
put(::myFundef)
}