scribblings/roos.scrbl

This commit is contained in:
2025-07-06 16:07:08 +02:00
parent e8857cd3b3
commit 6d34ee8f86
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#lang info #lang info
(define pkg-authors '(hnmdijkema)) (define pkg-authors '(hnmdijkema))
(define version "0.52") (define version "0.53")
(define license 'Apache-2.0) (define license 'Apache-2.0)
(define collection "roos") (define collection "roos")
(define pkg-desc "An OO Framework for Racket") (define pkg-desc "An OO Framework for Racket")

View File

@@ -79,7 +79,7 @@ Returns the defined roos class of an instantiated roos class if @code{roos-objec
(: (-> bb y) "(-> bb y) Will return the value of y in class b1, i.e. 7") (: (-> bb y) "(-> bb y) Will return the value of y in class b1, i.e. 7")
(: (-> bb v) "(-> bb v) Will return the value of y in class a, i.e. 42") (: (-> bb v) "(-> bb v) Will return the value of y in class a, i.e. 42")
(define cc (c)) (define cc (roos-new c))
(: (-> cc zy) "(-> cc zy) Will return the value of y in super class b1") (: (-> cc zy) "(-> cc zy) Will return the value of y in super class b1")
(: (-> cc y! 88) "(-> cc y! 88) Will set the value of y in class c") (: (-> cc y! 88) "(-> cc y! 88) Will set the value of y in class c")
(: (-> cc zy) "(-> cc zy) Will return the value of y in super class b1") (: (-> cc zy) "(-> cc zy) Will return the value of y in super class b1")