[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: integer? as generic function
From: |
Marco Maggi |
Subject: |
Re: integer? as generic function |
Date: |
Tue, 23 May 2006 20:58:25 +0200 |
"address@hidden" wrote:
>(define-generic gee-gmp-oop-integer?)
>
>(let ((integer? integer?))
> (define-method (gee-gmp-oop-integer? (o <number>))
> (integer? o)))
>
>(set! integer? gee-gmp-oop-integer?)
It works if I do this:
(define saved-integer? integer?)
(define-generic integer?)
(define-method (integer? (o <number>))
(saved-integer? o)))
(export integer?)
--
Marco Maggi