4 Apr 2008 15:46
Re: openair progress
Ken Tilton <kennytilton <at> optonline.net>
2008-04-04 13:46:51 GMT
2008-04-04 13:46:51 GMT
Andy Chambers wrote:
> I got the js-escape working better last night and went on to try and
> fill out the apropos demo but ran into
> some difficulties.
>
> I may need to rethink the macrology because when I put the following
> into the web-apropos model, I just got
> a list of progvs.
>
> (mk-div ()
> (mk-ul ()
> (loop for func in (apropos-list "prog")
> collect (mk-li ()
> (mk-text func)))))
Don't feel bad, that is frequent "gotcha" even for loop veterans (and it
is loop, not macrology, slowing you down (somewhat abbreviated):
(loop for x in (apropos-list "prog")
collect (let ((x x)) ;; shadow the "x" abused by loop
(mk-text x)))
> Also, only changes to attributes are getting propagated to the updates
> slot, not changes to kids.
Hey, just send me the latest code and I'll figure it out. If you do not
have aserve working, we can probably figure it out with a test harness
that writes updates to the console.
I would make a top-level class:
(Continue reading)
RSS Feed