packages feed

idris-0.9.17: test/reg058/implicits.idr

%default total

InterpBool : () -> Type
InterpBool () = {x : Type} -> x -> Nat

class IdrisBug (u : ()) where
  idrisBug : InterpBool u

instance IdrisBug () where
  idrisBug _ = Z

f : Nat
f = idrisBug {u = ()} 'a'