comment out issue in Zoo4eg
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -1,6 +1,7 @@
|
||||
|
||||
## TODO
|
||||
|
||||
- [ ] unsolved meta errors repeat (need to freeze at some point)
|
||||
- [x] Sanitize JS idents, e.g. `_+_`
|
||||
- [ ] Generate some programs that do stuff
|
||||
- [x] import
|
||||
|
||||
@@ -143,8 +143,8 @@ parameters (ctx: Context)
|
||||
if (length sp /= size) then do
|
||||
-- need INFO that works like debug.
|
||||
-- FIXME we probably need to hold onto the constraint and recheck when we solve the meta?
|
||||
info (getFC t) "meta \{show m} applied to \{show $ length sp} args insted of \{show size}"
|
||||
-- error (getFC t) "meta \{show m} applied to \{show $ length sp} args insted of \{show size}"
|
||||
info (getFC t) "meta \{show m} (\{show ix}) applied to \{show $ length sp} args instead of \{show size}"
|
||||
-- error (getFC t) "meta \{show m} applied to \{show $ length sp} args instead of \{show size}"
|
||||
else do
|
||||
debug "meta \{show meta}"
|
||||
ren <- invert l sp
|
||||
|
||||
@@ -39,7 +39,7 @@ Eq BD where
|
||||
Defined == Defined = True
|
||||
_ == _ = False
|
||||
|
||||
|
||||
public export
|
||||
Show BD where
|
||||
show Bound = "bnd"
|
||||
show Defined = "def"
|
||||
|
||||
@@ -56,15 +56,15 @@ list1 : List Bool
|
||||
list1 = cons true (cons false (cons true nil))
|
||||
|
||||
-- dependent function composition
|
||||
comp : {A} {B : A -> U} {C : {a} -> B a -> U}
|
||||
(f : {a} (b : B a) -> C b)
|
||||
comp : {A} {B : A -> U} {C : {a : A} -> B a -> U}
|
||||
(f : {a : A} (b : B a) -> C b)
|
||||
(g : (a : A) -> B a)
|
||||
(a : A)
|
||||
-> C (g a)
|
||||
comp = \f g a => f (g a)
|
||||
|
||||
compExample : _
|
||||
compExample = comp (cons true) (cons false) nil
|
||||
-- compExample : Bool
|
||||
-- compExample = comp (cons true) (cons false) nil
|
||||
|
||||
Nat : U
|
||||
Nat = (N : U) -> (N -> N) -> N -> N
|
||||
|
||||
Reference in New Issue
Block a user