Idempotency.

This commit is contained in:
Hemanth.HM 2015-03-28 13:18:11 +05:30
parent 5463c47227
commit 18f85ba9c5

View file

@ -72,6 +72,12 @@ curriedSum(40)(2) // 42.
---
## Idempotency
> A function is said to be idempotent if it has no side-effects on multiple
executions with the the same input parameters.
`f(f(x)) = f(x)`
`Math.abs(Math.abs(10))`
---
@ -145,5 +151,3 @@ referential transparent.
## Chain
---