From 6d34ee8f86e4092b56339aa3334a5468952b3411 Mon Sep 17 00:00:00 2001 From: Hans Dijkema Date: Sun, 6 Jul 2025 16:07:08 +0200 Subject: [PATCH] scribblings/roos.scrbl --- info.rkt | 2 +- scribblings/roos.scrbl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/info.rkt b/info.rkt index 1ccdcab..94c8b38 100644 --- a/info.rkt +++ b/info.rkt @@ -1,7 +1,7 @@ #lang info (define pkg-authors '(hnmdijkema)) -(define version "0.52") +(define version "0.53") (define license 'Apache-2.0) (define collection "roos") (define pkg-desc "An OO Framework for Racket") diff --git a/scribblings/roos.scrbl b/scribblings/roos.scrbl index a730328..b400530 100644 --- a/scribblings/roos.scrbl +++ b/scribblings/roos.scrbl @@ -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 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 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")