Idris2/tests/idris2/coverage/coverage018/Issue1831_1.idr
2023-09-07 14:57:22 +01:00

15 lines
222 B
Idris

module Issue1831_1
export
fooFromInteger : Num x => Integer -> x
fooFromInteger x = fromInteger (x + x)
%integerLit Issue1831_1.fooFromInteger
test : Nat
test = 5 + 6
test2 : Nat -> Bool
test2 1 = True
test2 _ = False