Hi Maxim, Ricardo,
On +2020-06-28 00:25:28 -0400, Maxim Cournoyer wrote:
> Hello Bengt,
>
> Bengt Richter writes:
>
>
> [...]
>
> > What do you think of using (ice-9 match) to make a universal
> > throwage-formatter,
> > with the idea of making readable top level code for how exceptions
Hi Maxim,
>> here’s what I did in the REPL:
>>
>> scheme@(guile-user)> ,m (ice-9 exceptions)
>> scheme@(ice-9 exceptions)> (define (my/guile-system-error-converter key args)
>> (apply (case-lambda
>> ((subr msg-args msg errno . rest)
Here I changed the order: “msg-args” appears
Hello Bengt,
Bengt Richter writes:
[...]
> What do you think of using (ice-9 match) to make a universal
> throwage-formatter,
> with the idea of making readable top level code for how exceptions become
> messages on screen?
>
> I started a hack to explore the (throw 'whatever any ...)
Hello Ricardo!
Ricardo Wurmus writes:
> Hi Maxim,
>
> here’s what I did in the REPL:
>
> scheme@(guile-user)> ,m (ice-9 exceptions)
> scheme@(ice-9 exceptions)> (define (my/guile-system-error-converter key args)
> (apply (case-lambda
> ((subr msg-args msg errno . rest)
>
Hi Ricardo et al,
On +2020-06-25 12:04:27 +0200, Ricardo Wurmus wrote:
>
> Hi Maxim,
>
> here’s what I did in the REPL:
>
> --8<---cut here---start->8---
> scheme@(guile-user)> ,m (ice-9 exceptions)
> scheme@(ice-9 exceptions)> (define
Hi Maxim,
here’s what I did in the REPL:
--8<---cut here---start->8---
scheme@(guile-user)> ,m (ice-9 exceptions)
scheme@(ice-9 exceptions)> (define (my/guile-system-error-converter key args)
(apply (case-lambda
((subr msg-args msg errno . rest)
Hello Bengt!
Bengt Richter writes:
> Hi Maxim,
>
> tl;dr:
> Does module/ice-9/exceptions.scm use the default format?
> Maybe (use-modules (ice-9) format) will help get to the next bug ?? :)
Thanks for suggesting! I tried but got the same result.
I'm now testing a slightly different version:
Hi Maxim,
tl;dr:
Does module/ice-9/exceptions.scm use the default format?
Maybe (use-modules (ice-9) format) will help get to the next bug ?? :)
On +2020-06-20 01:46:13 -0400, maxim.courno...@gmail.com wrote:
> Maxim Cournoyer writes:
>
> > Hello,
> >
> > I had this problem in Guix where 'guix
Maxim Cournoyer writes:
> Hello,
>
> I had this problem in Guix where 'guix deploy my-config.scm' would
> unhelpfully report an error like:
>
> guix deploy: error: failed to deploy my-host: ~A: ~S
>
> Digging a bit, I could reproduce at the REPL with:
>
> (guard (c ((message-condition? c)
>
Hello,
I had this problem in Guix where 'guix deploy my-config.scm' would
unhelpfully report an error like:
guix deploy: error: failed to deploy my-host: ~A: ~S
Digging a bit, I could reproduce at the REPL with:
--8<---cut here---start->8---
(guard (c
10 matches
Mail list logo