Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % guile --version
- guile (GNU Guile) 2.1.0
- % guile
- (use-modules (oop goops describe))
- (define-class <complex-n> (<number>) r i)
- (define c1 (make <complex-n> 1 1))
- (describe c1)
- ;; ->
- ;; #<<complex-n> 93d8510> is an instance of class <complex-n>
- ;; Slots are:
- ;; r = #<unbound>
- ;; i = #<unbound>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement