packages feed

idris-0.10: test/reg058/implicits.idr

%default total

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

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

implementation IdrisBug () where
  idrisBug _ = Z

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