From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [IPv6:2a0c:5a00:149::26]) by sourceware.org (Postfix) with ESMTPS id AFB4F3870849 for ; Fri, 10 May 2024 20:19:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AFB4F3870849 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bothner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bothner.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AFB4F3870849 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a0c:5a00:149::26 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715372390; cv=none; b=gzrbrMyrnNWVUmtybt5ThV+j299T8rCv5ZFHQHq6j/9LCXKqPXrJHU24kTPwRAZhuidwUGe//slRbyb4J+CM7GkucGVLm0mwGAiVcji03dlSDMy4TmolIBRXkIlLJAR5zDvn8cUJaReAWxrUhpbVdW7fKQ5gcYfWXTlpLnIzJws= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715372390; c=relaxed/simple; bh=ySnXRW7JkOOLJ7+qgB/aqksgKAdSWNdWqG3AKjoO4eg=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=cHJ0LHlV2H5n2zO9hN+4GFDITGoDJIVs+gdwjlgDsyG4wiYd1lkzK0eg1ODBzs1BMI25Ufookdap/6V1ljWw5KNNr8qTpqBIjyOpzspy5NM6HpOeRZAQXOmVn0HGbNhCDi0s/k4CQe3EPKJkZAsQ/kfDWJoqcTQhL1q3sx1v1DI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1s5WiY-005Luz-Vh; Fri, 10 May 2024 22:19:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bothner.com ; s=selector1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID; bh=knu7fmWg6kf5BSO2UpnzPQCK6V2r3FWYlltDt87DtJQ=; b=ZLyChDMCMvD8IXbOZSKDjM/Rti ugjnIdYJPLTngWzH+ayavdR2TkwD7uk10f/DhlgPvzch7WFLp1stP3wdqDwQ6eHzp0OLKeIHFwKxk JqbWIqeglmZXi/9G4ceIb+mQqCb62nRVIWL6D+NUwvt9MBBlbHgg/OBTDx7dVs6pN/6Hx7/l/VHrt ufa8iHo9i+E6BLz73HBoGr2GEycS/3edBOW/L8YXSIrUU5eum+MHPVsFQyHARNoOCecaMeCkjKBTl +in3EgTNeNwyZ6viKhNFDbtIlrMSLjSLqDXCeFQdcleEKPMEBTImX5QJooYVuaEBfEU8L9rlAJdSA mTgmvISg==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1s5WiY-0006fS-IG; Fri, 10 May 2024 22:19:46 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (524175)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1s5WiG-00EFmS-UY; Fri, 10 May 2024 22:19:29 +0200 Message-ID: <9e584c45-8a18-458b-ba2b-0f27450490d7@bothner.com> Date: Fri, 10 May 2024 13:19:17 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Evaluating definitions from another thread To: Panicz Maciej Godek , kawa References: Content-Language: en-US From: Per Bothner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 5/10/24 1:15 PM, Panicz Maciej Godek via Kawa wrote: > Hi, > > I've noticed that when I call > > (future (eval '(define x 5))) > > then the variable x remains unbound after the execution > - even though when I invoke (eval '(define x 5)), x gets bound to 5 as > expected. This might work: (define x #f) (future (eval '(set! x 5))) -- --Per Bothner per@bothner.com http://per.bothner.com/