the very first let binding in clojure.inspector/old-table-model should be:
row1 (some #(when-not (nil? %) %) data)
instead of
row1 (first data)
simply because it will fail if the (first data) returns nil...
where do we submit minor improvements like this?
Jim
On 16/06/12 13:26, Jim - FooBar(); wrote:
It would be nice to have the option to supply the keys to
'inspect-table' just in case the first element is nil...this is
exactly the behaviour of 'clojure.pprint.print-table' where providing
the keys is indeed an option. Both will fail when the first element is
nil but at least 'print-table' allows us to provide the keys in
advance...
Jim
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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