Commit graph

230 commits

Author SHA1 Message Date
Alex Shinn
dc524feabc add missing trailing ? on SRFI 144 inequality ops 2020-08-11 10:37:23 +09:00
Alex Shinn
5616d2fb87 adding uvector-segment test 2020-08-11 10:36:52 +09:00
Alex Shinn
a8e35f90fa s/max/max in vector-segment (issue #677) 2020-08-08 16:20:01 +09:00
Alex Shinn
ffeb960997 fixing uvector-reverse-copy (issue #676); ungeneralize unfold to take exactly one seed 2020-08-08 16:14:57 +09:00
Alex Shinn
90f0425c37 fixing distribution of random bignums, adding uniformity tests on the results (issue #675) 2020-08-07 12:40:07 +09:00
Alex Shinn
449312d3bd restoring hashing of trailing data for uvectors 2020-08-04 18:31:20 +09:00
Alex Shinn
b4520b31f5 hash should not take into account non-sexp trailing data (bug report from Arthur Gleckler) 2020-08-04 12:23:22 +09:00
Lassi Kortela
65b197f7de Implement SRFI 193: Command lines 2020-08-03 13:24:18 +03:00
Alex Shinn
5d2a9bcc3d SRFI 160 vector= differs from SRFI 133 in not taking an eq predicate (issue #674) 2020-07-31 15:09:46 +09:00
Alex Shinn
b7ffc4e700 Revert "SRFI 160 vector= differs from SRFI 133 in not taking an eq predicate (issue #674)"
This reverts commit 340c5aa2a8.
2020-07-31 15:08:59 +09:00
Alex Shinn
340c5aa2a8 SRFI 160 vector= differs from SRFI 133 in not taking an eq predicate (issue #674) 2020-07-31 15:00:03 +09:00
Alex Shinn
c726273c3b fixing distribution of random bignums 2020-07-29 12:15:20 +09:00
Alex Shinn
82acca4772 remove more tabs 2020-07-28 20:10:31 +09:00
Alex Shinn
648f615b77 tabs in srfi 146 2020-07-28 15:29:49 +09:00
Alex Shinn
d593a5cb0a death to tabs 2020-07-28 15:26:42 +09:00
Alex Shinn
edcddd7299 fixing 64-bit uvectors 2020-07-27 16:08:24 +09:00
Alex Shinn
97ea47686e implementing substring/preserve 2020-07-21 14:05:30 +09:00
Alex Shinn
bde8a618ec comments from adam nelson: fixing numeric/comma arg, wrapped doesn't append final newline 2020-07-20 17:41:34 +09:00
Alex Shinn
58f6509c6f adding some substring-terminal-width tests 2020-07-20 17:16:58 +09:00
Alex Shinn
bcbed04b3b fixing pretty-printed circular lists 2020-07-20 16:38:48 +09:00
Alex Shinn
983829cab1 better inexact computation for ratios which overflow double (issue #671) 2020-07-15 16:38:56 +09:00
Alex Shinn
fc33d6ffa3 implementing basic colors for pretty-with-colors 2020-07-14 23:58:27 +09:00
Alex Shinn
b4fb077fef random_r doesn't necessarily provide enough bits even for a fixnum (issue #668) 2020-07-13 10:27:04 +09:00
Alex Shinn
f2d38e36c7 fixing (srfi 159) after refactoring 2020-07-06 15:09:49 +09:00
Alex Shinn
a9faa6cc7b removing debugging (scheme write) import 2020-07-03 14:51:54 +09:00
Alex Shinn
36c3471fa7 adding substring/width 2020-07-03 14:45:36 +09:00
Alex Shinn
39344bcaa0 adding background colors, as-italic 2020-07-03 10:42:11 +09:00
Alex Shinn
e3fddebb26 even string-cursor->index/index->cursor are polymorphic 2020-07-03 09:43:26 +09:00
Alex Shinn
25e04e2a35 switch /si default base to 1000, remove show-columns export 2020-06-24 13:08:33 +09:00
Alex Shinn
532fb83e0a don't use nested show in pretty (issue #518); use string-width for computing width (issue #517) 2020-06-24 12:25:36 +09:00
Alex Shinn
e8f1233e18 cleaning up test names 2020-06-19 17:37:55 +09:00
Alex Shinn
afb4a432c9 replace (chibi string) with (srfi 130) in (srfi 166) 2020-06-18 00:00:45 +09:00
Alex Shinn
402e3c8fb1 making (chibi show) an alias of (srfi 166) 2020-06-17 23:39:24 +09:00
Alex Shinn
5b7729fbfc fixing whitespace 2020-06-16 11:43:47 +09:00
Alex Shinn
23f93cceb4 better fix for #618 2020-06-16 10:05:26 +09:00
Alex Shinn
08c72aca59 handle shared dotted tail in writing lists (issue #618) 2020-06-15 12:22:16 +09:00
Lukas Stoll
afba9d8c27 Correct record-type names in srfi 41 2020-06-09 19:50:13 +02:00
Lukas Stoll
4f23fb4e03 Add (scheme lazy) to imports for srfi 41 2020-06-09 15:05:41 +02:00
Lukas Stoll
6e2bd8d4b7 Use r7rs lazy primitives in srfi 41
Rewrite srfi 41 primitive layer in terms of r7rs primitives for delayed
evaluation.
2020-06-09 14:55:44 +02:00
Alex Shinn
c245d6cee8 fix case folding, update to unicode 13 2020-06-04 22:08:07 +09:00
Alex Shinn
1164ecf9b7 adding unicode-string-width/wide 2020-06-03 10:43:22 +09:00
Alex Shinn
255ee079e5 fix order of arguments in lset= 2020-05-27 14:27:31 +09:00
Alex Shinn
7b8b534a48 use (chibi test) for srfi 146 tests (issue #651) 2020-05-27 07:54:46 +09:00
Alex Shinn
11e0328fef adding (srfi 146 hash) 2020-05-26 17:05:07 +09:00
Alex Shinn
3a117b27aa adding srfi 146 2020-05-26 13:57:06 +09:00
Alex Shinn
fb079b2bda adding srfi 188 2020-05-26 10:12:27 +09:00
Alex Shinn
b1af52195a adding initial srfi 166 implementation 2020-05-25 19:01:03 +09:00
Alex Shinn
6b449150fc cleanup whitespace 2020-05-25 18:52:33 +09:00
Alex Shinn
6e8b9bf59d adding srfi 165 2020-05-17 00:08:00 +09:00
Vitaliy Mysak
f449bd157d fix compilation under std=c89
There were few things that prevented successful compilation
using c89 standard. (and other c* standards in case of gcc).
Fix them in this small patch.

Changes in 27/rand.c:
- Use __GNU_SOURCE__ instead of __GNU_LIBRARY__
  or else any of -std=c* options don't work with gcc
- Add a check before using rand_r() as suggested in rand_r(3)
- Move _WIN_32 definitions to "else" branch because it uses the most portable version
2020-05-13 11:12:02 +02:00