Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

D has pure functions:

https://dlang.org/spec/function.html#pure-functions

D's pure functions are quite strict. It can be a challenge to write a function that passes strict purity guarantees - but the result is worth it!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: