Re: htmlgen ignores function return value
- From: Bulent Murtezaoglu <bm@xxxxxxx>
- Date: Sun, 30 Oct 2005 19:32:39 +0200
>>>>> "cb" == canburak <canburak@xxxxxxxxx> writes:
[...]
cb> I couldn't find the missing part. I am doing all of these in
cb> Slime REPL or writing to a file and evaluating via C-x
cb> C-e. The answers from you will possibly make me to dislike
cb> myself as I guess that I am missing a simple bit.
Hmm, dunno, I think you can keep liking yourself. I don't use that
package, but it seems to me what you are is that there's implicit stream
for the output, namely net.html.generator:*HTML-STREAM*. So using
the document you provided the link to, I came up with the hints
below that might be helpful:
;;badly formatted sorry
CL-USER> net.html.generator:*HTML-STREAM*
NIL
CL-USER> (net.html.generator:html (:html
(:head (:title "title"))
(:body "b" (:princ "o") "d" "y")))
<html><head><title>title</title></head><body>bdy</body></html>
"</html>"
;;NOTE: did not work
CL-USER> (net.html.generator:html-stream *standard-output*
(net.html.generator:html
(:html
(:head (:title "title"))
(:body "b" (:princ "o") "d" "y"))))
<html><head><title>title</title></head><body>body</body></html>
"</html>"
;;NOTE: did work
cheers,
BM
.
- Follow-Ups:
- Re: htmlgen ignores function return value
- From: Can Burak Cilingir
- Re: htmlgen ignores function return value
- From: Bulent Murtezaoglu
- Re: htmlgen ignores function return value
- References:
- htmlgen ignores function return value
- From: canburak
- htmlgen ignores function return value
- Prev by Date: Re: What do we mean by "Identical" ?
- Next by Date: Re: Lisp code for reading
- Previous by thread: htmlgen ignores function return value
- Next by thread: Re: htmlgen ignores function return value
- Index(es):
Relevant Pages
|