From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jamil egdemir Newsgroups: gmane.lisp.guile.user Subject: guile analog of join in python for strings? Date: Sun, 14 Dec 2014 06:58:51 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1418558350 9639 80.91.229.3 (14 Dec 2014 11:59:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2014 11:59:10 +0000 (UTC) To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 14 12:59:04 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y07pH-0002aW-QI for guile-user@m.gmane.org; Sun, 14 Dec 2014 12:59:03 +0100 Original-Received: from localhost ([::1]:35705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y07pH-0007yd-0p for guile-user@m.gmane.org; Sun, 14 Dec 2014 06:59:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y07p8-0007yO-Mp for guile-user@gnu.org; Sun, 14 Dec 2014 06:58:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y07p7-0004WJ-Kq for guile-user@gnu.org; Sun, 14 Dec 2014 06:58:54 -0500 Original-Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:54975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y07p7-0004W8-DT for guile-user@gnu.org; Sun, 14 Dec 2014 06:58:53 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id l18so12277410wgh.26 for ; Sun, 14 Dec 2014 03:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vpSms+AFjvH6ug6PSfVCT/5sT9hGW9uvDGomrrqcFhc=; b=jnze2UPefYAvDJGfWZpPZWdJwiRMbztebXyJGBXtdcHdXmuXKpZbItre22qj2a1WBG Rr7JTMnSe3HHyfrqTkyGfyXzQIRxTWdmEbOJ0NfXMMLJuXAhqVPzVlBMZZqIKppRQJG5 UOaHr9JNOtA4c5RGAjI8VKx+z/ZxrYRsG52e6NkB8lSqooZDWaKhrhjw2RlmrYD8pwr+ T9cx4oU2XMCGWMO7n306qaIz27dxdmY4cdZsZ0s+e6/OKAEIDcb3vnlaGYT0eJ2Fglco jBVgs2aBvEs8bu49IWn2eg+jxnWG0yoVYZ2kvgrOEV+6IpZMUR5G3AWhiJPuIXvzdZgC 8RTg== X-Received: by 10.180.36.162 with SMTP id r2mr22447664wij.75.1418558331836; Sun, 14 Dec 2014 03:58:51 -0800 (PST) Original-Received: by 10.27.6.202 with HTTP; Sun, 14 Dec 2014 03:58:51 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::235 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11667 Archived-At: Hi Everyone, 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? -j -- ------------------------------------------------------------- Jamil Egdemir unclejamil@gmail.com http://www.power-quant.com (631) 338-3170 (cell) -------------------------------------------------------------