guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is wrong with these few lines of guile code?


From: Pjotr Prins
Subject: Re: What is wrong with these few lines of guile code?
Date: Sat, 4 Nov 2017 12:46:04 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]