[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Missing" libraries/concepts found in other languages/ecosystems?
From: |
Catonano |
Subject: |
Re: "Missing" libraries/concepts found in other languages/ecosystems? |
Date: |
Tue, 14 Jul 2020 13:06:36 +0200 |
Il giorno mar 14 lug 2020 alle ore 12:32 Catonano <catonano@gmail.com> ha
scritto:
>
>
> Il giorno dom 12 lug 2020 alle ore 21:33 Chris Vine <
> vine35792468@gmail.com> ha scritto:
>
>> On Sun, 12 Jul 2020 20:14:23 +0100
>> Chris Vine <vine35792468@gmail.com> wrote:
>> [snip]
>> > Secondly, if the handler returns and #:unwind? is set to #f then
>> > raise-continuable will return with the value returned by the handler.
>> > So this:
>> >
>> > (with-exception-handler
>> > (lambda (x) (+ x 3))
>> > (lambda () (+ (raise-continuable 10) 6)))
>>
>> Ah I see you are using (ice-9 exceptions). Better be consistent with
>> this:
>>
>> (with-exception-handler
>> (lambda (x) (+ x 3))
>> (lambda () (+ (raise-exception 10 #:continuable? #t) 6))))
>>
>>
>
> I find this a little bit confusing, admittedly
>
> so is it
>
> #:unwind #f
>
> on with-exception-handler and
>
> #:continuable #t
>
> on raise exception ?
>
> Anyway, I'll try to write a new version as soon as I can bring myself to
> do it
>
> Thanks, for now
>
>
Obviously, should anyone want to step in and provide this example
themselves, I'd be only grateful ¯\_(ツ)_/¯
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, (continued)
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Chris Vine, 2020/07/13
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Catonano, 2020/07/12
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Catonano, 2020/07/12
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, John Cowan, 2020/07/12
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Chris Vine, 2020/07/12
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Chris Vine, 2020/07/12
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Catonano, 2020/07/14
- Re: "Missing" libraries/concepts found in other languages/ecosystems?,
Catonano <=
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Chris Vine, 2020/07/14
- Re: "Missing" libraries/concepts found in other languages/ecosystems?, Zelphir Kaltstahl, 2020/07/12