From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: What is wrong with these few lines of guile code? Date: Sat, 4 Nov 2017 12:46:04 +0100 Message-ID: <20171104114604.GA16111@thebird.nl> References: <20171031175028.71f40cc5@cbaines.net> <0086dc34-2b3a-25f6-2420-2dfe18568e13@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eAwvp-0002z9-8m for guix-devel@gnu.org; Sat, 04 Nov 2017 07:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eAwvm-00040C-8B for guix-devel@gnu.org; Sat, 04 Nov 2017 07:48:09 -0400 Received: from mail.thebird.nl ([95.154.246.10]:43618) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eAwvm-0003zh-1W for guix-devel@gnu.org; Sat, 04 Nov 2017 07:48:06 -0400 Content-Disposition: inline In-Reply-To: <0086dc34-2b3a-25f6-2420-2dfe18568e13@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel On Fri, Nov 03, 2017 at 03:34:23PM +0100, Hartmut Goebel wrote: > Am 31.10.2017 um 18:50 schrieb Christopher Baines: > > This matches the error you're getting, as #~ is short for (gexp ...) as > > I understand it. > > Thanks you, this did the trick :-) Although this reminds my on the magic > signs in perl :-( It is not magic (unlike Perl). In Guile you can use almost any character to give something a name. This does not come natural to us non-Lisp programmers. The #~ is merely an agreed convention to name certain macros. And macros, essentially, are syntax expansions. No magic. Though macros can do magic, but that is a different story ;) Pj.