Matthias,
Thanks, for the pointer.
I am studying the article, which at first look seems very well readable.
I did not mean to 'propose' my odd idea.
Jos

-----Original Message-----
From: Matthias Felleisen [mailto:matth...@felleisen.org] 
Sent: 01 August 2018 16:26
To: Jos Koot
Cc: Racket Users
Subject: Re: [racket-users] How is define-values defined?


> On Jul 31, 2018, at 2:17 PM, Jos Koot <jos.k...@gmail.com> wrote:
> 
> It even is possible to implement a multiple value as a single value such as 
> to allow:
>  
> (define x (values 1 2 3))
> (define-values (a b c) x)
> (call-with-values (lambda () x) list)
>  
> Somewhere I must have an interpreter that allows this,
> but for the moment I can't find it without long searching.
> IIRC it is/was a very odd (and probably bad) interpreter.

I don't think this proposal denotes. The 'values' idea is to deal with several 
values in parallel. The 'define x' idea is that x is
bound to a single value. 

;; - - - 

I don't know too many publications about the implementation of 'values'. The 
one I'd always start with is Ashley and Dybvig's: 

   https://www.cs.indiana.edu/~dyb/pubs/mrvs.pdf

For CL, I'd look in CL2. - Matthias


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to