mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 13:11:30 +03:00
03d6c5f637
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
10 lines
141 B
Idris
10 lines
141 B
Idris
interface IsOdd b where
|
|
isOdd : b -> Bool
|
|
|
|
implementation IsOdd Bool where
|
|
isOdd b = b
|
|
|
|
implementation IsOdd Bool where
|
|
isOdd b = b
|
|
|