On Tue, Mar 10, 2009 at 9:40 AM, Timothy Pratley
<[email protected]> wrote:
>
>> What form would you suggest? XML, something else ...
>
> Just a regular Clojure map is what I was thinking:
> http://groups.google.com/group/clojure/web/categories.clj
Looks great!
> Obviously having the categories as metadata would be neat, but the
> advantage of having a separate regular map is that no change to core
> is required. It can just be in contrib and used for interactive help
> (better syntax required):
> user=> (cat/categories :bindings)
> #{"def" "binding" "defonce" "declare" "if-let" "with-local-vars"
> "let"}
>
> Or generating your html:
> user=> (cat/write-html)
> http://groups.google.com/group/clojure/web/cat.html
>
> As you can see I've suggested some super-categories... but my html
> formatting is not so hot :P
It's a good start! Do you want to support any number of nested
categories or just two deep?
--
R. Mark Volkmann
Object Computing, Inc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---