IdrisDoc: Interfaces.Proposition

Interfaces.Proposition

interface Proposition 

A canonical proof that some type containing no more than one value,
comprising a mere proposition.

atMostOneValue : Proposition t => (x : t) -> (y : t) -> x = y

If there are two values of t, prove that they are actually the same