unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Marko Rauhamaa <marko@pacujo.net>
To: jamil egdemir <unclejamil@gmail.com>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: guile analog of join in python for strings?
Date: Sun, 14 Dec 2014 14:43:46 +0200	[thread overview]
Message-ID: <87388iiepp.fsf@elektro.pacujo.net> (raw)
In-Reply-To: <CAOa+0ouL9r=E9EHwPyD97NhAVpu7VLDud5tY-jc-4R=8a-bVgw@mail.gmail.com> (jamil egdemir's message of "Sun, 14 Dec 2014 06:58:51 -0500")

jamil egdemir <unclejamil@gmail.com>:

> Is there an analog of the following (from Python) in Guile?
>
> In [4]: "++GLUE++".join(['this', 'is', 'a', 'test'])
> Out[4]: 'this++GLUE++is++GLUE++a++GLUE++test'
>
> Or perhaps a better question to ask:  What is the
> canonical way to do the same thing in Guile?

string-join


Marko



  reply	other threads:[~2014-12-14 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-14 11:58 guile analog of join in python for strings? jamil egdemir
2014-12-14 12:43 ` Marko Rauhamaa [this message]
2014-12-14 13:05 ` Amirouche Boubekki
2014-12-14 13:57   ` jamil egdemir

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=87388iiepp.fsf@elektro.pacujo.net \
    --to=marko@pacujo.net \
    --cc=guile-user@gnu.org \
    --cc=unclejamil@gmail.com \
    /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).