From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH v1] SRFI-19: Add support for ISO 8601 zones with a colon. Date: Fri, 05 Apr 2024 17:03:21 -0500 Message-ID: <87h6gf4gd2.fsf@trouble.defaultvalue.org> References: <20240229212343.10442-1-GNUtoo@cyberdimension.org> <87r0gnjj7h.fsf@trouble.defaultvalue.org> <20240311192508.5b974e64@trisquel64> <87r0g57ny8.fsf@trouble.defaultvalue.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18169"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org To: Denis 'GNUtoo' Carikli Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Apr 06 00:03:56 2024 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rsrfA-0004Wd-2a for guile-devel@m.gmane-mx.org; Sat, 06 Apr 2024 00:03:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsreh-00074p-4K; Fri, 05 Apr 2024 18:03:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsref-00074D-Hr for guile-devel@gnu.org; Fri, 05 Apr 2024 18:03:25 -0400 Original-Received: from defaultvalue.org ([45.33.119.55]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsred-0003iC-P5 for guile-devel@gnu.org; Fri, 05 Apr 2024 18:03:25 -0400 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id 0835224483; Fri, 5 Apr 2024 17:03:22 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 5558614E081; Fri, 5 Apr 2024 17:03:21 -0500 (CDT) In-Reply-To: <87r0g57ny8.fsf@trouble.defaultvalue.org> Received-SPF: pass client-ip=45.33.119.55; envelope-from=rlb@defaultvalue.org; helo=defaultvalue.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22383 Archived-At: Rob Browning writes: > Apologies for the delay, and good point. I should have used eqv? rather > than char=?, i.e. > > (let ((ch (read-char port))) > (if (eqv? ch #\:) > (set! ch (read-char port)) > (if (eof-object? ch) > (time-error 'string->date 'bad-date-template-string > (list "Invalid time zone number" ch))) > (set! ...)) Just checking back -- does that adjustment seem plausible to you? If so, I may adjust your patch and proceed with it. Thanks for the help -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4