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: Ivan Raikov
Subject: Re: [Chicken-users] A variant of Peter's "wiki2html"
Date: Fri, 15 Feb 2008 10:04:47 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

  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.


   -Ivan


Kon Lovett <address@hidden> writes:

> Hi,
>
> Please see attachment.
>
> Best Wishes,
> Kon




reply via email to

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