Skip to content

Commit f6281af

Browse files
authored
[ elab ] Erase check and quote's main argument (#1847)
1 parent 32e26c5 commit f6281af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/base/Language/Reflection.idr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ data Elab : Type -> Type where
1818
LogTerm : String -> Nat -> String -> TTImp -> Elab ()
1919

2020
-- Elaborate a TTImp term to a concrete value
21-
Check : {expected : Type} -> TTImp -> Elab expected
21+
Check : TTImp -> Elab expected
2222
-- Quote a concrete expression back to a TTImp
23-
Quote : val -> Elab TTImp
23+
Quote : (0 _ : val) -> Elab TTImp
2424

2525
-- Elaborate under a lambda
2626
Lambda : (0 x : Type) ->
@@ -91,12 +91,12 @@ logGoal str n msg
9191
||| Check that some TTImp syntax has the expected type
9292
||| Returns the type checked value
9393
export
94-
check : {expected : Type} -> TTImp -> Elab expected
94+
check : TTImp -> Elab expected
9595
check = Check
9696

9797
||| Return TTImp syntax of a given value
9898
export
99-
quote : val -> Elab TTImp
99+
quote : (0 _ : val) -> Elab TTImp
100100
quote = Quote
101101

102102
||| Build a lambda expression

0 commit comments

Comments
 (0)