Welcome to the CHICKEN Scheme pasting service

objs.scm added by Yehowshua on Thu Aug 12 06:52:45 2021

(import coops)
(import coops-primitive-objects)

(define-generic (+ x y))
(define-method (+ (x <number>) (y <number>)) + x y)
(define-method (+ (x <string>) (y <string>))
  (string-append x y))

(print (+ "abc" "de"))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which procedure can be used to check whether its argument is a procedure?
Visually impaired? Let me spell it for you (wav file) download WAV