@@ -4,28 +4,33 @@ reg003a.idr:4:13-38:
4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
5When checking type of Main.ECons:
5When checking type of Main.ECons:
6No such variable OddList
6No such variable OddList
7reg003a.idr:7:13-38:
8reg003a.idr:7:13-38:
97 | OCons : Nat -> EvenList -> OddList
107 | OCons : Nat -> EvenList -> OddList
10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
11 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
11When checking type of Main.OCons:
12When checking type of Main.OCons:
12No such variable EvenList
13No such variable EvenList
13reg003a.idr:9:6:
15reg003a.idr:9:6:
159 | test : EvenList
179 | test : EvenList
17When checking type of Main.test:
19When checking type of Main.test:
18No such variable EvenList
20No such variable EvenList
19reg006.idr:17:1-23:
22reg006.idr:17:1-23:
2117 | lookup k Leaf = Nothing
2417 | lookup k Leaf = Nothing
22 | ~~~~~~~~~~~~~~~~~~~~~~~
25 | ~~~~~~~~~~~~~~~~~~~~~~~
23RBTree.lookup is possibly not total due to recursive path RBTree.lookup --> RBTree.lookup
26RBTree.lookup is possibly not total due to recursive path RBTree.lookup --> RBTree.lookup
24reg007.lidr:8:3-13:
28reg007.lidr:8:3-13:
268 | > A.n = Z -- This is where it's at!
308 | > A.n = Z -- This is where it's at!
27 | ~~~~~~~~~~~
31 | ~~~~~~~~~~~
28A.n is already defined
32A.n is already defined
29reg007.lidr:12:13-18:
34reg007.lidr:12:13-18:
3112 | > hurrah = isSame
3612 | > hurrah = isSame
@@ -43,42 +48,50 @@ Specifically:
46reg010.idr:5:3-26:
52reg010.idr:5:3-26:
485 | unsafeSubst P x x px | _ = px
545 | unsafeSubst P x x px | _ = px
49 | ~~~~~~~~~~~~~~~~~~~~~~~~
55 | ~~~~~~~~~~~~~~~~~~~~~~~~
50When checking left hand side of with block in usubst.unsafeSubst:
56When checking left hand side of with block in usubst.unsafeSubst:
51Can't match on with block in usubst.unsafeSubst warg a P x x px
57Can't match on with block in usubst.unsafeSubst warg a P x x px
52reg018a.idr:16:1-18:
59reg018a.idr:16:1-18:
5416 | minusCoNat Z n = Z
6116 | minusCoNat Z n = Z
55 | ~~~~~~~~~~~~~~~~~~
62 | ~~~~~~~~~~~~~~~~~~
56conat.minusCoNat is possibly not total due to recursive path conat.minusCoNat --> conat.minusCoNat
63conat.minusCoNat is possibly not total due to recursive path conat.minusCoNat --> conat.minusCoNat
57reg018a.idr:21:1-42:
65reg018a.idr:21:1-42:
5921 | loopForever = minusCoNat infinity infinity
6721 | loopForever = minusCoNat infinity infinity
60 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61conat.loopForever is possibly not total due to: conat.minusCoNat
69conat.loopForever is possibly not total due to: conat.minusCoNat
62reg018b.idr:8:1-28:
71reg018b.idr:8:1-28:
648 | showB (I x) = "I" ++ showB x
738 | showB (I x) = "I" ++ showB x
65 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66A.showB is possibly not total due to recursive path A.showB --> A.showB
75A.showB is possibly not total due to recursive path A.showB --> A.showB
67reg018b.idr:11:1-6:
77reg018b.idr:11:1-6:
6911 | Show B where show = showB
7911 | Show B where show = showB
71A.B implementation of Prelude.Show.Show is possibly not total due to: A.showB
81A.B implementation of Prelude.Show.Show is possibly not total due to: A.showB
72reg018c.idr:21:1-22:21:
83reg018c.idr:21:1-22:21:
7421 | inf (x :: xs) with (hdtl xs)
8521 | inf (x :: xs) with (hdtl xs)
75 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
86 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
76CodataTest.inf is possibly not total due to: with block in CodataTest.inf
87CodataTest.inf is possibly not total due to: with block in CodataTest.inf
77reg018d.idr:8:1-39:
89reg018d.idr:8:1-39:
798 | pull {n=Z} _ (x :: xs) = (x, xs)
918 | pull {n=Z} _ (x :: xs) = (x, xs)
80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81Main.pull is not total as there are missing cases
93Main.pull is not total as there are missing cases
82reg023.idr:7:5-7:
95reg023.idr:7:5-7:
847 | bad = Z
977 | bad = Z
@@ -90,43 +103,51 @@ Type mismatch between
90 Nat (Type of 0)
103 Nat (Type of 0)
92 f Nat (Expected type)
105 f Nat (Expected type)
93reg028.idr:5:1-9:
107reg028.idr:5:1-9:
955 | bad Z = Z
1095 | bad Z = Z
96 | ~~~~~~~~~
110 | ~~~~~~~~~
97tbad.bad is possibly not total due to: with block in tbad.bad
111tbad.bad is possibly not total due to: with block in tbad.bad
98reg028a.idr:17:14-18:
113reg028a.idr:17:14-18:
10017 | qsortLemma = proof
11517 | qsortLemma = proof
102This style of tactic proof is deprecated. See %runElab for the replacement.
117This style of tactic proof is deprecated. See %runElab for the replacement.
103reg028a.idr:11:1-14:
119reg028a.idr:11:1-14:
10511 | qsort' [] = []
12111 | qsort' [] = []
106 | ~~~~~~~~~~~~~~
122 | ~~~~~~~~~~~~~~
107tbad.qsort' is possibly not total due to: with block in tbad.qsort'
123tbad.qsort' is possibly not total due to: with block in tbad.qsort'
108reg034.idr:6:1-14:
125reg034.idr:6:1-14:
1106 | bar xs xs Refl = Refl
1276 | bar xs xs Refl = Refl
111 | ~~~~~~~~~~~~~~
128 | ~~~~~~~~~~~~~~
112When checking left hand side of bar:
129When checking left hand side of bar:
113Can't match on bar xs xs Refl
130Can't match on bar xs xs Refl
114reg034.idr:9:1-14:
132reg034.idr:9:1-14:
1169 | foo f x x Refl = Refl
1349 | foo f x x Refl = Refl
117 | ~~~~~~~~~~~~~~
135 | ~~~~~~~~~~~~~~
118When checking left hand side of foo:
136When checking left hand side of foo:
119Can't match on foo f x x Refl
137Can't match on foo f x x Refl
120reg035b.idr:8:12-38:
139reg035b.idr:8:12-38:
1228 | fins Z = ([] ** (finZEmpty {a=_}))
1418 | fins Z = ([] ** (finZEmpty {a=_}))
123 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
124No such variable __pi_arg
143No such variable __pi_arg
125reg044.idr:4:6-10:
145reg044.idr:4:6-10:
1274 | pf = proof
1474 | pf = proof
129This style of tactic proof is deprecated. See %runElab for the replacement.
149This style of tactic proof is deprecated. See %runElab for the replacement.
130reg044.idr:4:4-6:13:
151reg044.idr:4:4-6:13:
1324 | pf = proof
1534 | pf = proof
@@ -144,12 +165,14 @@ Specifically:
147reg049.idr:2:11-14:
169reg049.idr:2:11-14:
1492 | Bogus : Void
1712 | Bogus : Void
151When checking constructor Main.Bogus:
173When checking constructor Main.Bogus:
152Void is not Main.Foo
174Void is not Main.Foo
153reg049.idr:5:6-12:
176reg049.idr:5:6-12:
1555 | uhOh = Bogus
1785 | uhOh = Bogus
@@ -158,6 +181,7 @@ When checking right hand side of uhOh with expected type
160No such variable Bogus
183No such variable Bogus
161./badbangop.idr:7:1:
185./badbangop.idr:7:1:
1637 | (!) : List a -> Nat -> Maybe a
1877 | (!) : List a -> Nat -> Maybe a
@@ -177,18 +201,21 @@ reg054.idr:18:1-17:
177When checking left hand side of inf:
201When checking left hand side of inf:
178When checking an application of constructor Main.MkInfer:
202When checking an application of constructor Main.MkInfer:
179 Attempting concrete match on polymorphic argument: 0
203 Attempting concrete match on polymorphic argument: 0
180reg054.idr:34:1-18:
205reg054.idr:34:1-18:
18234 | weird {x = Char} y = '5'
20734 | weird {x = Char} y = '5'
183 | ~~~~~~~~~~~~~~~~~~
208 | ~~~~~~~~~~~~~~~~~~
184When checking left hand side of weird:
209When checking left hand side of weird:
185No explicit types on left hand side: Char
210No explicit types on left hand side: Char
186reg054.idr:37:1-30:
212reg054.idr:37:1-30:
18837 | weird' {x = Prelude.Nat.Nat} y = Z
21437 | weird' {x = Prelude.Nat.Nat} y = Z
189 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
190When checking left hand side of weird':
216When checking left hand side of weird':
191No explicit types on left hand side: Nat
217No explicit types on left hand side: Nat
192reg054.idr:40:1-7:
219reg054.idr:40:1-7:
19440 | tctrick (Just x) = x
22140 | tctrick (Just x) = x
@@ -199,18 +226,21 @@ When checking an application of Main.tctrick:
199 Maybe a1 (Type of Just x)
226 Maybe a1 (Type of Just x)
201 a (Expected type)
228 a (Expected type)
202reg055.idr:5:1-7:
230reg055.idr:5:1-7:
2045 | g (f Z) = 1
2325 | g (f Z) = 1
205 | ~~~~~~~
233 | ~~~~~~~
206When checking left hand side of g:
234When checking left hand side of g:
207Can't match on g (f 0)
235Can't match on g (f 0)
208reg055.idr:8:1-5:
237reg055.idr:8:1-5:
2108 | h x x = x
2398 | h x x = x
212When checking left hand side of h:
241When checking left hand side of h:
213Can't match on h x x
242Can't match on h x x
214reg055a.idr:8:1-18:
244reg055a.idr:8:1-18:
2168 | foo (CAny Nothing) = 42
2468 | foo (CAny Nothing) = 42
@@ -218,56 +248,66 @@ reg055a.idr:8:1-18:
218When checking left hand side of foo:
248When checking left hand side of foo:
219When checking an application of constructor Foo.CAny:
249When checking an application of constructor Foo.CAny:
220 Attempting concrete match on polymorphic argument: Nothing
250 Attempting concrete match on polymorphic argument: Nothing
221reg055a.idr:13:1-23:
252reg055a.idr:13:1-23:
22313 | apply (\x => \y => x) a = a
25413 | apply (\x => \y => x) a = a
224 | ~~~~~~~~~~~~~~~~~~~~~~~
255 | ~~~~~~~~~~~~~~~~~~~~~~~
225When checking left hand side of Foo.apply:
256When checking left hand side of Foo.apply:
226Can't match on apply (\x, y => x) a
257Can't match on apply (\x, y => x) a
227reg056.idr:7:16-25:
259reg056.idr:7:16-25:
2297 | dodgy n m Refl impossible
2617 | dodgy n m Refl impossible
230 | ~~~~~~~~~~
262 | ~~~~~~~~~~
231dodgy n m Refl is a valid case
263dodgy n m Refl is a valid case
232reg056.idr:10:11-20:
265reg056.idr:10:11-20:
23410 | nonk Refl impossible
26710 | nonk Refl impossible
235 | ~~~~~~~~~~
268 | ~~~~~~~~~~
236nonk Refl is a valid case
269nonk Refl is a valid case
237reg068.idr:1:6-8:
271reg068.idr:1:6-8:
2391 | data nat : Type where --error
2731 | data nat : Type where --error
241Main.nat has a name which may be implicitly bound.
275Main.nat has a name which may be implicitly bound.
242This is likely to lead to problems!
276This is likely to lead to problems!
243reg068.idr:2:8-10:
278reg068.idr:2:8-10:
2452 | ze : nat --hello.idr:10:6:When checking constructor Main.ze: !!V 0!! is not Main.nat
2802 | ze : nat --hello.idr:10:6:When checking constructor Main.ze: !!V 0!! is not Main.nat
247Main.ze has a name which may be implicitly bound.
282Main.ze has a name which may be implicitly bound.
248This is likely to lead to problems!
283This is likely to lead to problems!
249reg068.idr:2:8-10:
285reg068.idr:2:8-10:
2512 | ze : nat --hello.idr:10:6:When checking constructor Main.ze: !!V 0!! is not Main.nat
2872 | ze : nat --hello.idr:10:6:When checking constructor Main.ze: !!V 0!! is not Main.nat
253nat is bound as an implicit
289nat is bound as an implicit
254 Did you mean to refer to Main.nat?
290 Did you mean to refer to Main.nat?
255reg068.idr:2:8-10:
292reg068.idr:2:8-10:
2572 | ze : nat --hello.idr:10:6:When checking constructor Main.ze: !!V 0!! is not Main.nat
2942 | ze : nat --hello.idr:10:6:When checking constructor Main.ze: !!V 0!! is not Main.nat
259When checking constructor Main.ze:
296When checking constructor Main.ze:
260Type level variable nat is not Main.nat
297Type level variable nat is not Main.nat
261Mod.idr:11:1-22:
299Mod.idr:11:1-22:
26311 | natexp k = S (natfn k)
30111 | natexp k = S (natfn k)
264 | ~~~~~~~~~~~~~~~~~~~~~~
302 | ~~~~~~~~~~~~~~~~~~~~~~
265public export Mod.natexp can't refer to export Mod.natfn
303public export Mod.natexp can't refer to export Mod.natfn
266reg070.idr:7:1-7:
305reg070.idr:7:1-7:
2687 | Show Te where
3077 | Show Te where
269 | ~~~~~~~
308 | ~~~~~~~
270Test_show.Te implementation of Prelude.Show.Show is possibly not total due to: Prelude.Show.Test_show.Te implementation of Prelude.Show.Show, method show
309Test_show.Te implementation of Prelude.Show.Show is possibly not total due to: Prelude.Show.Test_show.Te implementation of Prelude.Show.Show, method show
271./reg076.idr:8:1:
311./reg076.idr:8:1:
2738 | <empty line>
3138 | <empty line>
@@ -298,13 +338,16 @@ When checking argument value to function Prelude.Basics.the:
301Canonicity.idr:9:1-9:
342Canonicity.idr:9:1-9:
3039 | f Nil = 0
3449 | f Nil = 0
304 | ~~~~~~~~~
345 | ~~~~~~~~~
305Canonicity.f is not total as there are missing cases
346Canonicity.f is not total as there are missing cases
306Canonicity.idr:12:1-20:
348Canonicity.idr:12:1-20:
30812 | NaN = f (Cons 0 Nil)
35012 | NaN = f (Cons 0 Nil)
309 | ~~~~~~~~~~~~~~~~~~~~
351 | ~~~~~~~~~~~~~~~~~~~~
310Canonicity.NaN is possibly not total due to: Canonicity.f
352Canonicity.NaN is possibly not total due to: Canonicity.f