-
Notifications
You must be signed in to change notification settings - Fork 395
implement binding application #3614
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
base: main
Are you sure you want to change the base?
Conversation
|
#3570 really worked: there are no visible changes to TTC files other than the new data type. All the other changes are automatic 🎉 |
| prettyPrec d (PForce _ tm) = parenthesise (d > startPrec) $ "Force" <++> prettyPrec appPrec tm | ||
| prettyPrec d (PAutoApp _ f a) = | ||
| parenthesise (d > startPrec) $ group $ prettyPrec leftAppPrec f <++> "@" <+> braces (pretty a) | ||
| prettyPrec d (PBindingApp fn bind scope) = ?TODO2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hole
d34a60d to
e5301db
Compare
0f2e13e to
ba71e14
Compare
a989f77 to
0f1e3f3
Compare
f86fb64 to
0453c43
Compare
| showPTermPrec d (PNamedApp _ f n a) | ||
| = showPTermPrec d f ++ " {" ++ showPrec d n ++ " = " ++ showPTermPrec d a ++ "}" | ||
| showPTermPrec d (PBindingApp fn bind scope) | ||
| = ?TODO1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hole
| a' <- reflect fc defs lhs env a | ||
| appCon fc defs (reflectionttimp "IApp") [fc', f', a'] | ||
| reflect fc defs lhs env (IBindingApp tfc f a) | ||
| = ?TODOReflect3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hole
| reflect fc defs lhs env (SpecArgs r) | ||
| = do r' <- reflect fc defs lhs env r | ||
| appCon fc defs (reflectionttimp "SpecArgs") [r'] | ||
| reflect fc defs lhs env (Binding r) = ?add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hole
|
I haven't had time to look more closely, but these tests are failing because of lost documentation:
|
|
Ah yes, sorry I wasn't expecting a review at this stage it's still a WIP. I was refactoring a bit of the documentation code with the intent to make it its own PR. There is still some work to do |
Description
Draft implementation for #3582 this is the prototype branch with main rebased and all commits squashed.
to do:
<-symbol for binding operators. It should be its own PRconNameinPRecordas its own PR Method refactor #3619Methodas is own PR Method refactor #3619Self-check
implementation, I have updated
CHANGELOG_NEXT.md