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]

function re-define


Hello,

I use kawa at,
 FreeBSD 4.1-RELEASE
 java_X version "1.1.8"
 kawa-1.6.70

Is follwing a bug or kawa's feature?

#|kawa:1|# (define bar +)
#|kawa:2|# (define (foo x y) (bar x y))
#|kawa:3|# (foo 1 2)
3
#|kawa:4|# (define bar -)
#|kawa:5|# (foo 1 2)
3

thank you.

-- 
(define (KURODA Hisao)
  (email kuroda@msi.co.jp))

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