Re: Installing Guile 3 on ArchLinux

2022-04-01 Thread Leo Butler
How about: L : [-.056165357653364,.7048726499160467, 0.0,-.704872649916047,.0561653576533636]; printf(true,"~{~17,14,,'0,f~%~}",L); -0.05616535765336 0.70487264991605 0.00 -0.70487264991605 0.05616535765336 To decompose the control string: ~{ ... ~} iterates over the list L;

Re: Shell commands with output to string

2022-02-22 Thread Leo Butler
Olivier Dion via General Guile related discussions writes: > On Tue, 22 Feb 2022, Zelphir Kaltstahl wrote: >> Hello Guile users! >> >> How would I run a shell command from inside Guile and get its output >> as a string, instead of the output being outputted directly? (Guile >> 3.0.8) > > I use

Re: Ideas for making Guile easier to approach

2022-02-10 Thread Leo Butler
Mikael Djurfeldt writes: > Den ons 9 feb. 2022 21:12Christine Lemmer-Webber > skrev: > >> >> ice-9 -> guile >> -- >> >> I think that ice-9 is a weird namespace for "guile's standard library" >> but it's what we have for historical reasons. My 2c: The guile reference manual is

Re: How to use guile in a development process

2021-04-30 Thread Leo Butler
Tim Meehan writes: >> >> How do I load a file from the current path that I'm in? >> But more importantly, what is the typical workflow when using guile? >> Do people write files to the filesystem and load them in the repl to try it >> out? >> Or is there a faster way to do things? I use geiser

Re: srfi-89 implementation for guile

2020-08-11 Thread Leo Butler
Martin Becze writes: > Hi Guilers, > I implemented srfi-89 (Optional positional and named parameters) > https://gitlab.com/mjbecze/guile-srfi-89/ > > It is hygienic and reuses guile's lambda* so there is minimal overhead. > > Cheers!, > -Martin Becze In

Re: "Missing" libraries/concepts found in other languages/ecosystems?

2020-07-09 Thread Leo Butler
Zelphir Kaltstahl writes: > To what others already have written I will add: > > From time to time one can copy ideas from Racket or look at what exists > in Racket for solving a problem or seeing what the approach is. > > Catonano identified already the lack of examples in the Guile guide. I >