public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Accessing a function in the global scope from within a class with a method of the same name
@ 2023-10-04 19:04 Panicz Maciej Godek
  0 siblings, 0 replies; only message in thread
From: Panicz Maciej Godek @ 2023-10-04 19:04 UTC (permalink / raw)
  To: kawa

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

Suppose that I have a function

(define (f) ...)

and a class:

(define-class C ()
  ((f) ...))

is there a way to access the global function f from within class C's
methods? (I think this would be achievable in C++ by typing ::f, but I
wonder whether Kawa has a similar mechanism)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-04 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 19:04 Accessing a function in the global scope from within a class with a method of the same name Panicz Maciej Godek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).