2020-05-21 19:22:30 +03:00
|
|
|
1/1: Building partial (partial.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: foo is not covering.
|
|
|
|
|
2020-08-05 02:00:40 +03:00
|
|
|
partial.idr:5:1--7:4
|
2020-07-22 22:16:43 +03:00
|
|
|
5 | total
|
|
|
|
6 | foo : Maybe a -> a
|
2020-08-05 02:00:40 +03:00
|
|
|
7 | foo (Just x) = x
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2020-06-11 23:46:36 +03:00
|
|
|
Missing cases:
|
2020-07-22 22:16:43 +03:00
|
|
|
foo Nothing
|
2020-08-12 01:27:52 +03:00
|
|
|
|
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
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2020-08-05 02:00:40 +03:00
|
|
|
partial.idr:13:1--15:9
|
2020-07-22 22:16:43 +03:00
|
|
|
13 | total
|
|
|
|
14 | qsortBad : Ord a => List a -> List a
|
2020-08-05 02:00:40 +03:00
|
|
|
15 | qsortBad [] = []
|
2020-07-28 15:11:42 +03:00
|
|
|
|