Re: bytevector seems to be missing in Guile

2023-01-08 Thread Robby Zambito
Sascha Ziemann writes: > But quote from R7RS page 29: > >> For convenience and ease of use, the >> global Scheme environment in a REPL must not be empty, >> but must start out with at least the bindings provided by >> the base library. Yes I think it's a bug (or at least misleading) that using

Re: Exception with multiple irritants

2023-01-08 Thread Maxime Devos
On 25-11-2022 01:03, Zelphir Kaltstahl wrote: ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR:   1. &contract-violated   2. &message: "contract violated"   3. &origin: bla   4. &irritants: (> foo 10)   5. &irritants: (> 10 10) I don't understand this -- (> 10 10) is always

Re: [ANN] Guile-Parallel 1.0.0 released

2023-01-08 Thread Zelphir Kaltstahl
On 1/8/23 16:55, Olivier Dion wrote: On Sun, 08 Jan 2023, Zelphir Kaltstahl wrote: user@user-desktop:~/dev/advent-of-code-2022/day-14$ guix shell \ --file=guile-parallel/.guix.scm \ --with-source=guile-parallel=guile-parallel user@user-desktop:~/dev/advent-of-code-2022/day-1

Re: [ANN] Guile-Parallel 1.0.0 released

2023-01-08 Thread Olivier Dion via General Guile related discussions
On Sun, 08 Jan 2023, Zelphir Kaltstahl wrote: > > user@user-desktop:~/dev/advent-of-code-2022/day-14$ guix shell \ >> --file=guile-parallel/.guix.scm \ >> --with-source=guile-parallel=guile-parallel > user@user-desktop:~/dev/advent-of-code-2022/day-14$ guile Try with: --8<

Re: [ANN] Guile-Parallel 1.0.0 released

2023-01-08 Thread Zelphir Kaltstahl
On 1/8/23 15:44, Olivier Dion wrote: On Sun, 08 Jan 2023, Zelphir Kaltstahl wrote: On 12/31/22 21:31, Olivier Dion wrote: On Sat, 31 Dec 2022, Zelphir Kaltstahl wrote: Maybe I can already make use of it in coming AoC puzzles. Any sort of feeback is welcome! Hello Olivier! May I ask ho

Re: [ANN] Guile-Parallel 1.0.0 released

2023-01-08 Thread Olivier Dion via General Guile related discussions
On Sun, 08 Jan 2023, Zelphir Kaltstahl wrote: > On 12/31/22 21:31, Olivier Dion wrote: >> On Sat, 31 Dec 2022, Zelphir Kaltstahl wrote: >> >>> Maybe I can already make use of it in coming AoC puzzles. >> Any sort of feeback is welcome! > > Hello Olivier! > > May I ask how to make use of the libra

Re: [ANN] Guile-Parallel 1.0.0 released

2023-01-08 Thread Zelphir Kaltstahl
On 12/31/22 21:31, Olivier Dion wrote: On Sat, 31 Dec 2022, Zelphir Kaltstahl wrote: Maybe I can already make use of it in coming AoC puzzles. Any sort of feeback is welcome! Hello Olivier! May I ask how to make use of the library? I cloned the project onto my local machine in a subfolder

Re: Exception with multiple irritants

2023-01-08 Thread Zelphir Kaltstahl
On 11/25/22 01:03, Zelphir Kaltstahl wrote: Hello Guile Users! I have a question regarding exception creation in general and maybe in specific about irritants. I created a new exception type: (library (exceptions)   (export make-contract-violated-exception-plain   make-excepti

Re: bytevector seems to be missing in Guile

2023-01-08 Thread Sascha Ziemann
Am So., 8. Jan. 2023 um 01:21 Uhr schrieb Robby Zambito : > > In R7RS, the bytevector constructor is exported by (scheme base) (not (scheme > bytevector)). It seems like the confusion is caused by --r7rs not evaluating > in an environment that provides (scheme base). > Thanks, this helps! But q