Skip to content

case-lambda: Parse args smarter to enable more useful arity inspection - #932

Merged
egallesio merged 1 commit into
egallesio:masterfrom
aartaka:case-lambda-minimal-arity
Sep 10, 2026
Merged

egallesio merged 1 commit into
egallesio:masterfrom
aartaka:case-lambda-minimal-arity

Conversation

@aartaka

@aartaka aartaka commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This makes case-lambda to generate more inspectable and useful arglists, in the traces of similar Chibi pull request, for example:

(case-lambda ((a b c) 1) ((a b) 1))
;; #[closure 7efcf8226f80 (a b . args13)]

@egallesio how does it look?

@aartaka aartaka changed the title case-lambda: Parse args smarter to enable smarter arity inspection case-lambda: Parse args smarter to enable more useful arity inspection Sep 7, 2026
@egallesio

Copy link
Copy Markdown
Owner

Interesting!!! I 'll look to integrate this PR with my current version of the procedure printing.
In any case, it is a very good idea.

@egallesio
egallesio merged commit 258c897 into egallesio:master Sep 10, 2026
@egallesio

Copy link
Copy Markdown
Owner

It is merged now. We had some problem of hygiene which were, hopefully, detected by the tests.
I also made some rewriting but, anyway everything is her now.
Thanks @aartaka for this PR.

@aartaka
aartaka deleted the case-lambda-minimal-arity branch September 10, 2026 19:19
@aartaka

aartaka commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@egallesio thanks!

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.

2 participants