2025/11/14

Newest at the top

2025-11-14 06:08:37 +0100jmcantrell(~weechat@user/jmcantrell) (Ping timeout: 255 seconds)
2025-11-14 06:06:35 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-11-14 06:04:35 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 265 seconds)
2025-11-14 06:01:36 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 05:59:07 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2025-11-14 05:56:28 +0100Nachtgespenst(~user@user/siracusa) (Quit: Bye!)
2025-11-14 05:51:01 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2025-11-14 05:44:04 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 05:38:29 +0100Pixi(~Pixi@user/pixi) (Ping timeout: 265 seconds)
2025-11-14 05:35:36 +0100ezzieyguywuf(~Unknown@user/ezzieyguywuf) ezzieyguywuf
2025-11-14 05:33:09 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-11-14 05:28:41 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 05:17:52 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-11-14 05:15:53 +0100 <jreicher> I suspect if we dig into the semantics we'd find a barrier to the kind of substitution we're talking about
2025-11-14 05:15:12 +0100 <jreicher> Sorry that should asy reset instead of shift
2025-11-14 05:14:24 +0100 <jreicher> Are you sure it can? There's a "shift v -> v" reduction rule, so if you had "\f shift f" and were reducing to a strong normal form, you'd get \f f, no?
2025-11-14 05:13:18 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 05:12:16 +0100 <monochrom> Yeah
2025-11-14 05:02:07 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-11-14 04:57:56 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 04:56:48 +0100 <jreicher> monochrom: Oh wait. Are you saying shift/reset might be dynamic in the sense that shift can be substituted into the scope of a reset?
2025-11-14 04:47:25 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2025-11-14 04:42:33 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 04:31:52 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds)
2025-11-14 04:29:49 +0100td_(~td@i53870933.versanet.de)
2025-11-14 04:28:00 +0100td__(~td@i53870917.versanet.de) (Ping timeout: 256 seconds)
2025-11-14 04:27:30 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au)
2025-11-14 04:27:16 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-11-14 04:27:10 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 04:24:16 +0100jmcantrell(~weechat@user/jmcantrell) jmcantrell
2025-11-14 04:23:27 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-11-14 04:23:01 +0100jmcantrell(~weechat@user/jmcantrell) (Quit: WeeChat 4.7.1)
2025-11-14 04:18:36 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 04:16:49 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 264 seconds)
2025-11-14 04:11:25 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2025-11-14 04:07:36 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-11-14 04:06:54 +0100annamalai(~annamalai@157.32.194.69) annamalai
2025-11-14 04:02:18 +0100 <jreicher> I meant to say "...and then the continuation is constructed..."
2025-11-14 04:01:45 +0100 <jreicher> I think lexically scoped is correct. When shift captures the evaluation context it includes the reset, which is certainly a lexical scoping before anything else is done, and then the continuation is captured with that reset in exactly the same spot, which is effectively the same "spirit" as capture-avoiding substitution for beta-reduction, and so the lexical scoping is preserved. At least that's my take on it.
2025-11-14 04:00:34 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-14 04:00:11 +0100 <monochrom> (In the same sense as: If you define "bar = x + 1", and if it is bar's call site that determines what x means, that is dynamic scoping.)
2025-11-14 03:59:03 +0100 <monochrom> I may be wrong in saying "lexically scoped". If you define "foo = shift ...", then it is foo's call sites that determines the corresponding reset. That is dynamic rather than static.
2025-11-14 03:56:49 +0100deptype_(~deptype@124.123.128.236) (Ping timeout: 256 seconds)
2025-11-14 03:56:24 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 244 seconds)
2025-11-14 03:56:19 +0100 <jreicher> That's interesting. I couldn't tell for sure from the "theoretical" difference between static and dynamic, but it seemed to me it would be.
2025-11-14 03:55:35 +0100 <monochrom> Yes.
2025-11-14 03:55:34 +0100 <jreicher> monochrom: ^
2025-11-14 03:55:13 +0100 <jreicher> OK, so the exercises you give there can be done in terms of shift/reset. In your experience is shift/reset "usually" enough for "most" situations? (I realise that's a vague question)
2025-11-14 03:55:08 +0100deptype(~deptype@2406:b400:3a:73c2:d817:93dd:2198:fe22) (Ping timeout: 256 seconds)
2025-11-14 03:53:23 +0100deptype__(~deptype@124.123.128.236)