negation

public Box<R> negation(Box<R> x)

Negation function that s.t. De Morgan laws, double negation and inversion of the idempotent elements hold.

Return

the negation of the x element

Parameters

x

element to negate