On 21 Dec 2011, at 12:42, Laurent PETIT wrote:

> 
> As a tool builder, I'd also be interested if what is printed in *out*
> by these functions could also be made available as pure data, so that
> e.g. at some point in time, CCW could provide a specialized tabular
> view to display (edit?) this information.
> 
> What do you think about that ?

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

I've been playing with this sort of thing in Overtone:

https://github.com/overtone/overtone/blob/master/src/overtone/repl/shell.clj

Sam

---
http://sam.aaron.name


-- 
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