Skip to content
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

Compile one argument identity function #10

Merged
merged 27 commits into from
Dec 18, 2023
Merged

Compile one argument identity function #10

merged 27 commits into from
Dec 18, 2023

Conversation

lemastero
Copy link
Owner

@lemastero lemastero commented Dec 15, 2023

Chanes

Handle (non-polymorphic) identity function

  • get result type for function
  • get argument type
  • get argument name

This is simplified version - real solution with multiple arguments should lookup names using deBruijn indices defined in Clause.

I have choose to aggressively throw errors for every missed case - to easier find them.

@lemastero lemastero mentioned this pull request Dec 16, 2023
2 tasks
Base automatically changed from produce-rust to master December 17, 2023 23:58
lemastero and others added 7 commits December 18, 2023 02:23
* add RustExpr to separate pretty printing and creating expression from Agda internals

* rename after refactor to RustExpr

* rename after refactor to RustExpr - fix

* swap unless to when
@lemastero lemastero merged commit 2e60ae8 into master Dec 18, 2023
1 check passed
@lemastero lemastero deleted the one-arg-id branch December 18, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant