chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Columnar text display code?


From: Robin Lee Powell
Subject: [Chicken-users] Columnar text display code?
Date: Thu, 5 Jul 2007 17:25:04 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

Someone *must* have written this.  Probably lots of someones.  May I
have your code?

The problem is (very) simple.  I have:

(("foo" "1" "bar") ("baz" "baaaaaaaaz" "2"))

I wish to output (something like):

 foo  1           bar
 baz  baaaaaaaaz  2

That is, given a list of lists of strings and a given screen width,
pad the strings appropriately and join them, returning a list of
strings.

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]