From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Catonano Newsgroups: gmane.lisp.guile.user Subject: Re: type friction C <-> scheme Date: Sat, 10 Jun 2017 08:26:41 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497076030 2366 195.159.176.226 (10 Jun 2017 06:27:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Jun 2017 06:27:10 +0000 (UTC) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jun 10 08:27:06 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJZrV-0000SS-TV for guile-user@m.gmane.org; Sat, 10 Jun 2017 08:27:06 +0200 Original-Received: from localhost ([::1]:57392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJZrb-0002PN-9m for guile-user@m.gmane.org; Sat, 10 Jun 2017 02:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJZrC-0002PH-5V for guile-user@gnu.org; Sat, 10 Jun 2017 02:26:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJZr9-0005ht-8c for guile-user@gnu.org; Sat, 10 Jun 2017 02:26:46 -0400 Original-Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:36682) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJZr9-0005hc-0C for guile-user@gnu.org; Sat, 10 Jun 2017 02:26:43 -0400 Original-Received: by mail-wr0-x232.google.com with SMTP id v111so50887759wrc.3 for ; Fri, 09 Jun 2017 23:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=W3BrILwhaMFUTyNikrjqViW2nSok1VgWktEUECbdC+A=; b=G7hfNFVKZETFFKV7zHpmN52plIlOJZVsIK/wgBGA1jiLx6DYns9J6UmsY/+SWaLEAu weGftW0/xUl6jZnhCjhgd94sixc5L75Ca5ZVopMqKzpgBYK8jiaq5fB8/poGAEW3/n5c zRBwJX1zIS0YVnSfUVsowcPjmLcUE6eDtpz9YPmhFhkbZYOogo7NPk4C8Siy2Ug4dVpL 0g8g0QzlhLMGGFCzzqNBT5Kp0ro80q8BdwgFEnLl0bg6O9ybE4hFM5hAIhcroQDhtarM FwkYlQuDpKR356RHGhcobK6VM2+BECJ6eFiNa+8FHtpTHDQZIbgs4VvxRfI56qzky5oM HKMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=W3BrILwhaMFUTyNikrjqViW2nSok1VgWktEUECbdC+A=; b=orEeRgXwHLq+HVPgvx3enDEEGQAxWV7jGdGpGiYdAJ5hNzOk2bKKOYup1/UzoF48fz D8MMXLcO/MoFah8JVV+i6M9Zlwy3yY6tWCMOEinOtAe3G/BXB5TZxIF2HOHNP1euWrz8 4aB6bKfr+ziTxjTJ2ryp7K2gFVhL5KhmLus9Zyk3EQZjgF2XPXtiY77ZmWpD/Ikc5C/l ALjfMJcHjW2V6A6ms3PZYDodJhDBPMqztqfX98H4n+HbuBgVZjvVJWU9L4rS9/Qta69i 6lhV5n4dVnHBqI+UEGQyvcGKVTyHKaOcRGXzAO5kGVChuP0lTsP2HP0jnYGK8QHLdr0M 25kA== X-Gm-Message-State: AODbwcDrXMCcTT6m/9wKLAkqqwmo5gJb0qVMpIKh2wagirA6nWnYwzJW ikZMNZDt0dcBf9RXlCLuR3cxZO6HKQ== X-Received: by 10.80.175.34 with SMTP id g31mr34985169edd.24.1497076002007; Fri, 09 Jun 2017 23:26:42 -0700 (PDT) Original-Received: by 10.80.131.4 with HTTP; Fri, 9 Jun 2017 23:26:41 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:13795 Archived-At: 2017-06-10 0:33 GMT+02:00 Matt Wette : I think Mike caught your real error: you were passing (list =E2=80=98* =E2= =80=98int =E2=80=98*) and > it wants (list =E2=80=98* int =E2=80=98*). `int=E2=80=99 is a variable d= efined by guile. > And isn't `*' a variable defined in guile too ? > > scheme@(guile-user)> (use-modules (system foreign)) > scheme@(guile-user)> int > $1 =3D 8 > yes, and scheme@(freexl common)> * $14 =3D # I took a look at the guile-gcrypt code again it's full of things like '(* * ,int ,size_t *) that is, only asterisks (pointers) are quoted Other types are not So this must be an established convention It just seems unconsistent to me