Skip to content

[ upstream ] Support Name in IBindVar #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tsv/src/Derive/TSV/Encoder.idr
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ encoderImplDef f i =

appArgs : TTImp -> List (BoundArg 1 Explicit) -> TTImp
appArgs t [] = t
appArgs t (BA _ [x] _ :: xs) = appArgs `(encodeOnto ~(t) ~(varStr x)) xs
appArgs t (BA _ [x] _ :: xs) = appArgs `(encodeOnto ~(t) ~(var x)) xs

encClause : Name -> Con n vs -> Clause
encClause f c =
Expand Down
4 changes: 2 additions & 2 deletions webidl/src/Text/WebIDL/Types/Attribute.idr
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public export
data EAInner : Type where
||| ε
Nil : EAInner

||| ( ExtendedAttributeInner ) ExtendedAttributeInner
||| [ ExtendedAttributeInner ] ExtendedAttributeInner
||| { ExtendedAttributeInner } ExtendedAttributeInner
Expand Down Expand Up @@ -249,7 +249,7 @@ attrImplDef f i =

parameters (nms : List Name)
ttimp : BoundArg 1 Regular -> TTImp
ttimp (BA (MkArg _ _ _ t) [x] _) = assertIfRec nms t `(attributes ~(varStr x))
ttimp (BA (MkArg _ _ _ t) [x] _) = assertIfRec nms t `(attributes ~(var x))

rsh : SnocList TTImp -> TTImp
rsh [<] = `(Nil)
Expand Down