Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Hi. I'm a newbie and I'm learning Scheme.
I'd like to know how I can perform a substitution in a list.
I mean: I want to write a function that takes two arguments: a list where
the atoms are 1-character strings and a list of replacements (each
describing a 1-character string and its 1-character replacement). It should
yield the list whic results from performing the substitutions specified in
the list pairs on the input list.
substitute ((a (b c) d) a (f b)) ((a z) (b y))
returns the list ((z (y c) d) z (f y))
Thanks in advance.
View this message in context: http://www.nabble.com/substitution-tf3059188.html#a8506074
Sent from the clisp-list mailing list archive at Nabble.com.
From: Dave Roberts <dave@vy...> - 2007-01-22 17:58:55
> Hi. I'm a newbie and I'm learning Scheme.
Then you are definitely posting this to the *wrong* list.
The clisp list is for the discussion of the CLISP Common Lisp
*implementation*, not for Scheme-related questions or general Lisp
newbie questions. If you have specific questions about CLISP, you are
welcome to post them here.
For your particular sorts of questions, comp.lang.scheme would be a much
better place, although they will tend to get you to solve your own
homework problems, rather than simply feeding you answers. You can find
comp.lang.scheme on Google Groups.