From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 790A43858C39 for ; Wed, 4 Oct 2023 19:04:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 790A43858C39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-6c4a25f6390so102857a34.2 for ; Wed, 04 Oct 2023 12:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696446289; x=1697051089; darn=sourceware.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=7c/ri7hXrvOTYK1YZvWPRSSMxl1OjrKPCx9kBKkGEUY=; b=PZ5f8oD8UMy0ybIU4Gpc3wM/RhLDcZcL8vvDey9u25vQ+8ZbckTr8BddhA2eEwMYX0 MT3umYkf31lfLHDHA/b2kz71GP3zakGwgAeL97fJZwJY09nX0FSUbCpDIEsikmbgKgNk VvHYJMVY7BojZR8hDQABRtT+kCH8IWSs0I1oxtbLjPH0XyN05yWtIdhhmqWffeKq20EB tZJG/axI/c62MBXqgMyqXoJ2TXLDm3hrZGG4MljtiSiE7CGNPhw4iRVFw3UOp03pE/Mu FP/g5XYDNK9gmiCP9zJBoJfOVg3Y+iBIzqCokY2RtPGd9R9a2Drn/oy0ID9zMd5AvEv2 njeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696446289; x=1697051089; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7c/ri7hXrvOTYK1YZvWPRSSMxl1OjrKPCx9kBKkGEUY=; b=kC3cMfc+nKF5dxYPzLxhDBblLIGyB/gMPhHY1AAIh1fnqCTLmQX8msZPxUsNXyyg8l Fc/Ry5ZrLlG1UF3rJ8Z1zJAaAarHz8kBeSpfj3NoQDnt4VUcfK8zXpskis3k84kffqkc +I8yih8UFW4Dt+BqWgByphDJ2LT1Dd/h8P1bbEgSrzHaQcOH02weRiKrEOqpmEMOHgWZ YKaEMnpIAE0+4Zlf8XcwsPu2QqoZvL8uGpuYvVfutDoeUkViudrrAe2B6S5IO+kMX7wR Hgu9Wwvir7JC26ucVGjfi9GzvErEPcc70OGanv/ef0s/e1bmUg+N8KLQXF4kN9yAYgsM WYlA== X-Gm-Message-State: AOJu0YwctL1gKYo6rS4E/D1grncsvS34YNmBJWIIYYDpVpXfPCG5AVYO E/FQulP1tRMjmxAprp1wRuPvbrTsh/XX4yqIZbV0uQbS X-Google-Smtp-Source: AGHT+IGX4Xzln9vq7Ex4POa4Yanxgsb603ELThPcjRxublQ1Neatz3GzSoSRzkK3sPTr0ObpkLM+JaK/ppqb57aPHfk= X-Received: by 2002:a05:6830:1e28:b0:6bb:1c30:6f3c with SMTP id t8-20020a0568301e2800b006bb1c306f3cmr2810930otr.0.1696446289484; Wed, 04 Oct 2023 12:04:49 -0700 (PDT) MIME-Version: 1.0 From: Panicz Maciej Godek Date: Wed, 4 Oct 2023 21:04:36 +0200 Message-ID: Subject: Accessing a function in the global scope from within a class with a method of the same name To: kawa Content-Type: multipart/alternative; boundary="00000000000077228c0606e8aea6" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000077228c0606e8aea6 Content-Type: text/plain; charset="UTF-8" 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) --00000000000077228c0606e8aea6--