[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 |
Hi,
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.
Mario
--
http://parenteses.org/mario
0001-read-lines-small-refactoring-and-some-tests.patch
Description: Text Data
- [PATCH] read-lines: small refactoring and some tests,
Mario Domenech Goulart <=