Re: s48_extract_string?
Michael Sperber <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
Donald Allen <[email protected]> writes: > After your message, and reading between the lines in the manual, I changed it to > > (open 'external-calls) > (open 'load-dynamic-externals) > (load-dynamic-externals > "/home/dca/Finances/Invest/Options/Scheme48/postgresql.so" #f #f #f) > (import-lambda-definition pg_open_connection (dbname)) I think the complete code should be: (user) (open 'external-calls) (open 'load-dynamic-externals) (run '(load-dynamic-externals "/home/dca/Finances/Invest/Options/Scheme48/postgresql.so" #f #f #f)) (run '(import-lambda-definition pg_open_connection (dbname))) > I would like to make a general comment: in addition to the errors, > I've already reported, the documentation is awfully cryptic. I'm an > experienced Scheme programmer, have used MIT Scheme for many years and > have worked together with old friends Jerry Sussman and Chris Hanson > at MIT off and on over a period of 30 years. So if *I* can't > understand the manual, I'd suggest that it's just not saying what it > needs to say (this was never an issue with the MIT Scheme > documentation). If I continue to use Scheme48 (the attraction is the > FFI, which MIT Scheme doesn't have), I'll be happy to provide feedback > on the documentation (and the system itself, if appropriate) to try to > help improve it. That would be excellent - I've heard that often, but after all these years with Scheme 48, I don't see the problems anymore. PS: It seems you're working on PostgreSQL bindings. I'm currently working on a general DB access infrastructure with high-level queries. Would you be interested to contribute your code? -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla