Idris2/tests/idris2/interface029/ForwardImpl3.idr
Steve Dunham 03d6c5f637
[ new ] Handle forward declarations of implementations (#2668)
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2022-09-20 21:08:50 +01:00

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