From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel Subject: Re: record-case? Date: Fri, 5 Nov 2010 22:40:01 +0100 Message-ID: <201011052240.01465.stefan.itampe@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288993326 21608 80.91.229.12 (5 Nov 2010 21:42:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2010 21:42:06 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 05 22:42:01 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PEU2r-0002uL-Hu for guile-devel@m.gmane.org; Fri, 05 Nov 2010 22:42:01 +0100 Original-Received: from localhost ([127.0.0.1]:57958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEU0f-0002f2-87 for guile-devel@m.gmane.org; Fri, 05 Nov 2010 17:39:45 -0400 Original-Received: from [140.186.70.92] (port=52236 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEU0V-0002bx-6O for guile-devel@gnu.org; Fri, 05 Nov 2010 17:39:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEU0T-0008KW-Tm for guile-devel@gnu.org; Fri, 05 Nov 2010 17:39:35 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:37185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEU0T-0008KL-PQ for guile-devel@gnu.org; Fri, 05 Nov 2010 17:39:33 -0400 Original-Received: by fxm2 with SMTP id 2so2836163fxm.0 for ; Fri, 05 Nov 2010 14:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Rr9x0997XJ4ROxIPD/TmChg884spPBhNqLm+zlpa7Ro=; b=wyZJlhIz+XUz8DLjJ0SmHQUhFYuSCh5JAJWi1ubL95zjZHWIltjlia2wwj41pw3kUz 0cm2GqA7u7Y/f4rXyJshG3ZbJ70QdlVntlk4z3qjdEsmrGhXcpnTTAslVPPLXNVdPuyT tlNA/kDwkTEnnFtE8AH6ADZV4M8uh+rkwNFYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=twNS8WdJAHBo5iDXr5+uZfE3E4Vpw0tMUOOnKiXtlU0zRQc5kifZb9w9Z4esReC3Ji 0TYtljn8Zy3GwA9NuYmZsBSftOcQxYS9QsPwCdxc2Esr1r+uwz6u6Xoq6mtS6tARgQhu XVi8MfRe1k8f0H1LUPbF7gT35z0AEtREyyNeI= Original-Received: by 10.223.115.6 with SMTP id g6mr1397002faq.128.1288993172857; Fri, 05 Nov 2010 14:39:32 -0700 (PDT) Original-Received: from linux-s4gz.localnet (1-1-1-39a.veo.vs.bostream.se [82.182.254.46]) by mx.google.com with ESMTPS id r22sm875797fax.45.2010.11.05.14.39.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Nov 2010 14:39:31 -0700 (PDT) User-Agent: KMail/1.13.5 (Linux/2.6.34.7-0.3-desktop; KDE/4.4.4; x86_64; ; ) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11121 Archived-At: On Friday, November 05, 2010 09:53:15 pm Noah Lavine wrote: > Hello, > > I was just reading module/language/tree-il/compile-glil.scm, and I > noticed it used a construct called 'record-case'. It looked neat, but > I didn't see documentation for it in any of the obvious places in the > manual (the section on records or the pattern-matching section). Is it > public? If so, is there documentation somewhere? > > Thanks, > Noah Lavine Yes it looks like a cool thing, code for it is in (use-moules (system base syntax)) There you see how it works ;-) But perhaps the author can point to the pros and cons. Cheers /Stefan