bug#59221: (file-exists? #f) raises an exception

2022-11-16 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
Jean Abou Samra writes: > Le 13/11/2022 à 07:44, to...@tuxteam.de a écrit : >> You both have a point. Checking for existing predicates with a >> longer tradition, though: >> >>scheme@(guile-user)> (exact? "mumble") >>ice-9/boot-9.scm:1685:16: In procedure raise-exception: >>In procedu

bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2022-11-16 Thread hylophile
Hi, while doing my first steps in Guile and porting a small shell script, I noticed that capturing stdout from a subshell is very slow: $ time guile -c '(begin (use-modules (ice-9 popen) (ice-9 rdelim)) (display (read-delimited "" (open-input-pipe "ls"' # real0m0,313s user0m0,008

bug#59325: The documentation of `map` is confusing

2022-11-16 Thread Jacob Hrbek
The sentence '-- Scheme Procedure: map' is defined twice each with different inputs and explanation: -- Scheme Procedure: map proc arg1 arg2 ... -- Scheme Procedure: map-in-order proc arg1 arg2 ... -- C Function: scm_map (proc, arg1, args) Apply PROC to each element of the list ARG1 (if only two