Re: make-vtable

2007-02-13 Thread Ludovic Courtès
Hi, Kevin Ryde <[EMAIL PROTECTED]> writes: > I made a bit of a start trying to improve the structures section of > the manual, I always found it pretty hard to follow. One big > stumbling block for me was vtables, but I now see if you want to make > a struct you have to make a vtable vtable, and

Re: struct tail array, compare and segv

2007-02-13 Thread Ludovic Courtès
Hi, Kevin Ryde <[EMAIL PROTECTED]> writes: >> but their semantics are a >> little fuzzy to me. In particular, I don't understand why the size of >> the tail array can be specified in both `make-vtable-vtable' and >> `make-struct': What does that mean? > > Nosing around the code, I think make-vta

Re: make-vtable

2007-02-13 Thread Kevin Ryde
[EMAIL PROTECTED] (Ludovic Courtès) writes: > > (let* ((vtable (make-vtable-vtable "pr" 0)) > (s1 (make-struct vtable 0 "hello")) > (s2 (make-struct vtable 0 "hello"))) >;; S1 and S2 are both "regular" one-field structs. I know the "values" struct is do

doc make-record-type printer func

2007-02-13 Thread Kevin Ryde
Unless it's meant to be a secret :), I thought I'd show the printer func argument of make-record-type in the manual, -- Scheme Procedure: make-record-type type-name field-names [printer] Create and return a new "record-type descriptor". TYPE-NAME is a string naming the type. Currentl