guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cuirass] Typo?


From: Ludovic Courtès
Subject: Re: [cuirass] Typo?
Date: Thu, 16 Nov 2023 16:16:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Ricardo Wurmus <rekado@elephly.net> skribis:

> In (cuirass base) there is this definition:
>
> (define (exception-reporter . results)
>   "Return an exception handler that reports the exception on the error port
> and returns the values RESULTS."
>   (lambda (key . args)
>     (false-if-exception
>      (let* ((stack (make-stack #t))
>             (depth (stack-length stack))
>             (frame (or (and (> depth 1) (stack-ref stack 1))
>                        (and (> depth 0)) (stack-ref stack 0))))
>        (print-exception (current-error-port) frame key args)
>        (apply values results)))))
>
> The parentheses for the binding of “frame” look wrong to me:

Indeed, fixed!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]