[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] return value(s) of load



Alex Shinn scripsit:

> To make an exception for load we'd need to know for what
> implementations it currently returns the last value(s),

Asked to load a file containing "(values 1 2 3)", Racket, Scheme48/scsh,
Guile, RScheme return 3 values.  Chicken, Kawa, SISC, Chibi, Chez,
Ikarus/Vicare, Larceny, Ypsilon, SigScheme return their standard
undefined-value object.  Gauche returns #t 2 3; Bigloo returns 1 0.
MIT, Gambit, XLisp return various objects.  SCM doesn't like multiple
values at the top level.  Mosh, IronScheme, KSI, TinyScheme, Scheme 9,
Elk, UMB, VX, Oaklisp, Owl Lisp either don't support values or don't
support load.

> and if there is any code that depends on this.

I certainly doubt it.

-- 
By Elbereth and Luthien the Fair, you shall     cowan@x
have neither the Ring nor me!  --Frodo          http://www.ccil.org/~cowan

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports