On Wed, 22 Feb 2017, Andy Wingo wrote:
On Sat 17 Sep 2016 22:43, Jan Wedekind <j...@wedesoft.de> writes:
The following program works fine under GNU Guile 2.0.12:
(use-modules (oop goops))
(define-generic native-type)
(define-method (native-type (i ) . args) 0)
(define-
Hi,
The following program works fine under GNU Guile 2.0.12:
(use-modules (oop goops))
(define-generic native-type)
(define-method (native-type (i ) . args) 0)
(define-method (native-type (i ) . args) 1)
(define-method (native-type (b ) . args) 2)
(native-type 1)
Hi,
I think I encountered a bug in the numerical stack.
i times i should equal -1:
(equal? -1 (* 0+i 0+i))
; #f
i times i plus one is zero (which is correct):
(zero? (+ (* 0+i 0+i) 1))
; #t
Regards
Jan