From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: Re: get all available symbols in scheme Date: Mon, 13 Jun 2016 21:22:15 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1465845762 10612 80.91.229.3 (13 Jun 2016 19:22:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2016 19:22:42 +0000 (UTC) Cc: "guile-user@gnu.org" To: source liu Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jun 13 21:22:42 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bCXRY-0008L0-BB for guile-user@m.gmane.org; Mon, 13 Jun 2016 21:22:40 +0200 Original-Received: from localhost ([::1]:58837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCXRX-0003Tk-Bf for guile-user@m.gmane.org; Mon, 13 Jun 2016 15:22:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCXRC-0003TZ-KU for guile-user@gnu.org; Mon, 13 Jun 2016 15:22:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCXRB-0002Bu-Io for guile-user@gnu.org; Mon, 13 Jun 2016 15:22:18 -0400 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:35451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCXRB-0002Bq-Bb for guile-user@gnu.org; Mon, 13 Jun 2016 15:22:17 -0400 Original-Received: by mail-wm0-x233.google.com with SMTP id v199so91666636wmv.0 for ; Mon, 13 Jun 2016 12:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=c2NL4yQcjUq+QuMPvZOxVSa7toEWu/5Q4Q6U9pq6atY=; b=IioNYX1NGh/XNOzk6SvLbNAvjiBywJ159kwLhR+FMqaGZM/ugqbEJScEMAseZTnpEw U3C2tTIt/Jkm3zV/v3A2TQA0gNL49rRlpWn7DaEN3/Jj9/oOB8tyjCPSUwry9UwyXQwc Kzt3rCLXKJduxKNAvUaCOVa72V6k4EovZIdW5Sw0Dlf5r5hCpvPb28jSD63UDIsG/lFv E6vrDxUFa+RRxRhpTpYdgjTbDGvbSDV9t3KCyz/RedDyQwPo7953SOw1lpUam2Bhni0d 1snbU73zuvceEFafBHxdAaEwjFeL7uvvUUjjkBUb4BW+lNWGSCzGr4QiKuKjT+ebO7f9 ztRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=c2NL4yQcjUq+QuMPvZOxVSa7toEWu/5Q4Q6U9pq6atY=; b=AoqAItaYwnWtHJ+T8ViYkiUJ5o7g2HT2TXYDKRseKcwwc5WHMN8/Lpp0MkA41RxtKd TzU2zOyoHq5IUXCm/vJTo7g4PTs7/F+Iy4ReQy6slNTsLtCJIACY7unafBfowVI6qloL bQ8xsh12PwoIXJzJJMz5GzPAanu9SLFtHOy/biJ9YgG0NwOkM0bcMM18AqDSrgNyXS/P 1GzBxyYNdXcBaK4tdRru1ZXveQOTA4bOCqpcYfaoO7isRzkERLQ7tOrjiA8CORdl9uEp PzXz7o/wR0QDqDEY6jtz2jGlMTEKxVsuVgnXxbYgZ26QDPQG/WLrLlNt/EShA7iH+ym/ znUA== X-Gm-Message-State: ALyK8tLTeLl1RDbPdU1f9wMpqeI59mjzpA7RrZBTwQq7c319IJj3ZC7pKFZaDnZ3k//KuB1raweWF6Y08WpCXA== X-Received: by 10.28.133.210 with SMTP id h201mr2508810wmd.86.1465845736487; Mon, 13 Jun 2016 12:22:16 -0700 (PDT) Original-Received: by 10.194.179.98 with HTTP; Mon, 13 Jun 2016 12:22:15 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:12633 Archived-At: I don't think it is a very portable solution, but you can use "module-obarray" procedure that returns an appropriate hash table, for example: (hash-map->list cons (module-obarray (current-module))) (You can use resolve-module with quoted module name for other modules) Best regards, Panicz 2016-06-13 20:38 GMT+02:00 source liu : > Hi=EF=BC=8C > > glad to join the list > > I wonder if there is some way to dump all available symbols in current > enviroment=EF=BC=88something like =E2=80=9Cdir=E2=80=9D in python=EF=BC= =89=EF=BC=8C i think it is very useful when > you are trying new modules > > I have tried the guile reference guide as well as google=EF=BC=8Cbut cant= find any > clue > > Any suggestion=EF=BC=9F > > great thanks > > > -- > Liu An > Institution of modern physics, Shanghai, China >