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: 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

Exception with multiple irritants

2022-11-24 Thread Zelphir Kaltstahl
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-exception-contract-violated-compound &contra