Commit graph

23 commits

Author SHA1 Message Date
Alex Shinn
11cdc6930d The imaginary part of a non-complex is exact 0. 2012-12-21 21:39:23 +09:00
Alex Shinn
b4c2bbb625 delete-file raises a file-error on failure.
Other file operations continue to return #t/#f - may change this later.
2012-12-04 20:09:21 +09:00
Alex Shinn
54483179d2 Making chibi's write-string agree with R7RS.
Adding additional write tests.
2012-11-11 15:13:47 +09:00
Alex Shinn
2f5f7f73c7 Adding full unicode digit-value. 2012-11-11 13:38:17 +09:00
Alex Shinn
b3005cc0ee log takes two arguments now 2012-11-03 23:07:18 +09:00
Alex Shinn
72094b760b Fixing bug in vector-copy for non-zero start. 2012-11-01 22:55:07 +09:00
Alex Shinn
e53230c439 odd? should check absolute value of remainder 2012-11-01 20:33:37 +09:00
Alex Shinn
4f554499f8 char-ready? shouldn't block, should return #t on EOF 2012-10-21 18:10:45 +09:00
Alex Shinn
cec55dfe41 Adding let-optionals* to core as recommended way of handling optional arguments.
This is much faster (in chibi) and more concise than case-lambda.  Also adding
(chibi optional) for the let-optionals and opt-lambda variants.
Still need to add let-keywords*.
2012-10-21 17:22:16 +09:00
Alex Shinn
9aa03c0a09 Updating eqv? definition (from pre-bignum days) to latest R7RS definition. 2012-10-17 20:53:56 +09:00
Alex Shinn
1ba4aeecaf More optional start/end parameters. 2012-10-14 23:07:07 +09:00
Alex Shinn
31278c016a string-copy now takes start/end arguments 2012-10-14 22:52:16 +09:00
Alex Shinn
4d10734110 string->list now takes optional start/end params 2012-10-14 22:47:45 +09:00
Alex Shinn
287d1a992f Adding string-size and substring-cursor to the ASCII version. 2012-07-23 23:18:48 +09:00
Alex Shinn
3ee50bd0d7 length now requires a proper list.
It still accepts cyclic lists and returns #f, like SRFI-1 length+.
It's convenient to be able to accept improper lists (e.g. for
parameter lists), so the old behavior is available as length*.
Fixes issue #97.
2012-07-21 19:22:56 +09:00
Alex Shinn
a9784b56f8 raising an error on non-numeric input to number->string 2012-07-19 21:37:15 +09:00
Alex Shinn
57b2bc281d apply opcode is now tail-recursive - calling it in a non-tail position is an error 2012-07-18 21:34:53 +09:00
Alex Shinn
6adeccf173 closing port immediately on return with-{input-from,output-to}-file 2012-07-11 21:28:14 +09:00
Alex Shinn
38144adfc5 better source preservation from syntax-rules on restructured ellipsis patterns 2012-06-24 15:04:49 -07:00
Alex Shinn
c9d24497d9 Adding todo for dynamic-wind. 2012-06-23 23:41:37 -07:00
Alex Shinn
c4bf82842c updates for changes from results of the fifth ballot 2012-05-20 18:44:25 +09:00
Alex Shinn
c8f13f8538 Adding (scheme cxr) library, removing all other references to c[ad]{3,4]r. 2012-05-20 15:16:11 +09:00
Alex Shinn
85a7efc003 automatically making sockets non-blocking on accept 2012-05-14 08:37:45 -04:00