Hi Denis,
I've released 0.3.1 which should fix that explicit failure. Now table
should just use the default width of 200. If you want table to use your
full terminal width, `export COLUMNS`. Otherwise, you can control the width
directly by binding table.width/*width*. And of course I removed the
datomic deps ;)
Cheers,
Gabriel
On Tuesday, July 24, 2012 4:52:00 AM UTC-4, Denis Labaye wrote:
>
> Hi,
>
> Seems cool.
> Is it supposed to work in an Emacs (slime) repl?
>
> When I tried on of the examples: (table [["1" "2"] ["3" "4"]])
> I've got a [Thrown class java.lang.NumberFormatException]
>
> And when looking where the code breaks, when doing :
> (clojure.java.shell/sh "/bin/sh" "-c" "stty -a < /dev/tty")
>
> I've got:
> {:out "speed 38400 baud; *rows 0; columns 0*; <snip>}
>
> Also I had to remove a Datomic deps in the project declaration :)
> [table "0.3.0" :exclusions [com.datomic/datomic]]
>
> (By the way, searching "datomic" on clojars make the web page break:
> https://clojars.org/search?q=datomic).
>
> Cheers,
>
> Denis
>
> On Tue, Jul 24, 2012 at 7:37 AM, Gabriel Horner
> <[email protected]>wrote:
>
>> Hi,
>> Announcing a new version of table, https://github.com/cldwalker/table,
>> a clojar that prints ascii tables for almost any data structure. This
>> release allows tables to automatically fit your terminal's width.
>>
>> Thanks,
>> Gabriel
>>
>> --
>> 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<https://groups.google.com/group/clojure?hl=en>
>
>
>
--
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