flix

0.61.0

Discrete

trait Discrete[t: Type] with Order[t]Source

Instances

instance Discrete[Int32]Source

Signatures

def prev(x: t): t with Discrete[t] Source

Returns the predecessor of the given x.

def succ(x: t): t with Discrete[t] Source

Returns the successor of the given x.