[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PROPOSAL] with_cur_ios() function in the stdlib
From: |
Mohammad-Reza Nabipoor |
Subject: |
Re: [PROPOSAL] with_cur_ios() function in the stdlib |
Date: |
Sun, 10 Apr 2022 15:13:30 +0430 |
On Sun, Apr 10, 2022 at 12:32:38PM +0200, apache2 wrote:
> On Sun, Apr 10, 2022 at 02:22:13PM +0430, Mohammad-Reza Nabipoor wrote:
> diff --git a/libpoke/pkl-rt.pk b/libpoke/pkl-rt.pk
> index c6b3209c..03d39970 100644
> --- a/libpoke/pkl-rt.pk
> +++ b/libpoke/pkl-rt.pk
> @@ -563,6 +563,27 @@ immutable fun _pkl_run_ios_set_hook = (int<32> ios) void:
> f (ios);
> }
>
> +immutable type With_Ios_Fn = () void;
> +
> +immutable fun with_cur_ios = (string handle, With_Ios_Fn do = lambda
> void:{}, uint<32> flags = 0) void:
> +{
I think this function belongs to `std.pk` rather than `pkl-rt.pk`.
- [PROPOSAL] with_cur_ios() function in the stdlib, apache2, 2022/04/09
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Jose E. Marchesi, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Mohammad-Reza Nabipoor, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Jose E. Marchesi, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Jose E. Marchesi, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Mohammad-Reza Nabipoor, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Jose E. Marchesi, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, apache2, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, Mohammad-Reza Nabipoor, 2022/04/10
- Re: [PROPOSAL] with_cur_ios() function in the stdlib, apache2, 2022/04/10