This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

multiple return values


Hi,

Guile-GTK needs multiple return values. Does this exist already or are
there plans to implement it? How about a multi-let or multi-set like

(define (give-two)
  (list 5 7))

(multi-let (((a b) (give-two)))
  (display a) ; => 5
  (display b) ; => 7
  )

-- http://www.ping.de/sites/aibon/