This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

autoload error


Hello,

   This happens:

java.lang.RuntimeException: invalid syntax in eval form:
<string>:1:29: failed to find class kawa.lib.std_syntax while autoloading
cond
at kawa.lang.Eval.evalBody(Eval.java:81)
at kawa.lang.Eval.evalBody(Eval.java:36)
at kawa.standard.Scheme.eval(Scheme.java:750)
at kawa.standard.Scheme.eval(Scheme.java:734)


This trying to execute the following scheme code:


(define (expression x y a)
  (cond ((or (= y 0) (= (+ x y) 0))
         (display "denominator must not be equal to zero" ) )

        (else
         (/ (+ (* 5 6 ) (+ a (- 3 (* 6 2 ) ) ) )
            (* (* 3 (+ x y ) ) (* y 7 ) ) ) ) ))

How to fix?

Thanks.
Alex





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