Is there a way I can guarantee a function being/st...
# getting-started
u
Is there a way I can guarantee a function being/staying pure?
e
hypothetically, user-defined
constexpr
functions would necessarily be pure. but that feature doesn't exist yet https://youtrack.jetbrains.com/projects/KT/issues/KT-14652
I found a compiler plugin https://github.com/yairm210/Purity which seems to try to analyze for purity
u
oo nice