Idris2/tests/idris2/total007/expected

19 lines
404 B
Plaintext
Raw Normal View History

2020-05-21 19:22:30 +03:00
1/1: Building partial (partial.idr)
Error: foo is not covering.
partial.idr:5:1--7:4
2020-07-22 22:16:43 +03:00
5 | total
6 | foo : Maybe a -> a
7 | foo (Just x) = x
2020-06-11 23:46:36 +03:00
Missing cases:
2020-07-22 22:16:43 +03:00
foo Nothing
2020-08-16 14:20:12 +03:00
Error: qsortBad is not total, possibly not terminating due to recursive path Main.qsortBad -> Main.qsortBad -> Main.qsortBad
partial.idr:13:1--15:9
2020-07-22 22:16:43 +03:00
13 | total
14 | qsortBad : Ord a => List a -> List a
15 | qsortBad [] = []