Skip to content

Commit

Permalink
Update for nontrivial-gray-streams
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Jan 5, 2024
1 parent a1b9648 commit 7947a43
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
container:
image: ghcr.io/yitzchak/archlinux-cl:latest
steps:
- name: Checkout trivial-stream-column
- name: Checkout nontrivial-gray-streams
uses: actions/checkout@v4
with:
repository: yitzchak/trivial-stream-column
path: trivial-stream-column
repository: yitzchak/nontrivial-gray-streams
path: nontrivial-gray-streams
- name: Checkout Incless
uses: actions/checkout@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ implementations that this system has been tested on.

In addition to a clone of this repository in a location that is
discoverable by ASDF you will also need a clone of
[trivial-stream-column][]. Incless does not implement pretty printing
or `format`. These systems are implemented by [Inravina][] and
[Invistra][] which work in coordination with Incless.
[nontrivial-streams-streams][]. Incless does not implement pretty
printing or `format`. These systems are implemented by [Inravina][]
and [Invistra][] which work in coordination with Incless.

# Usage

Expand Down Expand Up @@ -57,5 +57,5 @@ NIL
[Invistra]: https://github.com/s-expressionists/Invistra
[SBCL]: http://sbcl.org
[SICL]: https://github.com/robert-strandh/SICL
[trivial-stream-column]: https://github.com/yitzchak/trivial-stream-column
[nontrivial-gray-streams]: https://github.com/yitzchak/nontrivial-gray-streams

6 changes: 3 additions & 3 deletions src/integer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
(write-string "#x" stream))
(otherwise
(write-char #\# stream)
(write-integer-digits *print-base* 10 stream)
(write-integer-digits-alt *print-base* 10 stream)
(write-char #\r stream))))

(defun write-sign (integer stream)
Expand All @@ -123,9 +123,9 @@
(write-char (char *digit-chars* 0) stream))
((minusp integer)
(write-sign integer stream)
(write-integer-digits (- integer) base stream))
(write-integer-digits-alt (- integer) base stream))
(t
(write-integer-digits integer base stream)))
(write-integer-digits-alt integer base stream)))
;; Determine whether a trailing dot should be printed.
(when (and radix (= base 10))
(write-char #\. stream))))

0 comments on commit 7947a43

Please sign in to comment.