[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] read-lines: small refactoring and some tests

From: Mario Domenech Goulart
Subject: [PATCH] read-lines: small refactoring and some tests
Date: Sun, 26 Jul 2020 17:05:35 +0200


Attached is a patch with [hopefully] small improvements for
`read-lines'.  The patch:

* removes a hardcoded arbitrary value for `max' which was clobbering the
  default value specified in the optional declaration when `read-lines'
  was called with #f as value for `max'

* removes an apparently spurious use of `or' around `(eq? n 0)'

* makes `read-lines' check whether `max' is a fixnum

* adds a couple of tests for `read-lines'

* document the default value of `max' in the manual

All the best.

Attachment: 0001-read-lines-small-refactoring-and-some-tests.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]