guile-config: Command --help is not displayed when there are required arguments

2020-02-17 Thread sirgazil
Hi, When using "guile-config" for declaring my CLIs I've noticed that if I define an argument as non-optional for a command, then trying to display the --help of that command fails. Consider the following script which displays "What yummy apple!" when it's run like "$ eat apple": #+BEGIN_SR

Re: Happy birthday, Guile! - grid printing

2020-02-17 Thread Linus Björnstam
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

Re: Happy birthday, Guile! - grid printing

2020-02-17 Thread Zelphir Kaltstahl
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

Re: configuring apps for guile

2020-02-17 Thread Ludovic Courtès
Hi, Matt Wette skribis: > On 2/16/20 9:57 AM, Ludovic Courtès wrote: >> Hi, >> >> Matt Wette skribis: >> >>> What if you have a system that gives this (e.g., Ubuntu 18.04): >>> >>> mwette$ /usr/bin/guile -c "(display (assq-ref %guile-build-info >>> 'prefix)) (newline)" >>> /usr >>> >>> mwette$

Re: Happy birthday, Guile!

2020-02-17 Thread Ludovic Courtès
Hi! Ricardo Wurmus skribis: > What do you think about adding these things to > https://notabug.org/cwebber/guile-webutils/ ? This was once intended to > be a collection of useful tools that come in handy when writing web > applications. I didn’t know about guile-webutils but consolidating Web

Re: Happy birthday, Guile! - grid printing

2020-02-17 Thread Linus Björnstam
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 -- Linus Björnstam On Mon, 17