From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Can format procedure output unquoted strings? Date: Tue, 12 Apr 2011 22:18:51 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302660061 22525 80.91.229.12 (13 Apr 2011 02:01:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 02:01:01 +0000 (UTC) Cc: "guile-user@gnu.org" To: "Whitlock\, Bradley D" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Apr 13 04:00:56 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9pO4-0007wZ-8Y for guile-user@m.gmane.org; Wed, 13 Apr 2011 04:00:56 +0200 Original-Received: from localhost ([::1]:50672 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9pO3-0006vu-Sv for guile-user@m.gmane.org; Tue, 12 Apr 2011 22:00:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9pHQ-0003AM-7d for guile-user@gnu.org; Tue, 12 Apr 2011 21:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9k2d-0004ry-7N for guile-user@gnu.org; Tue, 12 Apr 2011 16:18:28 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:47579 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9k2d-0004rq-5E for guile-user@gnu.org; Tue, 12 Apr 2011 16:18:27 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id D182C43F8; Tue, 12 Apr 2011 16:20:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Vs7rnW+sxOoZPSCvZqNHCHcNaFE=; b=w1oy8j N2ZF7R8Z3n6X7jQSKxzWdpoYvJHHnSLGpewODRZfZcGj1dtRo+b6yI0TK5kLpNri OU8PEOZjfoSy8fSVC3NpXgnEnV38TRoFz/p48/CL3QkVCylTKeIohPIJ1ZtEN+lU F/J8DmJjOCCvolI8bU7MLocwARIulj0xxQlgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=bBaw6parVKTJcqlfniH1rh1SLSJje6Ln ZOtEvYKl1sceLbikyefiESn0GrtxlGGCpL5Qtb7ZvADO4A5NT/K3Fme+fuDTd5vZ u6WFKDqa3RPMVSEEeOUq+ruHQ/6RChDeUCPntkPoj2mbV0rf0FrDNOj6JZqZXY6s 8/GO+hOs6W4= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BF87B43F7; Tue, 12 Apr 2011 16:20:20 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 2FC2743F4; Tue, 12 Apr 2011 16:20:18 -0400 (EDT) In-Reply-To: (Bradley D. Whitlock's message of "Tue, 12 Apr 2011 11:44:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 4A21359E-6542-11E0-8CC8-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:8589 Archived-At: Hi Bradley, On Tue 12 Apr 2011 17:44, "Whitlock, Bradley D" writes: > I am trying to get the format procedure to behave like the display procedure where it will not surround output to stdout with quotes Use ~a instead of ~s. scheme@(guile-user)> (format #t "~a\n" "foo") foo $1 = #t scheme@(guile-user)> (format #t "~s\n" "foo") "foo" $2 = #t See "Formatted Output" in the manual for all the gory details. Have fun with Guile, Andy -- http://wingolog.org/