Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

EqOrd.idr
module Control.EqOrd

--Eq and Ord compatibility
public export
interface Ord ty => EqOrd ty where
    eqord : (x, y : ty) -> (x == y) = (compare x y == EQ)

export
EqOrd Nat where
    eqord 0 0 = Refl
    eqord 0 (S _) = Refl
    eqord (S _) 0 = Refl
    eqord (S i) (S j) = eqord i j