mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 18:31:43 +03:00
df3f8b73f8
When we check a scope in RigW, need to mark all linear things outside that scope as irrelevant within the scope (since the scope may be used multiple times).
26 lines
775 B
Plaintext
26 lines
775 B
Plaintext
1/2: Building Stuff (Stuff.idr)
|
|
2/2: Building Erase (Erase.idr)
|
|
Main> S Z
|
|
Main> S (S Z)
|
|
Main> S Z
|
|
Main> (interactive):1:15--1:16:x is not accessible in this context
|
|
Main> (interactive):1:5--1:31:When unifying Nat -> Nat -> Nat and (0 x : Nat) -> Nat -> Nat
|
|
Mismatch between:
|
|
Nat -> Nat -> Nat
|
|
and
|
|
(0 x : Nat) -> Nat -> Nat
|
|
Main> (interactive):1:5--1:31:When unifying (1 x : Nat) -> Nat -> Nat and (0 x : Nat) -> Nat -> Nat
|
|
Mismatch between:
|
|
(1 x : Nat) -> Nat -> Nat
|
|
and
|
|
(0 x : Nat) -> Nat -> Nat
|
|
Main> (interactive):1:20--1:22:x is not accessible in this context
|
|
Main> S (S Z)
|
|
Main> S (S Z)
|
|
Main> (interactive):1:6--1:31:When unifying (0 x : Nat) -> Nat -> Nat and Nat -> Nat -> Nat
|
|
Mismatch between:
|
|
(0 x : Nat) -> Nat -> Nat
|
|
and
|
|
Nat -> Nat -> Nat
|
|
Main> Bye for now!
|