From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buffalo.birch.relay.mailchannels.net (buffalo.birch.relay.mailchannels.net [23.83.209.24]) by sourceware.org (Postfix) with ESMTPS id CC5DE3836407 for ; Mon, 6 Jun 2022 17:54:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CC5DE3836407 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=eip10.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eip10.org X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 945775A1C1D; Mon, 6 Jun 2022 17:54:20 +0000 (UTC) Received: from pdx1-sub0-mail-a239.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C09725A1CAB; Mon, 6 Jun 2022 17:54:19 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1654538060; a=rsa-sha256; cv=none; b=0h/o6SLrjJjW0n+B+ubD3VphqjxDlU8FV8oWN9JhUE36jHTHJxeZ6QR3Fizzib0tJtfQh0 S/G7oP2TqWHXLt/ANKb3LPCPhZ5C2YKaxZ58foJhHPc5EQwPZ0yY+YmLWAxTvn0V/I+v1V oHfbhGWEq+wCuDdVMsB2EgDZ+R1kcJuHOs7h7vueiTwY8+WCqURmTU0PCHo1KAWreomfr/ W770ZJ9cwuwO1xxS2BlVXhDkWwKVeLiUERK/HIfsqVi7m19CIFFVviM7WovR0fMYR6H7La UuYXb/vlmAGlsoX41AMxxd3Vs30QhdD5FV2I9AUyO6sfuOI/Cn0cdBvlq4PYoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1654538060; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:dkim-signature; bh=PyZBtDO7xhk9dSaZ49eXhmngHpPJy6g3Z5qUv8K6CaM=; b=eNIATwA9Lmyt+cnBP7mwbRCD+m53j0zVuXAHL+r8upEBXfZO7vBcB6d86e6gueHVQolbNo ZEz9UZTGAd1NRJauBhSnOZJv+vDlP4y8rCsiPrEuNIenYozGN3RFqcxwbWwY2sJEcXoFWw MroZ3PUFiE8i01BbN2dhRse2Ebwhqmm+J2DhbnglE8XXgaonOpb5mrb5x93w6wI0zEIRPd Wfrn6Myo0CK5tPhYIR8U0x/IyY2HtKrK4ECqY8X0Z4uEwFMsk3pwkE222QaF/8p+kMlIKL FD+Uo+FLP/mTLj8LrRZfV/QMmeWx9XDo4aB2XfuQBhh1BCF6pnO45cSck2JNDw== ARC-Authentication-Results: i=1; rspamd-848669fb87-454vm; auth=pass smtp.auth=dreamhost smtp.mailfrom=chaw@eip10.org X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|chaw@eip10.org X-MailChannels-Auth-Id: dreamhost X-Wipe-Well-Made: 29d7669959b67df7_1654538060421_880753453 X-MC-Loop-Signature: 1654538060421:1090229312 X-MC-Ingress-Time: 1654538060421 Received: from pdx1-sub0-mail-a239.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.127.95.89 (trex/6.7.1); Mon, 06 Jun 2022 17:54:20 +0000 Received: from napur.eip10.org (cpe-74-75-233-46.maine.res.rr.com [74.75.233.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by pdx1-sub0-mail-a239.dreamhost.com (Postfix) with ESMTPSA id 4LH1Mb2dsfz1d; Mon, 6 Jun 2022 10:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eip10.org; s=dreamhost; t=1654538059; bh=PyZBtDO7xhk9dSaZ49eXhmngHpPJy6g3Z5qUv8K6CaM=; h=From:To:cc:Subject:Reply-To:Content-Type:Content-ID:Date; b=GdWNQwn+Nv2Z6gpyARM5dA8wVsC+CmH9bq+231Mku72KICCYdqTUgRYFlsTiBqis4 /BF6uu1QdpnGBbDt2/i1v93EwJeoaCQgEyObjbhMauQgNJXUqwIAsd96aR2qv/uEvi gdhPSwAD/Fy8QHU9LpZDPvviHqz+ufb6CM7HDu2z7lx/0dXxMCjWi5FDwKjUorzONZ UigeYOCCF5LY4RgfZcaFkNe1cY1YcyeG4+ZhhPEaZG7B4Pi1lOOHVx6XEA2HyfUn/d k2C1VNnf9muEfGssFmrlU83ZXxCj7nunyuob9RKO/SuBvllomFF/4TUZ6uo+QWqb+l erGsZYd6/vsww== Received: from chaw by napur.eip10.org with local (Exim 4.94.2) (envelope-from ) id 1nyGvh-0002r8-Oj; Mon, 06 Jun 2022 13:54:17 -0400 From: "Sudarshan S Chawathe" To: Per Bothner cc: Zachary Kurmas , "kawa@sourceware.org" Subject: Re: Help using Ranges In-reply-to: <11b7a2a5-3428-14f7-7507-9cb53d8a7ddb@bothner.com> References: <0B70EE78-455B-4A9F-9B3A-90CD2E9F5BA6@gvsu.edu> <11b7a2a5-3428-14f7-7507-9cb53d8a7ddb@bothner.com> Comments: In-reply-to Per Bothner message dated "Mon, 06 Jun 2022 10:42:11 -0700." Reply-To: "Sudarshan S Chawathe" X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10980.1654538057.1@localhost> Date: Mon, 06 Jun 2022 13:54:17 -0400 Message-ID: <10981.1654538057@localhost> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2022 17:54:27 -0000 Per Bothner wrote: > On 6/6/22 10:23, Zachary Kurmas via Kawa wrote: > > Can someone point me to a more complete example of how to use > > ranges? When I try to run the example from the documentation > > > > #|kawa:1|# ("ABCDEFG" [1 by: 2 <: 7]) > > I get the error shown below. Am I missing an include or something? > > > > /dev/stdin:1:22: warning - no declaration seen for : > > Strange - works for me: > > $ kawa --version -- > Kawa 3.1.1 (git describe: 3.1.1-62-gebcfcca29-dirty) > Copyright (C) 2020 Per Bothner > #|kawa:1|# ("ABCDEFG" [1 by: 2 <: 7]) > BDF > > Perhaps a very old (or otherwise-broken) version of Kawa? It works for me too (also using Kawa version 3.1.1). However, I get an error similar to the one in the original message if I start kawa with the --r7rs option, so perhaps something like that is what's happening in the earlier case. Regards, -chaw