From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taylan Kammer Newsgroups: gmane.lisp.guile.devel Subject: Re: cond-expand-provide and (scheme base) Date: Fri, 23 Oct 2020 04:57:12 +0200 Message-ID: <710e78e9-daeb-511e-b230-248cc3d77fdb@gmail.com> References: <87k0viunj3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Oct 23 04:57:31 2020 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 1kVnGl-0000H6-PQ for guile-devel@m.gmane-mx.org; Fri, 23 Oct 2020 04:57:31 +0200 Original-Received: from localhost ([::1]:49550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVnGk-0007yE-OS for guile-devel@m.gmane-mx.org; Thu, 22 Oct 2020 22:57:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVnGY-0007wp-LD for guile-devel@gnu.org; Thu, 22 Oct 2020 22:57:18 -0400 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:44836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVnGW-0008Pr-Uf for guile-devel@gnu.org; Thu, 22 Oct 2020 22:57:18 -0400 Original-Received: by mail-ej1-x632.google.com with SMTP id a3so263133ejy.11 for ; Thu, 22 Oct 2020 19:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=etnomN/GExUBj/1gq58puJbYL9qWbBcjxipwtewdU9U=; b=uzQjnM52QiKeXRtipMbDtOK3mrTJM549D4IjU4T+u70JKvpUydK6v3nEZiDDn46yO3 ksHke4ARUzaU5qpPnV8uUcB9SDDeXwNMU70cYExoyN2rFgekQcWHlj5WnIjeLzWWzmMS G9YvYzt4HS5eoXItUhyP9r0MRu0EnqOv2Pa74VQHsmFZdP4YuWMYCuVU1smaMXdTPwu4 GvL4uuVm1u03HQph7hVHoe/wzZCvh1nkb5cgn0Y7NKWsGWD8YggIJgN6oblnP9vaMXGp 4oSFDMZ6sgN7AV2dyuTYVuhpU+2hdlplEzTTgf3W68SkadgZmf2xAJxGYf9oRne/tNH6 nzJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=etnomN/GExUBj/1gq58puJbYL9qWbBcjxipwtewdU9U=; b=ss6He4tM8oL0o/sXevGLO22tTS3w6qvzenADWun0EkeIl2ZHuAKREHfbVek1QJoIx0 5aKBOSsvjMzb0gqLffLKQsgWXSwMJTQ4Z7ToklPtT30gqZQSRisWScpBB9qVPxo+OpB8 7F0TayuPdAKf2RhRjaoNRbyKPcx2+iNuMx93hBOQBF+P49u0tKLx/4HPAPmJYKtuX4re xiSWA2u9O0sfzEm2BUhswlj5VKVCaJbe2ldVC4iPA0Y32UXdCyyPkIkt5qHyYYSASfOh 9i6sa6i4yvNg53qbxfWNpHP3UQmC9RGygvmBp92+0I8aICYcRF2FdzvHLm7mo2/dc0io N19Q== X-Gm-Message-State: AOAM530BUD7VsH+lOZKQ8sFS2svbWPaBSOyZp2SMR4EmmaPmYpnYGN2z lWlXFlSRELoTke9qH48/UA0Tik7aEvQ= X-Google-Smtp-Source: ABdhPJw+aUq3DvsfSc7L9SgZonhVxlJHiIngY/59QKfPNiPuuI6gc370L0L6sMfXCHF3xVzFpU18zQ== X-Received: by 2002:a17:906:93ef:: with SMTP id yl15mr4972149ejb.529.1603421834705; Thu, 22 Oct 2020 19:57:14 -0700 (PDT) Original-Received: from [192.168.0.2] (ip-176-199-234-65.hsi06.unitymediagroup.de. [176.199.234.65]) by smtp.gmail.com with ESMTPSA id vr3sm31322ejb.124.2020.10.22.19.57.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 19:57:14 -0700 (PDT) In-Reply-To: <87k0viunj3.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=taylan.kammer@gmail.com; helo=mail-ej1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.107, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 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" Xref: news.gmane.io gmane.lisp.guile.devel:20600 Archived-At: On 22.10.2020 20:24, Taylan Kammer wrote: > I think the following discrepancy should probably be fixed: > > $ guile -L ~/src/scheme/bytestructures/ > guile> ,use (scheme eval) > guile> (eval '(cond-expand (lp64 #t) (else #f)) > (environment '(guile) ; <=== DIFFERENCE HERE > '(bytestructures guile numeric-data-model))) > $1 = #t > guile> (eval '(cond-expand (lp64 #t) (else #f)) > (environment '(scheme base) ; <=== DIFFERENCE HERE > '(bytestructures guile numeric-data-model))) > $2 = #f To clarify: The module (bytestructures guile numeric-data-model) provides the 'lp64' condition via 'cond-expand-provide'. The 'cond-expand' imported from the (guile) module correctly sees this, but the one imported from (scheme base) seems to ignore it. Taylan