From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.user Subject: Re: symbol is nested in #{ ...... }# Date: Thu, 4 Jan 2024 14:04:48 -0500 Message-ID: References: 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="31845"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Damien Mattei Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Jan 04 20:06:00 2024 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 1rLT2U-0007ud-FL for guile-user@m.gmane-mx.org; Thu, 04 Jan 2024 20:05:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLT22-0006R1-4l; Thu, 04 Jan 2024 14:05:30 -0500 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 1rLT1y-0006Qa-Nz for guile-user@gnu.org; Thu, 04 Jan 2024 14:05:27 -0500 Original-Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLT1w-0001PR-DS for guile-user@gnu.org; Thu, 04 Jan 2024 14:05:26 -0500 Original-Received: by mail-vs1-xe2d.google.com with SMTP id ada2fe7eead31-467010c1c72so430739137.0 for ; Thu, 04 Jan 2024 11:05:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20230601.gappssmtp.com; s=20230601; t=1704395122; x=1704999922; darn=gnu.org; 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=g2AIeRyw/qhNobykLaYusgqjdSrmP3n8E9KUHCMtWKA=; b=WVkWZtFHEn0q6vGvPlJuCVx0GMp5nRZTp4mun00nhnwqkPDXIn2x9ArYKZvatzvpEX mbAnxvoKwtlzIxMwNNqpNIdcOObqv1kr2YslPryIlNS57uM0OxrAmL+mdUR7iM6MYPW8 9mhiKypeKYn6/bWw3AByPTYmEgcbZ7n62OLndiz3RtETNT4FmXBoH3JGkpO3tSLu2umH 5yLaWpkLQ31aaM4TYxRJPONILTMVwdLUHh7yB4cyT4NH0pB4D5vC+CNjVbP//n/8w1JX myb4KQLdlwcbfS9d++YeX3RjNsW2B/aNwzJ/IalyfJ3n2LuyRABtQ0jBVLjyWMWKTYzu Nnxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704395122; x=1704999922; 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=g2AIeRyw/qhNobykLaYusgqjdSrmP3n8E9KUHCMtWKA=; b=Z+QPzFqFxNbRWCrWDRTnG6IUllZ4V7iAW1SSpB9xSai3KvF9erlxRVD7CxOsfaqohb h1EXoglJvWBQKHnE5nXpYfNdjELqobB/k8FP9nm8RN39i12wQJODqYn8MIoQJaKN36r8 XZlv1sdfBGCUKps1hMfmJO8q7lMGFf69Ltz1ZWviI7bFAPFkjRP3oPRgV6hU2hpLhBfg NgMN3d2TwE2fawoN3wzCAKScnaBGT9ieoYOrz4hj5CK2uth1J6EqLvf11rdFVHFOmPpW n1MWm7dlUYjLUcvSW8Mzf2nSb6cxj5zMz5jLT/cWVBMRSV54Uk+ZDz9jDeoCweN/ahB4 R3Ew== X-Gm-Message-State: AOJu0Yz/XtJ3OewcJOwphKalOUYSiitNQf21gOpDveJ4aMS/IazirRB5 39YdzxErZE1qsGqOxQJyslB7Neg0HYSm2wM1nADuG2i+WYE5BRgZVzjQ0Gy7 X-Google-Smtp-Source: AGHT+IELWYVYNMvSEh3b//Uj72REfCEzgefu1ee9/4nmNtgjudhdbkjULVmRpXs5ir+GlDBFkzQ15VQxPoVpOcGNCoc= X-Received: by 2002:a05:622a:249:b0:427:9602:e6f7 with SMTP id c9-20020a05622a024900b004279602e6f7mr1290911qtx.21.1704395099701; Thu, 04 Jan 2024 11:04:59 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e2d; envelope-from=dthompson2@worcester.edu; helo=mail-vs1-xe2d.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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:19395 Archived-At: On Thu, Jan 4, 2024 at 6:36=E2=80=AFAM Damien Mattei wrote: > > thank you very much Tomas, > it solved my problem: > (symbol->keyword (list->symbol .... > me too i was digging the manual for 2 hours :-) > Damien > note: seems a bit weird anyway that guile react differently in this case > than Kawa and Racket Guile's behavior makes sense to me. #{...}# is syntax for symbols, not keywords. Symbols can contain any arbitrary characters. Starting a symbol with "#:" doesn't make it a keyword. Would you expect (string->symbol "#:hello") to return a keyword? I wouldn't. - Dave