Idris2/tests/idris2/docs004/DocImpl.idr

9 lines
98 B
Idris

interface Happy t where
happy : t
Happy Nat where
happy = Z
Happy Bool where
happy = True