From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Guile equivalent to JS promises? Date: Mon, 10 Dec 2018 13:49:51 +0000 Message-ID: <87woohfq4g.fsf@ossau.homelinux.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544449713 24891 195.159.176.226 (10 Dec 2018 13:48:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2018 13:48:33 +0000 (UTC) To: swedebugia@riseup.net, Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Dec 10 14:48:29 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWLvA-0006Of-Pg for guile-user@m.gmane.org; Mon, 10 Dec 2018 14:48:28 +0100 Original-Received: from localhost ([::1]:32921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWLxH-0006rc-8o for guile-user@m.gmane.org; Mon, 10 Dec 2018 08:50:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWLwp-0006q7-SQ for guile-user@gnu.org; Mon, 10 Dec 2018 08:50:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWLwk-0005wM-7q for guile-user@gnu.org; Mon, 10 Dec 2018 08:50:11 -0500 Original-Received: from ossau.homelinux.net ([18.217.239.99]:56836 helo=ip-172-31-40-63.us-east-2.compute.internal) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWLwc-0005t4-MT for guile-user@gnu.org; Mon, 10 Dec 2018 08:50:01 -0500 Original-Received: from henry.ossau.homelinux.net (79-72-11-19.dynamic.dsl.as9105.com [79.72.11.19]) by ip-172-31-40-63.us-east-2.compute.internal (Postfix) with ESMTPSA id 55074C4B6C; Mon, 10 Dec 2018 13:49:53 +0000 (UTC) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 18.217.239.99 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15040 Archived-At: swedebugia@riseup.net writes: > Hi > > I'm trying to understand JS promises. > > Are promises relevant in Guile? > > According to https://www.promisejs.org/ they seem to be a tool to > read/write JSON in a nonblocking way. > > Is this related to threading where the JS dev want multiple threads to > read stuff asynchroniusly at the same time? > > -- > Cheers > Swedebugia I don't know JS promises, but have you seen https://www.gnu.org/software/guile/manual/html_node/Delayed-Evaluation.html? Regards, Neil