Renamed != to /= and lambda to function.

This commit is contained in:
waldemar%netscape.com 1999-05-17 05:10:41 +00:00
Родитель 18424368a6
Коммит 62f4bd3d68
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -121,7 +121,7 @@
(((undefined-value null-value)) false)
((boolean-value b boolean) b)
((double-value d double) (not (or (double-is-zero d) (double-is-nan d))))
((string-value s string) (!= (length s) 0))
((string-value s string) (/= (length s) 0))
(object-value true)))
(define (coerce-boolean-to-double (b boolean)) double
@ -772,7 +772,7 @@
(%print-actions)
(define (binary-double-compound-operator (operator (-> (double double) double))) (-> (value value) value-or-exception)
(lambda ((left-value value) (right-value value))
(function ((left-value value) (right-value value))
(letexc (left-number double (coerce-to-double left-value))
(letexc (right-number double (coerce-to-double right-value))
(oneof normal (oneof double-value (operator left-number right-number)))))))

Просмотреть файл

@ -121,7 +121,7 @@
(((undefined-value null-value)) false)
((boolean-value b boolean) b)
((double-value d double) (not (or (double-is-zero d) (double-is-nan d))))
((string-value s string) (!= (length s) 0))
((string-value s string) (/= (length s) 0))
(object-value true)))
(define (coerce-boolean-to-double (b boolean)) double
@ -772,7 +772,7 @@
(%print-actions)
(define (binary-double-compound-operator (operator (-> (double double) double))) (-> (value value) value-or-exception)
(lambda ((left-value value) (right-value value))
(function ((left-value value) (right-value value))
(letexc (left-number double (coerce-to-double left-value))
(letexc (right-number double (coerce-to-double right-value))
(oneof normal (oneof double-value (operator left-number right-number)))))))