News for hackers. Stuff that matters.
Re:Copying objects in JavaScript by zachrose on Tuesday November 13, 2018 @01:18PM (#18443286)
It would be cool if there was a webpage for “Is your function ______?” with a list of things that functions can be:

- Roundtrip-able (reversible?)

- Pure

- Effectful

- Mutation-doing

- Idempotent/Nullipotent

- Algebraically closed over the set of its inputs

- Et c.

Every time I hear about a new one I wish I had such a list

Re:Copying objects in JavaScript by phiresky on Tuesday November 13, 2018 @01:47PM (#18443591)
> - Roundtrip-able (reversible?)

You mean injective

Re:Copying objects in JavaScript by kccqzy on Tuesday November 13, 2018 @04:17PM (#18444988)
> Roundtrip-able (reversible?)

Involution, if you mean calling a function twice will give the original input.