Re: ptob object scm_t_bits vs long

2006-05-29 Thread Marius Vollmer
Kevin Ryde <[EMAIL PROTECTED]> writes: > scm_make_port_type returns scm_t_bits, but the various setting > functions like scm_set_port_mark take a long. Should they be > scm_t_bits too? Yes. Good catch. If you are motivated, you might think about cleaning up and documenting the ports API... but

Re: throw.c SCM_CDAR line 739

2006-05-29 Thread Marius Vollmer
"Bill Schottstaedt" <[EMAIL PROTECTED]> writes: > If SCM_DEBUG_PAIR_ACCESSES is 1, throw.c line 739 triggers an error > about accessing a non-pair. Perhaps it should be: > >!scm_is_pair (SCM_CAR (wind_goal)) || !scm_is_eq (SCM_CDAR (wind_goal), > jmpbuf); Yes, correct! The wind list used t

Re: equal? on arrays

2006-05-29 Thread Marius Vollmer
Kevin Ryde <[EMAIL PROTECTED]> writes: > Marius Vollmer <[EMAIL PROTECTED]> writes: >> >> It should clearly be possible to use equal? with all kinds of arrays. >> If this isn't the case, we would need to fix. > > Eg, picking out a diagonal with a shared array: > > (equal? (make-shared-array #2