mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-14 13:56:13 +03:00
19 lines
404 B
Plaintext
19 lines
404 B
Plaintext
1/1: Building partial (partial.idr)
|
|
Error: foo is not covering.
|
|
|
|
partial.idr:5:1--7:4
|
|
5 | total
|
|
6 | foo : Maybe a -> a
|
|
7 | foo (Just x) = x
|
|
|
|
Missing cases:
|
|
foo Nothing
|
|
|
|
Error: qsortBad is not total, possibly not terminating due to recursive path Main.qsortBad -> Main.qsortBad -> Main.qsortBad
|
|
|
|
partial.idr:13:1--15:9
|
|
13 | total
|
|
14 | qsortBad : Ord a => List a -> List a
|
|
15 | qsortBad [] = []
|
|
|