> On 10 Dec 2022, at 18:27, Ludovic Courtès wrote:
>
> ...
> Of these only #2 is something we could work on. However, truncation has
> proven to be a hindrance sometimes (in backtraces, objects are
> automatically), so I’m not sure we want to enable it by default on
> wrong-type-arg error mes
Hi,
lloda skribis:
> I think excessive output is a more serious problem, because it should be
> possible to go to a backtrace frame and look at objects directly. On the
> other hand, it should also be possible to C-c when guile starts to flood the
> terminal. But neither of these workarounds
Hello,
Arne Babenhauserheide writes:
> Hello Hans-Werner Roitzsch,
>
> It looks like you’re mixing up two concepts: the fac creates a module
> and loads the fact which is not a module, so basically main and choose
> live in another namespace than fact (define-module starts a new
> namespace).
>
This patch is needed to improve C99 compatibility:
diff --git a/configure.ac b/configure.ac
index b3879df1f..cc865a028 100644
--- a/configure.ac
+++ b/configure.ac
@@ -904,7 +904,7 @@ AC_CACHE_VAL(guile_cv_localtime_cache,
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include
#include
extern char **enviro
Hello,
Josselin Poiret skribis:
>> I would call this one ‘primitive-spawn’ rather than ‘spawn*’ and keep it
>> private to (ice-9 popen).
>
> Is there any reason we would want this to not be accessible to the user?
> There are already a bunch of functions that manipulate raw fdes, and
> people mi
Hi,
Maxim Cournoyer writes:
[...]
> I have the following two files:
>
> fact:
>
> #!/run/current-system/profile/bin/guile \
> -e main -s
> !#
> (define-module (fact)
> #:export (fact))
>
> (define (fact n)
> (if (zero? n) 1
> (* n (fact (- n 1)
>
> (define (main args)
> (display (f