Commit graph

21 commits

Author SHA1 Message Date
Alex Shinn
83fb186edc Wrapping continuable exceptions in specially tagged exceptions rather than pairs.
This way C functions that check for and print exceptions support them
automatically.  Notably continuable errors in macro expansions, will had
temporarily been suppressed, are printed again.
2013-06-15 17:47:37 +09:00
Alex Shinn
f8a5f7e004 exact-integer-sqrt should continue the babylonian method in scheme.
The estimate given by the C code could be off by a large margin when
the result is inexact, converging far too slowly if we use simple
increments in Scheme.
2013-04-14 04:59:49 +00:00
Alex Shinn
0daa2f270a Ensuring exact-integer-sqrt always returns positive remainders.
Moving out of (chibi) into only (scheme base).
2013-01-05 23:45:30 +09:00
Alex Shinn
97ee1b7b65 Fixing read-bytevector! on no input (adapted patch from Lorenzo). 2012-12-29 09:29:05 +09:00
Alex Shinn
bf2eaea22b Fixing same source/dest in *-copy!. 2012-11-23 21:01:41 +09:00
Alex Shinn
0c7a01d13a Updated order of read-bytevector! arguments. 2012-11-23 17:28:07 +09:00
Alex Shinn
6a47ebde08 Moving floor* and truncate* to (scheme base). 2012-11-11 17:07:34 +09:00
Alex Shinn
33326888f0 Making rationalize on inexact numbers agree with the standard.
I still think this is pointless though.
2012-11-04 21:39:55 +09:00
Alex Shinn
73ea9c4e7a Adding input-port-open? and output-port-open?. 2012-11-01 23:42:33 +09:00
Alex Shinn
ed443d42a2 adding bytevector procedure 2012-11-01 23:12:20 +09:00
Alex Shinn
dd168e5506 Fixing (byte)vector-copy! for non-zero at. 2012-11-01 23:05:12 +09:00
Alex Shinn
c8f3ba78a8 fixing string-copy! 2012-11-01 22:41:47 +09:00
Alex Shinn
74d0980b82 Adding file-error? and read-error? predicates. 2012-10-14 23:27:16 +09:00
Alex Shinn
42f3b77b46 adding vector-append and bytevector-append 2012-10-14 23:15:31 +09:00
Alex Shinn
1ba4aeecaf More optional start/end parameters. 2012-10-14 23:07:07 +09:00
Alex Shinn
bc4d01eac0 Adding include and include-ci to (scheme base).
The cwd is undefined - these macros are useless.
2012-10-14 22:37:46 +09:00
Alex Shinn
993e690891 Removing -partial bytevector variants. 2012-10-14 22:26:27 +09:00
Alex Shinn
b5046925f7 Fixing read-bytevector to use read-u8 instead of the hacked definition in terms of read-string. 2012-10-13 22:37:24 +09:00
Alex Shinn
47b88c850f Adding (features) procedure. 2012-10-09 00:27:56 +09:00
Alex Shinn
c4bf82842c updates for changes from results of the fifth ballot 2012-05-20 18:44:25 +09:00
Alex Shinn
85a7efc003 automatically making sockets non-blocking on accept 2012-05-14 08:37:45 -04:00