https://stackoverflow.com/questions/4077970/can-haskell-func...
AIUI, similar work is being made to Rust to make it have similar provable properties.