From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: examples addon and new hacker for guile Date: Sat, 05 Oct 2013 12:28:34 -0400 Message-ID: <87pprjadhp.fsf@netris.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1380990566 18089 80.91.229.3 (5 Oct 2013 16:29:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2013 16:29:26 +0000 (UTC) Cc: guile-devel@gnu.org To: Johan Ceuppens Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Oct 05 18:29:30 2013 Return-path: Envelope-to: guile-devel@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 1VSUjQ-00028N-MX for guile-devel@m.gmane.org; Sat, 05 Oct 2013 18:29:28 +0200 Original-Received: from localhost ([::1]:52408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSUjQ-0004iG-97 for guile-devel@m.gmane.org; Sat, 05 Oct 2013 12:29:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSUjJ-0004ha-C4 for guile-devel@gnu.org; Sat, 05 Oct 2013 12:29:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSUjE-00079M-4s for guile-devel@gnu.org; Sat, 05 Oct 2013 12:29:21 -0400 Original-Received: from world.peace.net ([96.39.62.75]:60242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSUjE-00077m-0f for guile-devel@gnu.org; Sat, 05 Oct 2013 12:29:16 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VSUiw-0000Rh-Jc; Sat, 05 Oct 2013 12:28:58 -0400 In-Reply-To: (Johan Ceuppens's message of "Thu, 3 Oct 2013 06:17:48 +0900 (JST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16670 Archived-At: Hi Johan, Johan Ceuppens writes: > I wonder if you would want an example in the repo with the following > actor syntax : > > ;; start code > (define (make-table) > (let ((dict (make-dictionary))) > (define (add! key color) > (dictionary-add! dict key color)) > (define (set! key color) > (dictionary-set! dict key color)) > (lambda (msg) > (cond ((eq? msg 'add!) add!) > ((eq? msg 'set!) set!) > (else (dict msg)))) > )) ;; end code Where are 'make-dictionary', 'dictionary-add!', and 'dictionary-set!' defined? Anyway, we already have a similar example in the manual: http://www.gnu.org/software/guile/manual/html_node/OO-Closure.html > Then I am going to try to contribute in the near future, I guess I need to > read up on things. Glad to hear it! We can certainly use more help :) > How do I get co-author status on the project's working repository ? We generally start out by asking new contributors to post their proposed patches to guile-devel or bug-guile for review, preferably in the format produced by git-format-patch. We push them when they're ready, with the new contributor listed as author of course. We grant commit access to regular contributors after we've gained some confidence in their abilities and their knowledge of Guile. Please don't hesitate to ask any questions you might have, either here or on IRC: #guile on irc.freenode.net. Thanks for your interest, and welcome to our community! Regards, Mark