From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.user Subject: Re: Date: Tue, 1 Aug 2023 12:46:14 +0200 Message-ID: References: <4c56647a595dbe5aa0afc249b5667f527328de9b.camel@abou-samra.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23402"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Jean Abou Samra Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Aug 01 12:47:08 2023 Return-path: Envelope-to: guile-user@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 1qQmuA-0005mu-SR for guile-user@m.gmane-mx.org; Tue, 01 Aug 2023 12:47:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQmtf-0005ml-NT; Tue, 01 Aug 2023 06:46:35 -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 1qQmtb-0005mM-No for guile-user@gnu.org; Tue, 01 Aug 2023 06:46:31 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQmtY-0007Jl-PB for guile-user@gnu.org; Tue, 01 Aug 2023 06:46:30 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5217ad95029so7405799a12.2 for ; Tue, 01 Aug 2023 03:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690886786; x=1691491586; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tFGsFvoh0GYn+Q3c3qFZZIPpIUKzIPaoPKcxQb4brlI=; b=KayLhhKurEO53On9lXC7Qf+WGBKCHAlpPaA04cOOeWLmhsEpidS2TALX3XQrYZ1gbQ HbWYp1WQTKCHRmY0UMopPcHjUSgtww6/HW1TYqI29uo0l3PHn02pOq+L0yqY9PJ10JJv p4FL0092IqUPtGKaK/lYQ694c1pCiSE8QUx0H8whkUuocfw4NMGDdO1wWRWiFHJaGIxF Km90b4w2aC/F2jvv34FqBDpzB+biN0YA1jRSNuplNXojf9jldHOq0wYNnNa4Cwpdjj5h +8CeKwMB15kLh0HtdbHNqpfS+bEeFARK+z9TBrc7rtoxBPEqXGHS/HHU6BkEzVCDDOQq fwRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690886786; x=1691491586; h=content-transfer-encoding:cc: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=tFGsFvoh0GYn+Q3c3qFZZIPpIUKzIPaoPKcxQb4brlI=; b=QHzGfNrbiYi/JtvypDj9L6TeDUo3OGdyFVZr8G+erW63lcwVvy78lltDHB5bHgBMOn wHBf1SbYFOTBjMZZI8+ySZo7++7ogvaXK7uxY1ST0yr/zesRG+OthoIh42dChCT/e43v RbInIsFUlQp/UpWPJeJiLN04dUT/Q912NQj13jZppeyRSzj5TYBr+XZdlbSSYDnCu2cX 5ko26rR7+fANbSAtZPtsZKeEMS2fN3LZXi9VnmvYug/KtsJbiVjNtLLrVtq4TdOwSS/r AKSYyzkUFDT3hxnM//SJJE2cCDsUnKSYLgBlVTGg1ar1V5MuKLN+8pxlNFjnZJywoK7R rmgA== X-Gm-Message-State: ABy/qLY/P4CVcsV2o6T0YPsYUbhUpGYb1et0RBeVLkeO1swJKnCUwd2U 2Zrsc0SpQ55vx9ityhWGsPK6R8H0ZLO8ejfSq4QyOXaUOYM= X-Google-Smtp-Source: APBJJlEh8fD2klxHyA5FwkraLqud/JVFWqfXW+7nCgk8nVv0WTvlxxu7Dia96VAdEKsFpZpPX3vQNUZeuDpBtnKw+l8= X-Received: by 2002:a05:6402:31fa:b0:51e:2305:931 with SMTP id dy26-20020a05640231fa00b0051e23050931mr2085846edb.22.1690886785585; Tue, 01 Aug 2023 03:46:25 -0700 (PDT) In-Reply-To: <4c56647a595dbe5aa0afc249b5667f527328de9b.camel@abou-samra.fr> Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=damien.mattei@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19114 Archived-At: i'm perplex , i'm sure now it is related to 'match' because of that: scheme@(guile-user)> (use-modules (ice-9 match)) scheme@(guile-user)> (match '(1 0) ((2 0) 'nomatch)) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (1 0))= '. Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,q scheme@(guile-user)> (match (list 1 0) ((2 0) 'wrong) ((i1 i2) (cons i1 i2)= )) $1 =3D (1 . 0) works well here but not here? : (match (list index1-or-keyword-eval-pos index2-or-keyword-eval-pos) .... code cut ....... ((i1 i2) (if (vector? container-eval) ;; normal case (function-array-n-dim-set! container-eval expr-eval (reverse (list i1 i2))) (array-set! container-eval index1-or-keyword-eval index2-or-keyword-eval expr-eval)))) ;; end match probably ,as you say , 'match' is used in other place but i 'grep-ed' all the directory and can not find where, i'm only using match this 2 months i even do not know it exists before... i almost sure i never use it in other place in the code,so i'm still not understand.... On Tue, Aug 1, 2023 at 11:59=E2=80=AFAM Jean Abou Samra wrote: > > > quoting the whole part of the macro and i still have the issue > this seems to prove the problem is in other part of my code but match > is only used here??? > > > > It is probably used in somewhere in a predefined Guile function that you = are using. > > So it's impossible to debug without more info. > > You may want to use (debug-enable 'backtrace) to get somewhat more precis= e hints to the location of the problem. > > Jean >