SRFI 166/159 is like a Swiss army knife of formatting. (ice-9 format) on 
steroids if you will, running through molasses (it is about 3x slower than 
format).

It does columnar formatting, which with a bit of coercion could be made to 
cover your library (from what I gather from the tests). It will probably be 
slower though, since it uses call/cc to be able to handle streaming data. And 
it is user extensible which format strings never (?) are 

It is probably my all time favourite SRFI, up there with irregex. Both by the 
same author, no less :)

-- 
  Linus Björnstam

On Mon, 17 Feb 2020, at 15:58, Zelphir Kaltstahl wrote:
> Hey Linus!
> 
> Huh, interesting! This does more than my little tool. I don't understand
> all of it right now, but perhaps it can be used to make grids too.
> 
> Thanks for the hint. I did not know of its existence!
> 
> On 2/17/20 9:01 AM, Linus Björnstam wrote:
> > Hi Zelphir!
> >
> > You should check out SRFI 166 or 159. It has columnar printing built in. I 
> > ported it to guile and one implementation is available in guix (under a 
> > non-standard module name iirc).
> >
> > https://srfi.schemers.org/srfi-166/srfi-166.html#Columnar-Formatting
> >
>

Reply via email to