From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arun Isaac Newsgroups: gmane.lisp.guile.bugs Subject: bug#50127: [PATCH] doc: Fix typos. Date: Fri, 20 Aug 2021 01:48:47 +0530 Message-ID: <20210819201847.18988-1-arunisaac@systemreboot.net> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31147"; mail-complaints-to="usenet@ciao.gmane.io" To: 50127@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Aug 19 22:20:15 2021 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGoWL-0007oL-RS for guile-bugs@m.gmane-mx.org; Thu, 19 Aug 2021 22:20:14 +0200 Original-Received: from localhost ([::1]:37542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGoWJ-00082D-PS for guile-bugs@m.gmane-mx.org; Thu, 19 Aug 2021 16:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGoWA-00081o-9Z for bug-guile@gnu.org; Thu, 19 Aug 2021 16:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGoWA-0003sF-1y for bug-guile@gnu.org; Thu, 19 Aug 2021 16:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGoW9-0004yO-Qz for bug-guile@gnu.org; Thu, 19 Aug 2021 16:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 19 Aug 2021 20:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50127 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162940436119050 (code B ref -1); Thu, 19 Aug 2021 20:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Aug 2021 20:19:21 +0000 Original-Received: from localhost ([127.0.0.1]:60836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGoVR-0004x4-Lf for submit@debbugs.gnu.org; Thu, 19 Aug 2021 16:19:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGoVM-0004ws-T1 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 16:19:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGoVM-0007w0-KP for bug-guile@gnu.org; Thu, 19 Aug 2021 16:19:12 -0400 Original-Received: from mugam.systemreboot.net ([139.59.75.54]:47886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGoVG-0002uY-1T for bug-guile@gnu.org; Thu, 19 Aug 2021 16:19:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rkd381pJFgeTZjeK0BG+dwFcyAFpxOGSY9GEDOSuHoE=; b=NTMlO/IK/aBxlr02MdQkFkxCQz p+S0D3CRmWnaX3bK+dPArSh2esCFCnklSAJHONhBE027No6dGxfF7yDC2QJcv5rK1eF7Lf72yYNm7 shNHizZLkjXM5O39YmO/c98QKZbM2DzHrpYyTRRpR+Kewr9DhwdgiMuJxBs4mIzq9uewhIs2m8HGh UqtLsXiC7XtSmuDQ28aIEBNRlz0SIfNO9bIr/Las5LQay1zUtmBJEyXlULzWkYpVtCD3gF88BJTgH m41QoEGhg7LQzA8Sapc88L2X6wz8ZphhJYCQPaHV9wXtlQdOu/o15diRz4/5Pq1ds8YKnZVdwXyT0 o/5JLIYw==; Original-Received: from [192.168.2.1] (port=6906 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mGoV8-0007HT-2i; Fri, 20 Aug 2021 01:48:58 +0530 X-Mailer: git-send-email 2.32.0 Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10169 Archived-At: * doc/ref/api-foreign.texi, doc/ref/srfi-modules.texi: Fix typos. --- doc/ref/api-foreign.texi | 2 +- doc/ref/srfi-modules.texi | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi index 2bd460a88..a1a1016b0 100644 --- a/doc/ref/api-foreign.texi +++ b/doc/ref/api-foreign.texi @@ -606,7 +606,7 @@ Mutating the returned bytevector mutates the memory pointed to by @deffn {Scheme Procedure} bytevector->pointer bv [offset] @deffnx {C Function} scm_bytevector_to_pointer (bv, offset) -Return a pointer pointer aliasing the memory pointed to by @var{bv} or +Return a pointer aliasing the memory pointed to by @var{bv} or @var{offset} bytes after @var{bv} when @var{offset} is passed. @end deffn diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi index 2e66bafb9..e12ab8d75 100644 --- a/doc/ref/srfi-modules.texi +++ b/doc/ref/srfi-modules.texi @@ -5616,7 +5616,7 @@ since combining N of them builds @code{(- N 1)} intermediate lists. Transducers are oblivious to what kind of process they are used in, and are composable without building intermediate collections. This means we -can create a transducer that squares all even numbers: +can create a transducer that squares all odd numbers: @example (compose (tfilter odd?) (tmap (lambda (x) (* x x)))) @@ -5689,7 +5689,7 @@ reducer with result-so-far and the maybe-transformed input. A simple example is as following: @example -(list-transduce (tfilter odd?)+ '(1 2 3 4 5)). +(list-transduce (tfilter odd?) + '(1 2 3 4 5)). @end example This first returns a transducer filtering all odd @@ -5763,12 +5763,12 @@ and SRFI-158-styled generators respectively. @deffnx {Scheme Procedure} port-transduce xform f reader port @deffnx {Scheme Procedure} port-transduce xform f identity reader port -Same as @code{list-reduce} but for ports. Called without a port, it -reduces over the results of applying @var{reader} until the -EOF-object is returned, presumably to read from -@code{current-input-port}. With a port @var{reader} is applied to -@var{port} instead of without any arguments. If @var{identity} is -provided, that is used as the initial identity in the reduction. +Same as @code{list-transduce} but for ports. Called without a port, it +reduces over the results of applying @var{reader} until the EOF-object +is returned, presumably to read from @code{current-input-port}. With a +port @var{reader} is applied to @var{port} instead of without any +arguments. If @var{identity} is provided, that is used as the initial +identity in the reduction. @end deffn @@ -5844,7 +5844,7 @@ transduction. Returns a transducer that applies @var{proc} to all values. Stateless. @end deffn -@deffn tfilter pred? +@deffn {Scheme Procedure} tfilter pred? Returns a transducer that removes values for which @var{pred?} returns #f. Stateless. @@ -5889,7 +5889,7 @@ Stateful. @deffn {Scheme Procedure} tdrop-while pred? -Returns a transducer that discards the the first values for which +Returns a transducer that discards the first values for which @var{pred?} returns true. Stateful. @@ -5949,9 +5949,9 @@ Stateful. @end deffn @deffn {Scheme Procedure} tsegment n -Returns a transducer that groups @var{n} inputs in lists of @var{n} -elements. When the transduction stops, it flushes any remaining -collection, even if it contains fewer than @var{n} elements. +Returns a transducer that groups inputs into lists of @var{n} elements. +When the transduction stops, it flushes any remaining collection, even +if it contains fewer than @var{n} elements. Stateful. @end deffn @@ -6080,13 +6080,13 @@ The bytevector-u8 version of list-reduce. @end deffn @deffn {Scheme Procedure} port-reduce f identity reader port -The port version of list-reducer. It reduces over port using reader +The port version of list-reduce. It reduces over port using reader until reader returns the EOF object. @end deffn @deffn {Scheme Procedure} generator-reduce f identity gen -The port version of list-reduce. It reduces over @code{gen} until it -returns the EOF object +The generator version of list-reduce. It reduces over @code{gen} until +it returns the EOF object @end deffn @c srfi-modules.texi ends here -- 2.32.0