Hi,

Am 21.12.2011 um 13:56 schrieb Sam Aaron:

> One approach to achieving that is to create a special type which represents 
> the data and for which you also override the print-method.

A simple approach is a get-option-info and a print-option-info. Toolsmiths use 
get-option-info to get the data structure while REPL users use the show-options 
which feeds the output of get-option-info into print-option-info.

Seems less involved than a new type. ;)

Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to