This commit is contained in:
2025-07-09 17:43:03 +02:00
parent 75fec925a0
commit 15d8e9e884
2 changed files with 4 additions and 2 deletions

View File

@@ -8,11 +8,11 @@
(make-base-eval '(require roos/class)))
@title{Interop Macros for Roos and racket/class}
@title{Interoperability Macros for roos and racket/class}
@author[@author+email["Hans Dijkema" "hans@dijkewijk.nl"]]
@defmodule[roos/interop]
@defmodule[roos/class]
This module provides a compatibility layer between the @racket[roos] object system and the standard @racketmodname[racket/class] system. It exports the macros @racket[send], @racket[->], and @racket[new], which automatically dispatch to the appropriate implementation based on the type of the given object or class.

View File

@@ -17,6 +17,8 @@ It supports class definitions with attributes and methods, multiple inheritance,
and persistent fields through a user-extensible storage mechanism. All methods and attributes
are virtual, and may be overridden in subclasses.
See also @racket[roos/class].
@section{Class Definition Syntax}
@defform[(def-roos (class-name ...) this (supers ...) body ...)]{