open import Paths
open data Unit | unit

def unit-eta (u : Unit) : unit = u
| unitidp

def isContrUnit : isContr Unit ⇒ (unit, unit-eta)