Re: About removing the low level thread API

2005-04-18 Thread Kevin Ryde
Marius Vollmer <[EMAIL PROTECTED]> writes: > > On the other hand, Guile itself both works on systems that do provide > a pthread API, and on systems that do not. C code written for Guile > might want to support both cases as well (being properly thread safe > by default, but still compilable even

doc list-matches, fold-matches

2005-04-18 Thread Kevin Ryde
list-matches and fold-matches in ice-9 regexp are exported but not documented. They look pretty useful, I think I'll add some words about them. (And I think I'll try to clarify how you ask for both regexp/notbol and regexp/noteol in the regexp-exec flags. They're a logior if I'm not mistaken.)

numerator/denominator

2005-04-18 Thread Kevin Ryde
Aubrey Jaffer noticed guile doesn't have r5rs numerator and denominator and proposes the definitions below. The head has them already with the exact fractions now, but I think I'll add these to the 1.6 branch. (define (numerator q) (do ((num q (* 2 num))) ((integer? num) num))) (define