Idris2/tests/idris2/interface/interface029/ForwardImpl3.idr

10 lines
141 B
Idris
Raw Normal View History

interface IsOdd b where
isOdd : b -> Bool
implementation IsOdd Bool where
isOdd b = b
implementation IsOdd Bool where
isOdd b = b