Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

fast multiple values #288

Closed
nyuichi opened this issue Jul 1, 2015 · 1 comment
Closed

fast multiple values #288

nyuichi opened this issue Jul 1, 2015 · 1 comment

Comments

@nyuichi
Copy link
Member

nyuichi commented Jul 1, 2015

My plan:

  • Use of values procedure is compiled into byte code
  • Introduce a new private syntax builtin:receive. let-values and define-values internally use that.
  • Calling values at non-tail position evaluates to the last element: (let ((a (values 1 2))) a) => 2. This is (probably) the only breaking changes that users observe.
@nyuichi
Copy link
Member Author

nyuichi commented Jul 4, 2015

duplicate #290

@nyuichi nyuichi closed this as completed Jul 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant