On Feb 14, 2008, at 5:04 PM, Ivan Raikov wrote:


  Instead of passing (make-hash-table) to wiki->html as the extensions
argument, why not have the following:

  (define extensions (make-hash-table))

  (load-extensions-from-file extensions "enscript.scm")
  ...

  (wiki->html ...

              extensions
              (lambda (url)
                  (string-append "?page=" (stream->string url))))))) )

Of course, the load-extensions-from-file invocation could be made
optional, but this would allow loading of the various extensions
supplied with stream-wiki.

Nice.

I just copied the source from the e-mail. Almost no idea what the arguments mean.



   -Ivan


Kon Lovett <[EMAIL PROTECTED]> writes:

Hi,

Please see attachment.

Best Wishes,
Kon

Best Wishes,
Kon




_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to