Skip to content

Compile one argument identity function#10

Merged
lemastero merged 27 commits intomasterfrom
one-arg-id
Dec 18, 2023
Merged

Compile one argument identity function#10
lemastero merged 27 commits intomasterfrom
one-arg-id

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
@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