2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building Deps (Deps.idr)
|
2021-05-14 19:35:21 +03:00
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
card is shadowing Main.card
|
2021-10-03 12:15:01 +03:00
|
|
|
|
|
|
|
Deps:15:3--15:8
|
|
|
|
11 | to = id
|
|
|
|
12 |
|
|
|
|
13 | interface BadFinite t where
|
|
|
|
14 | badcard : Nat
|
|
|
|
15 | badto : t -> Fin card
|
|
|
|
^^^^^
|
|
|
|
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of badcard. k is not accessible in this context.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
Deps:18:13--18:14
|
2021-02-11 20:24:26 +03:00
|
|
|
14 | badcard : Nat
|
|
|
|
15 | badto : t -> Fin card
|
|
|
|
16 |
|
|
|
|
17 | implementation BadFinite (Fin k) where
|
2020-07-22 22:16:43 +03:00
|
|
|
18 | badcard = k
|
2021-02-11 20:24:26 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|