chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] A variant of Peter's "wiki2html"


From: Kon Lovett
Subject: Re: [Chicken-users] A variant of Peter's "wiki2html"
Date: Thu, 14 Feb 2008 17:12:40 -0800


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 <address@hidden> writes:

Hi,

Please see attachment.

Best Wishes,
Kon

Best Wishes,
Kon






reply via email to

[Prev in Thread] Current Thread [Next in Thread]