unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Rottmann <a.rottmann@gmx.at>
Subject: Re: How do I really do this?
Date: Wed, 10 Mar 2004 22:07:19 +0100	[thread overview]
Message-ID: <87ad2o1ke0.fsf@ivanova.rotty.yi.org> (raw)
In-Reply-To: 85ad2tkg9j.fsf@ossau.uklinux.net

Neil Jerram <neil@ossau.uklinux.net> writes:

> Bruce Korb <bkorb@veritas.com> writes:
>
>> OK.  This works:
>> 
>>    (define sym-name (value-function))
>> 
>> So, why doesn't this:
>> 
>>    (define (string->symbol "sym-name") (val-func))
>
> Because this is the syntax for defining a procedure, and needs to be
> one of:
>
> (define (string->symbol) ...)
> (define (string->symbol ARG1 ...) ...)
> (define (string->symbol . ARGS) ...)
>
> where all the ARGs must be symbols (not strings).
>
> Also, string->symbol is already defined, so why are you trying to
> redefine it?
>
> Perhaps you're not trying to redefine it?  In which case, I still
> don't understand what you are trying to do.
>
I think he maybe wants to define a variable named after a
string. </wildguess>

Andy
-- 
Andreas Rottmann         | Rotty@ICQ      | 118634484@ICQ | a.rottmann@gmx.at
http://yi.org/rotty      | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Say NO to Software Patents! -- http://petition.eurolinux.org/



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2004-03-10 21:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-03 23:52 How do I really do this? Bruce Korb
2004-03-06 12:17 ` Neil Jerram
2004-03-06 17:43   ` Bruce Korb
2004-03-06 18:00     ` Neil Jerram
2004-03-10 21:07       ` Andreas Rottmann [this message]
2004-03-10 22:21       ` Carl Witty
2004-03-12 17:18         ` Bruce Korb
2004-03-11 14:54       ` Paul Jarc
2004-03-06 20:50 ` Mikael Djurfeldt
2004-03-07  1:33   ` Bruce Korb
2004-03-10 23:44   ` Marius Vollmer
2004-03-14  2:54     ` Bruce Korb
2004-03-08  2:27 ` Paul Jarc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ad2o1ke0.fsf@ivanova.rotty.yi.org \
    --to=a.rottmann@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).