From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: list->c32vector and list->c64vector should accept complex numbers Date: Fri, 01 Apr 2011 16:46:19 +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 1301669310 23566 80.91.229.12 (1 Apr 2011 14:48:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 14:48:30 +0000 (UTC) Cc: bug-guile@gnu.org To: Tobias Brandt Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Apr 01 16:48:26 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5feD-0004Pi-Hb for guile-bugs@m.gmane.org; Fri, 01 Apr 2011 16:48:25 +0200 Original-Received: from localhost ([127.0.0.1]:43478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5feC-000242-I1 for guile-bugs@m.gmane.org; Fri, 01 Apr 2011 10:48:24 -0400 Original-Received: from [140.186.70.92] (port=33015 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5fbz-0001A9-32 for bug-guile@gnu.org; Fri, 01 Apr 2011 10:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5fbx-0001Gc-Pw for bug-guile@gnu.org; Fri, 01 Apr 2011 10:46:06 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:41403 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5fbx-0001GO-NT for bug-guile@gnu.org; Fri, 01 Apr 2011 10:46:05 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 013BB3912; Fri, 1 Apr 2011 10:47:54 -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=o3SiVpPPwM+td3aPRY2209u43GY=; b=GgrfJg sefav2yC2N6J+J3vUKuKT65X0Yn4ccA+ZGyg+r01sIftJVJUQDBwMQ0DMxAQ2OqU qtyS2/8QS2lmwUr0R4vIj60aibYZKuMbDOaaCNCcAXCrycPxflgwxeV1htdt/fNO nNIJ89hiaQzcvrwMTClbuabtFTblUEoDmgifM= 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=SpjIepmnOBJ8tFOlF2CyRiaGzi/G2bnP tkzvW5afjnUoytAjxrgXxtzpJoNcCaHLYs/V2onPfJVFuZb/C3U/CI4vAj0AMfcp SxpeYydUejqJsmGlIdAAg1zkpknPqZTm8hr3OHzswsHuXpv1hkyLqV6lTb1e8nM6 k7HmFP6OWrs= 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 E14C43911; Fri, 1 Apr 2011 10:47:51 -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 3B9F6390D; Fri, 1 Apr 2011 10:47:49 -0400 (EDT) In-Reply-To: (Tobias Brandt's message of "Fri, 1 Apr 2011 08:24:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 0522A396-5C6F-11E0-90F1-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: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5405 Archived-At: On Fri 01 Apr 2011 08:24, Tobias Brandt writes: > I expected this to work: > > scheme@(guile-user)> (use-modules (srfi srfi-4 gnu)) > scheme@(guile-user)> (list->c64vector '(1.0+1.0i)) > srfi/srfi-4/gnu.scm:92:2: In procedure bytevector-c64-native-set!: > srfi/srfi-4/gnu.scm:92:2: Wrong type (expecting real number): 1.0+1.0i Indeed. Fixed in git, thanks for the report. Andy -- http://wingolog.org/