From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aleksandar Sandic Newsgroups: gmane.lisp.guile.user Subject: [ANN] guile-msgpack: MessagePack for GNU Guile (+ help needed) Date: Thu, 20 Sep 2018 13:15:24 +0200 Message-ID: <1775809.DTpK0xyCCj@aleksandar-ixtreme-m5740> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1537442033 20352 195.159.176.226 (20 Sep 2018 11:13:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2018 11:13:53 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 20 13:13:49 2018 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 1g2wu1-00056d-7Q for guile-user@m.gmane.org; Thu, 20 Sep 2018 13:13:45 +0200 Original-Received: from localhost ([::1]:49581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2ww7-0005rO-Sb for guile-user@m.gmane.org; Thu, 20 Sep 2018 07:15:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2wvk-0005rF-SS for guile-user@gnu.org; Thu, 20 Sep 2018 07:15:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2wvh-0003Cs-Oj for guile-user@gnu.org; Thu, 20 Sep 2018 07:15:32 -0400 Original-Received: from mout02.posteo.de ([185.67.36.142]:59967) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g2wvh-000396-HK for guile-user@gnu.org; Thu, 20 Sep 2018 07:15:29 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 616A72112A for ; Thu, 20 Sep 2018 13:15:26 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42GDfj3PG2z9rxH for ; Thu, 20 Sep 2018 13:15:25 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.142 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:14895 Archived-At: I have renamed `pack!` and `unpack!` to `pack-to` and `unpack-from`, following the advice about not using the exclamation mark suffix with side effects regarding ports. I have also changed the order of arguments so the first argument to `pack-to` is the port and the rest is an arbitrary number of objects to pack. (pack-to (current-output-port) 2 3 "hello") I think this also rolls better off the tongue: pack to the current output port 2, 3 and "hello".