From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: why not "stripes" in: (let ((zebra 'stripes) ... ; strings vs symbols? Date: Wed, 01 Jan 2014 18:29:40 +0100 Organization: Aioe.org NNTP Server Message-ID: <87ha9nbof6.fsf@nl106-137-194.student.uu.se> References: <87iou4dgjf.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388597441 27701 80.91.229.3 (1 Jan 2014 17:30:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jan 2014 17:30:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 01 18:30:50 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1VyPd0-0005X8-AH for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jan 2014 18:30:46 +0100 Original-Received: from localhost ([::1]:41979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyPcz-0006sS-U5 for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jan 2014 12:30:45 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: VVbyYd/iFZoeWNmD9i++cQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:LmR/LC/qf/iG93ZFbiiFU/QEi78= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:202955 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95224 Archived-At: Evans Winner writes: >> The only thing I can think of that I saw in other >> languages and not in Lisp is *pattern matching*: >> branching straight off the functions' heads, like it >> is possible to do (and a very common practice) in >> languages like Erlang, SML, and Haskell. But I >> suppose it could be implemented as a Lisp macro if >> you really cared for it. > > For what it's worth, you might find Shen interesting > > shenlanguage.org > > From the "Shen in 15 Minutes" page: > > (define factorial 0 -> 1 X -> (* X (factorial (- X > 1)))) Yes, that's exactly what I meant, and that looks like a mix of Lisp and Erlang. -- underground experts united: http://user.it.uu.se/~embe8573