Hacker News new | past | comments | ask | show | jobs | submit login

The contrast to imperative programming is not FP, but rather declarative programming. The idea of referential transparency comes from DP, not FP.

Example: Prolog, a declarative language with many of the qualities of FP, yet not FP.




Prolog is not really declarative except for the pure core, though. Cuts, assert, retract, etc. break its referential transparency.




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

Search: