Idris2/tests/idris2/total013/Issue1404.idr
Balazs Komuves c3ec522077
[ fix #1404 ] Totality annotation for data type definitions (#2179)
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: stefan-hoeck <hock@zhaw.ch>
2021-12-08 16:08:26 +00:00

5 lines
59 B
Idris

total
data Foo : Type where
MkFoo : (Foo -> Foo) -> Foo