Can we get pure fn which would be a way to indicate a function has no side-effects/can only call other pure fns?
It'd prohibit mutation of statics, pointers and references, and heap allocations. Traits would be able to demand pure fns, which would be useful for getters.
Can we get
pure fnwhich would be a way to indicate a function has no side-effects/can only call otherpure fns?It'd prohibit mutation of statics, pointers and references, and heap allocations. Traits would be able to demand
pure fns, which would be useful for getters.