That is actually what I meant -- I was using #> .. <# and ##core#primitive, but foreign-primitive is "nicer" as it does type conversion for you, as long as you're okay with its constraints.
There were a few times I was worried I was using stuff that was "too internal" (i.e. not part of the documented interface). So I've just studied chicken and the eggs and used my best judgement. On 5/17/05, felix winkelmann <[EMAIL PROTECTED]> wrote: > On 5/15/05, Zbigniew <[EMAIL PROTECTED]> wrote: > > I was writing CPS code directly with foreign-declare (by studying > > compiled output) before discovering the much nicer foreign-primitive. > > It was a good way to learn the internals... ;) > Actually, you can use ##core#primitive, which is even more > fundamental (you can handle variable number of arguments, > for example). See library.scm for examples. > cheers, > felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
