Hi szgyg, szgyg wrote:
No, this is impossible without redefining +. A macro produces 1 sexp, not more.
This is exactly what I am getting at. values does return more than 1 sexp, but the mechanisms for using that are clumsy and painful. It seems that if values returns multiple s-expressions, then they should be treated as multiple s-expressions. In between a set of parentheses, N s-expressions are usually treated as N elements of a list. Why should values be any different? (list 0 (values 1 2) 3) ==> (0 #<values(1 2)> 3) This is strange. If we had (list 0 (values 1 2) 3) ==> (0 1 2 3) Then multiple values would actually be useful. Regards, Jon _______________________________________________ Guile-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/guile-user
