From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jeremy Korwin-Zmijowski Newsgroups: gmane.lisp.guile.user Subject: Re: single-stepping throwgh a procedure is possible in guile 3? Date: Mon, 23 Mar 2020 22:56:48 +0100 Message-ID: References: <87zhcko9my.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-Z5q0U0QAZi/TS0PAKDPf" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38565"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wingo@pobox.com To: Michelangelo Rodriguez , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Mar 23 22:57:10 2020 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 1jGV4G-0009uf-Kj for guile-user@m.gmane-mx.org; Mon, 23 Mar 2020 22:57:08 +0100 Original-Received: from localhost ([::1]:40114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGV4F-0005M2-CF for guile-user@m.gmane-mx.org; Mon, 23 Mar 2020 17:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40321) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGV43-0005Lu-2x for guile-user@gnu.org; Mon, 23 Mar 2020 17:56:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGV41-0004ky-PW for guile-user@gnu.org; Mon, 23 Mar 2020 17:56:54 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:46121) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jGV41-0004jY-Hk for guile-user@gnu.org; Mon, 23 Mar 2020 17:56:53 -0400 X-Originating-IP: 91.169.127.99 Original-Received: from patch (91-169-127-99.subs.proxad.net [91.169.127.99]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 7FCC21BF204; Mon, 23 Mar 2020 21:56:49 +0000 (UTC) In-Reply-To: <87zhcko9my.fsf@gmail.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.201 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.lisp.guile.user:16340 Archived-At: --=-Z5q0U0QAZi/TS0PAKDPf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Le vendredi 13 mars 2020 à 11:02 +0100, Michelangelo Rodriguez a écrit : > Hi all, > I'm studying guile and scheme and as sayd in the subject, i would > like > to know if single-stepping throwgh a procedure is possible in guile > 3. > I looked at internet for information, and i found a reference that is > not applicable in guile 3. > Greetings, > Michelangelo > Hey Michelangelo ! What is the reference you are mentionning ? I saw Andy Wingo demonstrate something close to what you are looking for at Guix Days 2020, but failed to reproduce it back home haha. Maybe, if Andy see this thread and have some time to give some hints... :) I join snippets of what I have, but I don't know how to make them work in the REPL... Jérémy --=-Z5q0U0QAZi/TS0PAKDPf Content-Disposition: attachment; filename="traps2.scm" Content-Type: text/x-scheme; name="traps2.scm"; charset="UTF-8" Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChzeXN0ZW0gdm0gdHJhcC1zdGF0ZSkKCSAgICAgKHN5c3RlbSByZXBsIHJl cGwpCgkgICAgIChzeXN0ZW0gdm0gdm0pKQoKKHNldC12bS10cmFjZS1sZXZlbCEgMSkKCihkZWZp bmUgb25lcGx1cwogIChsYW1iZGEgKHgpCiAgICAoKyAxIHgpKSkKCih3aXRoLWRlZmF1bHQtdHJh cC1oYW5kbGVyCiAobGFtYmRhIChmcmFtZSBpZHggbmFtZSkKICAgKHN0YXJ0LXJlcGwpCiAgIChw ayBmcmFtZSBpZHggbmFtZSkpCiAobGFtYmRhICgpIChtYXAgb25lcGx1cyAnKDEgMiAzKSkpKQo= --=-Z5q0U0QAZi/TS0PAKDPf Content-Disposition: attachment; filename="traps.scm" Content-Type: text/x-scheme; name="traps.scm"; charset="UTF-8" Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChzeXN0ZW0gdm0gdHJhcC1zdGF0ZSkKCSAgICAgKHN5c3RlbSByZXBsIHJl cGwpCgkgICAgIChzeXN0ZW0gdm0gdm0pKQoKKHNldC12bS10cmFjZS1sZXZlbCEgMSkKCihkZWZp bmUgb25lcGx1cwogIChsYW1iZGEgKHgpCiAgICAoKyAxIHgpKSkKCihpbnN0YWxsLXRyYXAtaGFu ZGxlciEgcGspCgoobWFwIG9uZXBsdXMgJygxIDIgMykpCg== --=-Z5q0U0QAZi/TS0PAKDPf--