From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id CF0B43858023 for ; Thu, 12 Oct 2023 21:41:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF0B43858023 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-ej1-x62b.google.com with SMTP id a640c23a62f3a-9ad810be221so228888166b.2 for ; Thu, 12 Oct 2023 14:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697146897; x=1697751697; darn=sourceware.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=w49J8SMolsXDsjqz++6/Pla1CELnNn9t4asKecE7Gdk=; b=FMlTPeq0Ewlgp0mGnAjjgJxKe9DHMC364J77dAGUt1NId//iSn4Wz7D63sFiE4HYSR eGJrwm0gc0GfpfjEKALXCeI5mi9u0DfXb36ZI6jVbxy/N9VE0Y8lA65DLgNeAUqVC4EC u3K2PX66nMXj/OI5y8ohq0ayprhuIIjMJAzFSNjGvTyfLs2Ix3LrQcvmx56FpvklGY9h m0P0Oij6TO3+c9AzyVYTmMne6ZdqMMs+IvDNiwQ3i7cUk6hWgIvwycjWF5BNngF7IMQI shy+vI94zL2yPCq7zdL6pi1AQrq6bQGEf0R0dXq3L6nS3NMmzWY+u2JJmZ+qXOIhbUD0 n06Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697146897; x=1697751697; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w49J8SMolsXDsjqz++6/Pla1CELnNn9t4asKecE7Gdk=; b=RoVB6pvG0CEi2Xpc0FgB5qyGwCVHGxkPiICD4nutIRoAr/p/YeWVmusCumnkjNxx24 KUB+abXjOgwTfFTs6ANWNWhnzyIrM6XkgFEqvQzfkGUaNIaSqhmf6Ga1SULB9DOrtXIX J2dM9Oysydrf/l34+EJ6sorESK+RfGfwB9ZdlvI/vV9kgiFf+9MynSV9cNhUp/HJWI5l 1+qAQ03/ShT7PfyECZsa49x9bV+qWDaSsFkZpdWjA7P60YRoEsJdB6k3UtF4ME0O6hGG 2qncXm2diDZIPo1Xw1BbyYeRKl7/5FcirazK3EgIUYNpg8jsYUkH1iPeXMdd9dZI9ylR tr+A== X-Gm-Message-State: AOJu0YxZJgmTPbiefFYZ1jYLc2LPnwgQAbVK0FqU90zLxLJvWE+T5eDR uKbG56DpeVh+jiIO0h7nZxlY+k6F5rdzD85hI1LsEblPl/4= X-Google-Smtp-Source: AGHT+IE3T40KsuM5AxqSIhRKt9P8TRsh91sJNKSS2mtcBx9i3+hWCMbCalNsz9MHiHpeLhttwU6+zV2hd9/81xLJi5U= X-Received: by 2002:a17:907:2e02:b0:9ba:33ef:fe4c with SMTP id ig2-20020a1709072e0200b009ba33effe4cmr7994264ejc.64.1697146897067; Thu, 12 Oct 2023 14:41:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Damien Mattei Date: Thu, 12 Oct 2023 23:41:25 +0200 Message-ID: Subject: Re: macro definition in module To: kawa mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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,KAM_SHORT,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: solution: (module-name overload2) (export foo bar) (define (foo) '()) (define-syntax bar (syntax-rules () ((_ proc) '()))) having some example in this documentation https://www.gnu.org/software/kawa/Module-classes.html would make Kawa more easy to use; On Thu, Oct 12, 2023 at 11:19=E2=80=AFPM Damien Mattei wrote: > > i know how to define a function in module,example > > ;; file ModuleName.scm > > (define-simple-class ModuleName () > > ((string-null? str) > (string=3D? str ""))) > > but this syntax can help me to define a macro in module, is it possible?