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

6 lines
114 B
Idris

foo : Maybe Int -> Bool -> Int
foo Nothing _ = 42
foo Nothing True = 94
foo (Just x) _ = x
foo Nothing False = 42