scribblings/roos.scrbl
This commit is contained in:
2
info.rkt
2
info.rkt
@@ -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")
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user