From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Linus =?UTF-8?Q?Bj=C3=B6rnstam?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#50127: [PATCH] doc: Fix typos. Date: Fri, 20 Aug 2021 13:11:28 +0200 Message-ID: <4a0a8f16-498f-4899-8e95-129c3ee0fc52@www.fastmail.com> References: <20210819201847.18988-1-arunisaac@systemreboot.net> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17058"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-1118-g75eff666e5-fm-20210816.002-g75eff666 To: "Arun Isaac" , 50127@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Fri Aug 20 13:12: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 1mH2RY-0004F3-Uk for guile-bugs@m.gmane-mx.org; Fri, 20 Aug 2021 13:12:14 +0200 Original-Received: from localhost ([::1]:54088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2RW-0004k9-SU for guile-bugs@m.gmane-mx.org; Fri, 20 Aug 2021 07:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH2RO-0004jV-Lh for bug-guile@gnu.org; Fri, 20 Aug 2021 07:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mH2RO-0000Na-Bj for bug-guile@gnu.org; Fri, 20 Aug 2021 07:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mH2RO-0006Ga-44 for bug-guile@gnu.org; Fri, 20 Aug 2021 07:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Linus =?UTF-8?Q?Bj=C3=B6rnstam?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 20 Aug 2021 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50127 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 50127-submit@debbugs.gnu.org id=B50127.162945792024081 (code B ref 50127); Fri, 20 Aug 2021 11:12:02 +0000 Original-Received: (at 50127) by debbugs.gnu.org; 20 Aug 2021 11:12:00 +0000 Original-Received: from localhost ([127.0.0.1]:33037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2RL-0006GK-Ko for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:12:00 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2RI-0006G6-LP for 50127@debbugs.gnu.org; Fri, 20 Aug 2021 07:11:57 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 96D425C00F3; Fri, 20 Aug 2021 07:11:50 -0400 (EDT) Original-Received: from imap44 ([10.202.2.94]) by compute1.internal (MEProxy); Fri, 20 Aug 2021 07:11:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=veryfast.biz; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm3; bh=txOfX ONGS0OrLsR9RkZtynh684EN0Y9i/vis2qHm1qk=; b=qOb2NC20BL8XosJzxa7Xn +HXHMyJv4XA0kSMwdb4wWJvD+ads7kU6J9TpOrqQzD424Nn7pEXuWkQyCl7zHW3y KqFFN2nbN3FzBvt4NmQ8mWP3BV+zv4O3Kzcn0pdEwokxWvJbD/SPMQhmQesV6dcO lra7qs7FQJnVymznv9NH14/mMa29Pfp/rGxG5qTkfDOvxnqq9Q8GhOsGbLzVTr/p PFsRqt+qwZIWp0D/Z0wQqQoVigeCJWpLa5d1VF88TRUUVg4IvbJuPIFfihqLn88f Lw6vsrZoo/g7RpcdyE7YB+pG9E62uqt9WF1DpZ02J88QIwx3ok0LbfaTmMUIau6x A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=txOfXONGS0OrLsR9RkZtynh684EN0Y9i/vis2qHm1 qk=; b=nLoK1dS02ifdVvXzwH/WkUTFtwgOoVLK6T97XJyIpU79O0B2OBWeoyO+M QmdvAzq8ZVh1q4VIlXCN5zZsXd+WojtGFl6/reQirE7nyPSYd4Fge/btyybcrqRv n2cFyYti93H7AjTIvCLnBwx2XEMxSiikW1gSFd7xnfHh+3ZmLxnEgEvT/TI+ljpT OnClLtVc3STRg4jSszUuoF5d/RGY4gpfbEe4ta4+ImNcRfuuQPAqb7nugXFjEDUI Y4cfDvXDGoS8x/W6b6ed2mkjDaRJCwvLU5QRdPfhfdOPzJSe3EeBO+hj0X+09AMO siHx5OGhi9NeAkr3FslOI4uKScEpA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleelgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepnfhinhhu shgpuehjnphrnhhsthgrmhcuoehlihhnuhhsrdgsjhhorhhnshhtrghmsehvvghrhihfrg hsthdrsghiiieqnecuggftrfgrthhtvghrnheptedvueetheeukeethfduvdejleetffeu vddvueduieeuvdettdeuheehvdejieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheplhhinhhushdrsghjohhrnhhsthgrmhesvhgvrhihfhgr shhtrdgsihii X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id A14FDFA0AA4; Fri, 20 Aug 2021 07:11:49 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <20210819201847.18988-1-arunisaac@systemreboot.net> 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:10170 Archived-At: As the author of most of the part with corrections: thank you. I am clea= ning up the reference implementation as well, so this is very welcome! --=20 Linus Bj=C3=B6rnstam On Thu, 19 Aug 2021, at 22:18, Arun Isaac wrote: > * 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(-) >=20 > 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 memor= y=20 > pointed to by > =20 > @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 > =20 > 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)}=20 > intermediate lists. > =20 > Transducers are oblivious to what kind of process they are used in, a= nd > 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: > =20 > @example > (compose (tfilter odd?) (tmap (lambda (x) (* x x)))) > @@ -5689,7 +5689,7 @@ reducer with result-so-far and the=20 > maybe-transformed input. > A simple example is as following: > =20 > @example > -(list-transduce (tfilter odd?)+ '(1 2 3 4 5)). > +(list-transduce (tfilter odd?) + '(1 2 3 4 5)). > @end example > =20 > 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 > =20 > -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 > =20 > =20 > @@ -5844,7 +5844,7 @@ transduction. > Returns a transducer that applies @var{proc} to all values. Stateles= s. > @end deffn > =20 > -@deffn tfilter pred? > +@deffn {Scheme Procedure} tfilter pred? > Returns a transducer that removes values for which @var{pred?} return= s #f. > =20 > Stateless. > @@ -5889,7 +5889,7 @@ Stateful. > =20 > =20 > @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. > =20 > Stateful. > @@ -5949,9 +5949,9 @@ Stateful. > @end deffn > =20 > @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} element= s. > +When the transduction stops, it flushes any remaining collection, even > +if it contains fewer than @var{n} elements. > =20 > Stateful. > @end deffn > @@ -6080,13 +6080,13 @@ The bytevector-u8 version of list-reduce. > @end deffn > =20 > @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 > =20 > @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} unt= il > +it returns the EOF object > @end deffn > =20 > @c srfi-modules.texi ends here > --=20 > 2.32.0 >=20 >=20 >=20 >=20 >=20