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

Yes, Fortran has `pure` and `impure` attributes for functions/subroutines (with and without side-effects). ``` pure recursive function factorial(n) integer, intent(in) :: n ... end ```


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

Search: