Idris2/tests/idris2/total/total021/Issue-3030b.idr
2023-09-07 20:26:18 -07:00

19 lines
228 B
Idris

data Oops = MkOops (Not Oops)
total
runOops : Oops -> Not Oops
runOops (MkOops nf) = nf
total
notOops : Not Oops
notOops x = runOops x x
covering
oops : Oops
oops = MkOops notOops
total
boom : Void
boom = runOops oops oops