Home liberachat/#haskell: Logs Calendar

Logs on 2024-12-23 (liberachat/#haskell)

00:01:16 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:06:09 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
00:17:17 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:18:31 xff0x joins (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp)
00:18:33 × sprotte24 quits (~sprotte24@p200300d16f236f0034c2c833107a461e.dip0.t-ipconnect.de) (Quit: Leaving)
00:22:25 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
00:32:50 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:37:03 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
00:37:46 × weary-traveler quits (~user@user/user363627) (Remote host closed the connection)
00:40:03 weary-traveler joins (~user@user/user363627)
00:48:12 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:52:52 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
01:04:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:09:05 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
01:15:15 × acidjnk_new quits (~acidjnk@p200300d6e7283f49b5be3bacf47f1ed3.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
01:20:06 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:23:06 <haskellbridge> <thirdofmay18081814goya> hm
01:23:15 <haskellbridge> <thirdofmay18081814goya> seems the above model is incorrect but I'm not sure
01:23:34 <haskellbridge> <thirdofmay18081814goya> does anyone know if FRP GUIs delegate rendering to individual components instead of having a centralized rendering function?
01:25:36 <geekosaur> depends on the specific FRP implementation, I'm pretty sure. each of them has its own model and most of them vary widely if not wildly from each other
01:25:48 <geekosaur> "FRP" is not even close to being a monolith
01:26:08 <haskellbridge> <thirdofmay18081814goya> hm I should check out project implemented in the different libraries, ty good idea
01:26:16 <haskellbridge> <thirdofmay18081814goya> * projects
01:27:11 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
01:33:24 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:39:31 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
01:40:44 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
01:48:40 × sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 244 seconds)
01:50:29 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:54:44 × xff0x quits (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp) (Ping timeout: 265 seconds)
01:55:13 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
02:01:20 × rachelambda8 quits (~rachelamb@cust-95-80-25-71.csbnet.se) (Ping timeout: 260 seconds)
02:05:04 <EvanR> I have this cool non-answer to your question about FRP components from way back in the day https://apfelmus.nfshost.com/blog/2012/03/29-frp-three-principles-bidirectional-gui.html#the-three-principles
02:05:14 <EvanR> thirdofmay18081814goya ^
02:05:28 <EvanR> less about low level rendering and more high level responsibilities
02:05:52 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:09:02 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 272 seconds)
02:09:28 <haskellbridge> <thirdofmay18081814goya> neato! thanks for the article
02:10:34 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:19:54 user363627 joins (~user@user/user363627)
02:20:01 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:23:44 × weary-traveler quits (~user@user/user363627) (Ping timeout: 245 seconds)
02:24:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:35:22 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:35:56 Jeanne-Kamikaze joins (~Jeanne-Ka@79.127.217.36)
02:41:22 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
02:42:10 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
02:48:19 × zenmov quits (~zenmov@user/zenmov) (Quit: Lost terminal)
02:52:43 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:58:19 × sympt quits (~sympt@user/sympt) (Ping timeout: 245 seconds)
03:00:57 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
03:04:20 × ystael quits (~ystael@user/ystael) (Ping timeout: 260 seconds)
03:04:57 ystael joins (~ystael@user/ystael)
03:11:49 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:18:45 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
03:27:12 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 264 seconds)
03:27:39 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
03:29:30 × Jeanne-Kamikaze quits (~Jeanne-Ka@79.127.217.36) (Quit: Leaving)
03:29:52 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:36:45 cptaffe` joins (~cptaffe@user/cptaffe)
03:37:10 × cptaffe quits (~cptaffe@user/cptaffe) (Ping timeout: 244 seconds)
03:38:30 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
03:42:17 cptaffe` is now known as cptaffe
03:42:38 × td_ quits (~td@i5387092A.versanet.de) (Ping timeout: 244 seconds)
03:44:24 td_ joins (~td@i53870924.versanet.de)
03:49:32 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:50:07 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
03:53:58 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
04:04:56 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:05:59 cptaffe` joins (~cptaffe@user/cptaffe)
04:06:25 × cptaffe quits (~cptaffe@user/cptaffe) (Ping timeout: 252 seconds)
04:09:43 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
04:10:54 hsw_ joins (~hsw@2001:b030:2303:104:172:25:12:132)
04:10:54 × tcard quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Read error: Connection reset by peer)
04:10:59 × hsw quits (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) (Read error: Connection reset by peer)
04:11:06 tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
04:11:31 cptaffe` is now known as cptaffe
04:12:31 × DragonMaus quits (~dragonmau@user/dragonmaus) (Quit: No Ping reply in 180 seconds.)
04:13:35 rekahsoft joins (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca)
04:13:59 × rekahsoft quits (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) (Remote host closed the connection)
04:14:16 _xor3 joins (~xor@ip-66-42-132-175.dynamic.fuse.net)
04:14:21 DragonMaus joins (~dragonmau@user/dragonmaus)
04:14:24 × _xor quits (~xor@ip-66-42-132-175.dynamic.fuse.net) (Quit: Ping timeout (120 seconds))
04:14:24 _xor3 is now known as _xor
04:20:20 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:24:33 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
04:25:10 × rvalue quits (~rvalue@user/rvalue) (Read error: Connection reset by peer)
04:25:48 rvalue joins (~rvalue@user/rvalue)
04:26:59 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 265 seconds)
04:27:12 tnt1 joins (~Thunderbi@user/tnt1)
04:35:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:36:03 weary-traveler joins (~user@user/user363627)
04:37:41 × weary-traveler quits (~user@user/user363627) (Client Quit)
04:37:58 user363628 joins (~user@user/user363627)
04:39:28 × user363627 quits (~user@user/user363627) (Ping timeout: 244 seconds)
04:39:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
04:52:15 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:56:31 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
04:57:37 × sonolin quits (~michael@user/sonolin) (Quit: WeeChat 4.4.4)
05:04:09 × Square2 quits (~Square4@user/square) (Remote host closed the connection)
05:04:54 Guest64 joins (~Guest64@2600:1014:b0a1:97bd:e859:e7ea:4803:dd73)
05:07:39 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:11:05 danza joins (~danza@user/danza)
05:14:15 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
05:25:37 × Guest64 quits (~Guest64@2600:1014:b0a1:97bd:e859:e7ea:4803:dd73) (Quit: Client closed)
05:29:35 × orangeflu quits (~flu@240-100-179-143.ftth.glasoperator.nl) (Quit: Lost terminal)
05:30:29 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:35:25 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
05:36:30 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:41:33 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
05:53:36 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:56:14 × hughjfchen quits (~hughjfche@vmi556545.contaboserver.net) (Quit: WeeChat 4.2.2)
05:56:33 hughjfchen joins (~hughjfche@vmi556545.contaboserver.net)
05:57:01 × danza quits (~danza@user/danza) (Quit: overflow)
05:58:00 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
06:06:59 × hughjfchen quits (~hughjfche@vmi556545.contaboserver.net) (Quit: WeeChat 4.2.2)
06:08:56 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:10:01 hughjfchen joins (~hughjfche@vmi556545.contaboserver.net)
06:13:17 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
06:17:44 mari-estel joins (~mari-este@user/mari-estel)
06:24:17 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:28:42 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
06:37:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:39:49 youthlic joins (~Thunderbi@user/youthlic)
06:41:24 xff0x joins (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp)
06:41:37 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
06:46:15 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
06:46:23 mari23720 joins (~mari-este@user/mari-estel)
06:47:02 tnt2 joins (~Thunderbi@user/tnt1)
06:48:03 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 246 seconds)
06:48:06 tnt2 is now known as tnt1
06:48:36 × mari-estel quits (~mari-este@user/mari-estel) (Ping timeout: 252 seconds)
06:52:46 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:57:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
07:01:38 × mari23720 quits (~mari-este@user/mari-estel) (Ping timeout: 272 seconds)
07:04:54 takuan joins (~takuan@178-116-218-225.access.telenet.be)
07:08:08 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:13:43 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:15:01 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
07:17:14 mari-estel joins (~mari-este@user/mari-estel)
07:18:48 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
07:19:46 × user363628 quits (~user@user/user363627) (Remote host closed the connection)
07:24:57 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:26:11 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:26:20 × CrunchyFlakes quits (~CrunchyFl@ip1f13e94e.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
07:29:00 CrunchyFlakes joins (~CrunchyFl@31.19.233.78)
07:29:27 tnt2 joins (~Thunderbi@user/tnt1)
07:30:20 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 260 seconds)
07:30:20 tnt2 is now known as tnt1
07:30:23 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
07:34:41 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 248 seconds)
07:34:47 tnt2 joins (~Thunderbi@user/tnt1)
07:37:04 tnt2 is now known as tnt1
07:38:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:38:58 mari95597 joins (~mari-este@user/mari-estel)
07:40:54 × mari-estel quits (~mari-este@user/mari-estel) (Ping timeout: 246 seconds)
07:43:10 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
07:46:36 mari-estel joins (~mari-este@user/mari-estel)
07:49:01 × mari95597 quits (~mari-este@user/mari-estel) (Ping timeout: 265 seconds)
07:50:15 mari54408 joins (~mari-este@user/mari-estel)
07:51:20 flupe25 joins (~flupe@2a01:e0a:e2:2f10:3319:e177:2674:ea8f)
07:52:20 × flupe25 quits (~flupe@2a01:e0a:e2:2f10:3319:e177:2674:ea8f) (Client Quit)
07:53:05 × mari-estel quits (~mari-este@user/mari-estel) (Ping timeout: 260 seconds)
07:53:45 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:58:10 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
07:59:50 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:00:01 × caconym quits (~caconym@user/caconym) (Quit: bye)
08:00:38 caconym joins (~caconym@user/caconym)
08:02:59 mari-estel joins (~mari-este@user/mari-estel)
08:04:38 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
08:05:27 × mari54408 quits (~mari-este@user/mari-estel) (Ping timeout: 265 seconds)
08:05:39 mari73685 joins (~mari-este@user/mari-estel)
08:07:47 × mari73685 quits (~mari-este@user/mari-estel) (Client Quit)
08:08:33 bheesham joins (3aa22d8375@2a03:6000:1812:100::e40)
08:08:39 × mari-estel quits (~mari-este@user/mari-estel) (Ping timeout: 260 seconds)
08:09:09 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:13:22 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
08:24:32 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:29:15 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
08:38:45 × youthlic quits (~Thunderbi@user/youthlic) (Quit: youthlic)
08:39:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:43:04 × hc quits (~hc@mail.hce.li) (Remote host closed the connection)
08:46:13 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
08:54:48 acidjnk_new joins (~acidjnk@p200300d6e7283f25e9e9d221c37061e3.dip0.t-ipconnect.de)
08:57:25 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:59:09 tnt2 joins (~Thunderbi@user/tnt1)
08:59:31 × dsrt^ quits (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 252 seconds)
09:00:29 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 252 seconds)
09:00:29 tnt2 is now known as tnt1
09:02:09 Guest33 joins (~Guest33@2001:1600:13:101::60e)
09:02:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
09:02:42 <Guest33> Hi, is there a way to produce a native cont monad with just function arrows?
09:02:57 <Guest33> Assume you can type it properly:
09:03:39 <Guest33> type Cont r a = (a -> r) -> r
09:04:01 <Guest33> instance Functor (Cont r)
09:10:51 <Guest33> Or for that matter, type State s a...
09:12:27 <Guest33> And honestly it'd result in overlapping instances, so...
09:12:40 <int-e> you can't even match that instance head
09:12:49 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
09:13:25 <Guest33> I know, that's what I'm asking about
09:13:37 <int-e> This would amount to a type-level lambda which we don't have.
09:15:25 <Guest33> So there's no way to create an instance for (a -> r) -> r and s -> (s,a), right?
09:16:29 <int-e> right. Well, I suppose you can try instance r ~ s => Foo ((a -> r) -> s)
09:16:53 <Guest33> Without newtypes of course, but that's just ContT identity and StateT identity
09:16:54 <int-e> But that's not what you'd want for Functor.
09:17:28 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
09:17:50 <int-e> Anyway, use a newtype and that solves this problem. You can think of naming that newtype in your code as hinting to the compiler to introduce the right type-level lambda if you like.
09:18:30 <Guest33> I mean if you go to newtype, just get Control.Monad.Trans and call it a day
09:18:38 <int-e> Sure.
09:18:55 <Guest33> The curiosity is more about naked reader having an instance in base
09:19:37 <Guest33> Naked cont and naked state apparently can't have an instance, and it's probably a good thing due to overlapping instances
09:23:38 × Guest33 quits (~Guest33@2001:1600:13:101::60e) (Quit: Client closed)
09:24:40 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
09:28:13 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
09:32:33 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
09:34:54 × xff0x quits (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp) (Ping timeout: 272 seconds)
09:35:28 manwithluck joins (~manwithlu@194.177.28.164)
09:36:38 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
09:38:19 __monty__ joins (~toonn@user/toonn)
09:38:50 Guest33 joins (~Guest33@2001:1600:13:101::60e)
09:40:24 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
09:40:33 × Guest33 quits (~Guest33@2001:1600:13:101::60e) (Client Quit)
09:45:18 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
09:55:46 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
09:56:26 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
10:00:21 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
10:08:04 dsrt^ joins (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net)
10:10:50 mange joins (~user@user/mange)
10:11:08 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
10:11:10 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
10:15:40 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
10:20:45 ash3en joins (~Thunderbi@185.224.57.162)
10:25:12 × ash3en quits (~Thunderbi@185.224.57.162) (Ping timeout: 252 seconds)
10:26:07 lxsameer joins (~lxsameer@Serene/lxsameer)
10:26:32 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
10:27:24 sawilagar joins (~sawilagar@user/sawilagar)
10:27:42 × gentauro quits (~gentauro@user/gentauro) (Ping timeout: 244 seconds)
10:32:13 gentauro joins (~gentauro@user/gentauro)
10:45:45 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
10:46:31 × Guest78 quits (~Guest78@2a02:8084:1:6500::db) (Quit: Client closed)
10:46:45 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 246 seconds)
10:50:17 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
10:56:34 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
10:57:56 sawilagar_ joins (~sawilagar@user/sawilagar)
10:59:45 × dsrt^ quits (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 260 seconds)
11:01:19 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
11:01:37 × sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 252 seconds)
11:02:11 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
11:03:34 × __monty__ quits (~toonn@user/toonn) (Ping timeout: 244 seconds)
11:03:42 Guest78 joins (~Guest78@2a02:8084:1:6500::db)
11:09:19 × sawilagar_ quits (~sawilagar@user/sawilagar) (Remote host closed the connection)
11:09:27 pseudonymous__ joins (~sawilagar@user/sawilagar)
11:11:12 wootehfoot joins (~wootehfoo@user/wootehfoot)
11:11:57 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
11:16:09 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
11:17:21 × ft quits (~ft@p508db070.dip0.t-ipconnect.de) (Quit: leaving)
11:20:37 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 244 seconds)
11:20:53 ljdarj joins (~Thunderbi@user/ljdarj)
11:22:06 xff0x joins (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp)
11:22:33 __monty__ joins (~toonn@user/toonn)
11:26:32 × smalltalkman quits (uid545680@id-545680.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
11:27:18 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
11:32:01 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
11:35:09 rvalue- joins (~rvalue@user/rvalue)
11:35:49 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 248 seconds)
11:41:22 rvalue- is now known as rvalue
11:42:24 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
11:46:43 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
11:57:47 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:02:22 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
12:06:34 × sand-witch quits (~m-mzmz6l@vmi833741.contaboserver.net) (Remote host closed the connection)
12:07:53 sand-witch joins (~m-mzmz6l@vmi833741.contaboserver.net)
12:10:17 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
12:11:40 billchenchina joins (~billchenc@2408:824e:d26:18f1:98a0:1e45:78d8:dfaa)
12:13:09 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:13:21 billchenchina- joins (~billchenc@2a0d:2580:ff0c:1:4a35:c1dc:b9b7:67d8)
12:15:17 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 248 seconds)
12:16:45 × billchenchina quits (~billchenc@2408:824e:d26:18f1:98a0:1e45:78d8:dfaa) (Ping timeout: 276 seconds)
12:17:01 Guest33 joins (~Guest33@2001:1600:13:101::60e)
12:18:15 tnt2 joins (~Thunderbi@user/tnt1)
12:19:19 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 264 seconds)
12:19:20 tnt2 is now known as tnt1
12:19:59 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
12:21:22 jero98772 joins (~jero98772@2a00:1fa0:48a8:106e:59c5:719e:9cd2:863)
12:24:01 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 272 seconds)
12:24:12 tnt1 joins (~Thunderbi@user/tnt1)
12:26:10 × Guest33 quits (~Guest33@2001:1600:13:101::60e) (Ping timeout: 240 seconds)
12:30:22 tnt2 joins (~Thunderbi@user/tnt1)
12:31:11 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:31:36 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 272 seconds)
12:31:37 tnt2 is now known as tnt1
12:32:20 hc joins (~hc@mail.hce.li)
12:35:05 tnt2 joins (~Thunderbi@user/tnt1)
12:35:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
12:35:49 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 245 seconds)
12:41:36 × forell quits (~forell@user/forell) (Ping timeout: 252 seconds)
12:43:22 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:44:49 × troydm quits (~troydm@user/troydm) (Ping timeout: 265 seconds)
12:49:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
12:52:05 tnt1 joins (~Thunderbi@user/tnt1)
12:53:24 × tnt2 quits (~Thunderbi@user/tnt1) (Ping timeout: 244 seconds)
12:58:49 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 252 seconds)
12:59:22 madhavanmiui joins (~madhavanm@2409:40f4:102a:b29d:8000::)
13:00:49 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
13:05:16 tnt1 joins (~Thunderbi@user/tnt1)
13:05:36 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
13:06:37 Digitteknohippie joins (~user@user/digit)
13:07:32 × Digit quits (~user@user/digit) (Ping timeout: 265 seconds)
13:12:14 × madhavanmiui quits (~madhavanm@2409:40f4:102a:b29d:8000::) (Quit: Quit)
13:14:25 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
13:14:43 ljdarj joins (~Thunderbi@user/ljdarj)
13:16:10 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
13:20:26 × jero98772 quits (~jero98772@2a00:1fa0:48a8:106e:59c5:719e:9cd2:863) (Read error: Connection reset by peer)
13:22:20 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
13:24:41 rvalue- joins (~rvalue@user/rvalue)
13:25:13 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 252 seconds)
13:25:43 ensyde joins (~ensyde@c-73-147-64-74.hsd1.va.comcast.net)
13:32:45 rvalue- is now known as rvalue
13:33:10 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
13:33:51 forell joins (~forell@user/forell)
13:38:06 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
13:38:27 manny_ joins (~manny@45.134.142.209)
13:39:15 jero98772 joins (~jero98772@31.130.32.65)
13:41:21 × mange quits (~user@user/mange) (Quit: Zzz...)
13:42:25 systemhalted joins (~systemhal@130.51.137.77)
13:42:26 × systemhalted quits (~systemhal@130.51.137.77) (Read error: Connection reset by peer)
13:43:37 hseg joins (~gesh@46.120.21.36)
13:44:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
13:49:08 × manny_ quits (~manny@45.134.142.209) (Quit: Quit)
13:51:24 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
13:52:40 manny_ joins (~quassel@45.134.142.209)
13:55:00 JuanDaugherty joins (~juan@user/JuanDaugherty)
13:55:15 × manny_ quits (~quassel@45.134.142.209) (Client Quit)
13:55:39 manny_ joins (~quassel@45.134.142.209)
13:57:46 simplystuart joins (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net)
14:02:10 <haskellbridge> <magic_rb> I need suggestions, i want to eventually make a small prototype of a terraform like tool. Not sure what actual adjective id use, but the gist is that the tool would get the current state, in this case filesystem layout, get the desired state from a config file, compare the two, produce a plan, execute said plan
14:02:56 <haskellbridge> <magic_rb> The compare sounds like a good use case for gdiff. Then if i can make sense of the patch data type, i could form a plan by that
14:03:45 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
14:06:35 <haskellbridge> <magic_rb> So for those familiar with tmpfilesd, something like that, a bit less stupid and 100% less C
14:07:06 <JuanDaugherty> and ur gonna use haskell, right?
14:07:12 <haskellbridge> <magic_rb> Ofc
14:07:16 × manny_ quits (~quassel@45.134.142.209) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
14:07:26 <haskellbridge> <magic_rb> Isnt this the haskell irc room (:
14:07:46 <JuanDaugherty> absolutely, just checking
14:08:55 <JuanDaugherty> i dunno from terraform so cant say; often in such cases a related name is used
14:09:21 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
14:10:31 <haskellbridge> <magic_rb> Id call it a "given a current state of a system and a desired out, hammer it into shape"
14:10:33 <haskellbridge> <magic_rb> System
14:11:03 <JuanDaugherty> maxwell them maybe (silverhammer)
14:11:08 <JuanDaugherty> *then
14:11:20 <JuanDaugherty> as a monicker not an adjective
14:11:32 son0p joins (~ff@186.121.98.118)
14:12:04 <JuanDaugherty> or just silverhammer, but u might wanna rethink hammering on ppls fs
14:12:28 manny_ joins (~manny@45.134.142.209)
14:13:06 <JuanDaugherty> a plethora of tolls exist for most fs tasks
14:13:16 × simplystuart quits (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) (Ping timeout: 252 seconds)
14:13:45 <haskellbridge> <magic_rb> Oh yeah but this is like a general problem
14:14:02 <haskellbridge> <magic_rb> A lot of my project fall into the same category but slightly different context
14:14:13 × xff0x quits (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp) (Ping timeout: 248 seconds)
14:15:22 × jero98772 quits (~jero98772@31.130.32.65) (Quit: leaving)
14:15:22 <JuanDaugherty> a nice UI for rsnapshot would be great
14:17:11 <JuanDaugherty> u could do plans for backup generations
14:17:41 <JuanDaugherty> less hazard more benefit
14:17:55 simplystuart joins (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net)
14:18:59 <JuanDaugherty> u could easily do better than apple timemachine
14:20:35 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
14:21:31 <JuanDaugherty> an issue with the bridge: part/leave doesn show
14:25:00 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
14:33:08 weary-traveler joins (~user@user/user363627)
14:35:01 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 265 seconds)
14:35:57 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
14:40:35 × manny_ quits (~manny@45.134.142.209) (Quit: Quit)
14:40:49 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
14:41:53 manny_ joins (~manny@45.134.142.209)
14:43:14 <JuanDaugherty> and even better plans for a given restore where u would produce the command for a specified action (cp or rsync), doable, straightforward, safe and useful
14:44:27 ljdarj joins (~Thunderbi@user/ljdarj)
14:45:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
14:48:48 × YoungFrog quits (~youngfrog@2a02:a03f:c9db:fc00:540c:c3f1:d127:c67e) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in)
14:49:08 YoungFrog joins (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be)
14:50:00 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
14:52:41 smalltalkman joins (uid545680@id-545680.hampstead.irccloud.com)
14:54:18 <haskellbridge> <magic_rb> I want to have be able to manage a whole linux rootfs
14:54:30 <haskellbridge> <magic_rb> For nixos and rsync is not expressive enough probably
14:54:35 <haskellbridge> <magic_rb> Or itll be a pain
14:59:19 pavonia joins (~user@user/siracusa)
15:00:48 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 264 seconds)
15:01:54 Digitteknohippie is now known as Digit
15:03:47 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.4.2)
15:06:06 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
15:10:35 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
15:12:20 × dtman34 quits (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
15:15:29 dtman34 joins (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net)
15:18:08 × manwithluck quits (~manwithlu@194.177.28.164) (Read error: Connection reset by peer)
15:21:29 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
15:22:42 manwithluck joins (~manwithlu@194.177.28.164)
15:27:49 × manwithluck quits (~manwithlu@194.177.28.164) (Remote host closed the connection)
15:28:27 manwithluck joins (~manwithlu@194.177.28.164)
15:28:37 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
15:30:07 × gorignak quits (~gorignak@user/gorignak) (Quit: quit)
15:30:37 gorignak joins (~gorignak@user/gorignak)
15:36:30 × gorignak quits (~gorignak@user/gorignak) (Quit: quit)
15:37:10 × manny_ quits (~manny@45.134.142.209) (Quit: Quit)
15:37:27 gorignak joins (~gorignak@user/gorignak)
15:39:40 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
15:41:43 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
15:45:51 manny__ joins (~manny@static-68-235-46-164.cust.tzulo.com)
15:46:32 × billchenchina- quits (~billchenc@2a0d:2580:ff0c:1:4a35:c1dc:b9b7:67d8) (Remote host closed the connection)
15:50:54 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
15:51:10 wootehfoot joins (~wootehfoo@user/wootehfoot)
15:57:15 × dtman34 quits (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
16:00:53 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
16:01:09 × CrunchyFlakes quits (~CrunchyFl@31.19.233.78) (Read error: Connection reset by peer)
16:01:34 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
16:03:45 CrunchyFlakes joins (~CrunchyFl@ip1f13e94e.dynamic.kabel-deutschland.de)
16:03:52 dtman34 joins (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net)
16:06:13 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
16:06:19 ljdarj1 joins (~Thunderbi@user/ljdarj)
16:06:51 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 265 seconds)
16:06:51 ljdarj1 is now known as ljdarj
16:09:39 × pseudonymous__ quits (~sawilagar@user/sawilagar) (Quit: Leaving)
16:10:06 sawilagar joins (~sawilagar@user/sawilagar)
16:12:28 rachelambda8 joins (~rachelamb@cust-95-80-25-71.csbnet.se)
16:16:56 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
16:19:52 rekahsoft joins (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca)
16:21:21 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
16:27:27 × Me-me quits (~me-me@user/me-me) (Quit: Disconnecting on purpose.)
16:27:33 × dtman34 quits (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net) (Ping timeout: 248 seconds)
16:31:04 Me-me joins (~me-me@kc.randomserver.name)
16:32:18 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
16:33:59 × rekahsoft quits (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) (Remote host closed the connection)
16:37:18 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
16:39:12 rekahsoft joins (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca)
16:47:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
16:52:02 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:55:00 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds)
17:02:47 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
17:07:45 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
17:18:10 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
17:22:56 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
17:23:32 × simplystuart quits (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) (Ping timeout: 264 seconds)
17:29:17 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
17:33:33 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
17:38:02 simplystuart joins (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net)
17:39:30 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
17:40:16 talismanick joins (~user@2601:644:937c:ed10::ae5)
17:40:22 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
17:43:15 × manwithluck quits (~manwithlu@194.177.28.164) (Ping timeout: 244 seconds)
17:43:28 manwithluck joins (~manwithlu@194.177.28.164)
17:43:59 <hellwolf> mapM (compile_fn_dispatcher ind') fns <&> catMaybes
17:43:59 <hellwolf> ^-- is there way to rewrite this using mapMaybe
17:46:45 <c_wraith> not in base.
17:47:06 <c_wraith> you're looking for the wither function from the witherable package
17:48:23 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
17:48:36 tnt2 joins (~Thunderbi@user/tnt1)
17:48:50 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 265 seconds)
17:48:50 tnt2 is now known as tnt1
17:50:47 <hellwolf> huh, I can't tell what does that package do just from its name.
17:51:30 <hololeap> it generalizes mapMaybe to other applicatives besides lists
17:52:14 <hellwolf> i see
17:52:40 <hellwolf> btw, I just finished the latest haskell interlude podcast: https://haskell.foundation/podcast/60/ . good talk, recommended to listen in.
17:53:11 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
17:53:34 <hololeap> well, mapMaybe is generalized to Functors, 'wither' is like a stronger traverse that can remove elements
17:54:04 <hololeap> it's a super useful package, definitely one to keep in your toolbox
17:55:20 <hseg> is it illegal to interleave definitions and imports?
17:56:12 <c_wraith> yeah. imports have to be at the top. (more or less. after the module declaration)
17:57:11 <hseg> hm. am encountering this since I'm using CPP to conditionally define a shim
17:57:19 × manwithluck quits (~manwithlu@194.177.28.164) (Read error: Connection reset by peer)
17:57:34 <hseg> (optparse-applicative renamed text :: String -> Doc to pretty :: String -> Doc a)
17:57:43 <hellwolf> 12-23 19:54 <hololeap> it's a super useful package, definitely one to keep in your toolbox
17:57:43 <hellwolf> Noted. I am sold. I will give it a look.
17:57:58 <hseg> (so to support old and new versions, I need to define a shim)
17:58:11 <hololeap> you might have to split it up into several identical #if blocks
17:58:15 <hellwolf> Btw, talking about interleaving imports and definitions; I would even go further, say, defining multiple modules in a single file could be rad for writing single file cabal scripts, e.g.
17:58:27 <hololeap> like, one for the import and one for the actual code
17:58:58 <hseg> fair. a bit of a shame, though, though tbf otoh that forces the code to be somewhat more readable
17:59:23 <hseg> ... actually no, idk that that's that much more readable
17:59:38 <hololeap> CPP is never very pretty. it's usually just a compatibility shim
17:59:50 <hololeap> a necessary evil sometimes
18:00:40 manwithluck joins (~manwithlu@194.177.28.164)
18:01:11 <hololeap> I guess you could shove the CPP stuff into its own module so it isn't stinking up the rest of your code :p
18:01:18 <hseg> right. I'm more referring to the fact that I'm stuck either duplicating the test or moving the import, neither of which is good for readability
18:01:30 <hseg> hm, that _is_ a fair point
18:02:23 × manny__ quits (~manny@static-68-235-46-164.cust.tzulo.com) (Quit: Quit)
18:02:29 <hseg> tbh, this feels like one of those things that a more backpack-y ecosystem might do better
18:03:44 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
18:03:44 <hseg> so you just pollute your version constraints with "for this version, I need this compatibility shim" rather than the code itself
18:04:31 <hololeap> it's either that or make the constraints on your dependencies really tight
18:05:02 <hseg> yeah
18:05:46 <hololeap> like, I don't think "text >=2" is a terrible thing, esp for personal/private projects
18:06:16 <hololeap> it seems like a lot of libraries try to keep text-1.* support which I'm sure brings in a lot of CPP
18:08:18 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
18:08:53 × talismanick quits (~user@2601:644:937c:ed10::ae5) (Remote host closed the connection)
18:09:12 dsrt^ joins (krt@c-98-242-74-66.hsd1.ga.comcast.net)
18:10:53 <hseg> welp, code structure is forcing my hand anyway -- a bunch of transitive imports means my shims end up being imported together, causing ambiguity
18:11:27 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
18:19:07 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
18:19:30 Jeanne-Kamikaze joins (~Jeanne-Ka@79.127.217.49)
18:21:07 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds)
18:21:27 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
18:24:04 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
18:28:06 × manwithluck quits (~manwithlu@194.177.28.164) (Ping timeout: 252 seconds)
18:32:01 machinedgod joins (~machinedg@d108-173-18-100.abhsia.telus.net)
18:32:20 × dsrt^ quits (krt@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 244 seconds)
18:34:30 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
18:35:08 × forell quits (~forell@user/forell) (Ping timeout: 272 seconds)
18:36:35 <ski> nesting modules would sometimes be neat
18:39:06 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
18:41:48 <monochrom> Yeah I would like multiple modules in the same file too. Probably also solves the mutual import problem.
18:43:32 <monochrom> OK maybe not the mutual import problem. (SML does "not" suffer this problem because the user has to painstakingly hand-write type sigs. Haskell people expect full automatic inference, that's the real problem.)
18:46:01 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
18:48:59 forell joins (~forell@user/forell)
18:51:11 <monochrom> You know what, I'm radical and heretic, screw files, we should do things the Smalltalk way. Can Programming Be Liberated from The Plain Text File?
18:52:34 Lears joins (~Leary@user/Leary/x-0910699)
18:52:57 <hseg> isn't that what unison is pushing?
18:53:12 remexre_ joins (~remexre@user/remexre)
18:53:12 _xor3 joins (~xor@ip-66-42-132-175.dynamic.fuse.net)
18:53:29 aforemny_ joins (~aforemny@2001:9e8:6cf3:d200:ed4d:2a81:f273:8171)
18:53:45 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
18:53:49 cptaffe` joins (~cptaffe@user/cptaffe)
18:53:50 Catty joins (~catties@user/meow/catties)
18:53:54 Xe_ joins (~Xe@perl/impostor/xe)
18:54:00 Wstfgl0 joins (~me-me@kc.randomserver.name)
18:54:14 mhatta_ joins (~mhatta@www21123ui.sakura.ne.jp)
18:54:20 Digitteknohippie joins (~user@user/digit)
18:54:22 remedan_ joins (~remedan@ip-62-245-108-153.bb.vodafone.cz)
18:54:25 vgtw joins (~vgtw@user/vgtw)
18:54:43 <monochrom> I don't know unison.
18:55:05 pointlessslippe- joins (~pointless@62.106.85.17)
18:55:15 pandeyan joins (~pandeyan@135-180-52-227.fiber.dynamic.sonic.net)
18:55:58 some02 joins (~cat@user/sudden)
18:56:16 ian_ joins (~ian@81.2.99.210)
18:56:45 jjhoo_ joins (~jahakala@user/jjhoo)
18:56:49 m1dnight_ joins (~m1dnight@d8D861908.access.telenet.be)
18:58:31 × Me-me quits (~me-me@kc.randomserver.name) (Quit: Disconnecting on purpose.)
18:58:32 × _xor quits (~xor@ip-66-42-132-175.dynamic.fuse.net) (Quit: Ping timeout (120 seconds))
18:58:32 × Digit quits (~user@user/digit) (Remote host closed the connection)
18:58:32 × noctux quits (~noctux@user/noctux) (Read error: Connection reset by peer)
18:58:32 × remexre quits (~remexre@user/remexre) (Read error: Connection reset by peer)
18:58:32 × aforemny quits (~aforemny@89.244.199.39) (Quit: ZNC 1.8.2 - https://znc.in)
18:58:32 × anpad quits (~pandeyan@user/anpad) (Quit: ZNC 1.8.2 - https://znc.in)
18:58:32 × pointlessslippe1 quits (~pointless@62.106.85.17) (Quit: ZNC - http://znc.in)
18:58:32 × cptaffe quits (~cptaffe@user/cptaffe) (Remote host closed the connection)
18:58:32 × remedan quits (~remedan@ip-62-245-108-153.bb.vodafone.cz) (Quit: Bye!)
18:58:32 × catties quits (~catties@user/meow/catties) (Quit: n_n)
18:58:32 × Xe quits (~Xe@perl/impostor/xe) (Remote host closed the connection)
18:58:32 × vgtw_ quits (~vgtw@user/vgtw) (Quit: ZNC - https://znc.in)
18:58:32 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Ping timeout: 265 seconds)
18:58:32 × mhatta quits (~mhatta@www21123ui.sakura.ne.jp) (Ping timeout: 265 seconds)
18:58:32 × Igloo quits (~ian@81.2.99.210) (Ping timeout: 265 seconds)
18:58:32 × sudden quits (~cat@user/sudden) (Ping timeout: 265 seconds)
18:58:32 × tdammers quits (~tdammers@110-136-178-143.ftth.glasoperator.nl) (Ping timeout: 265 seconds)
18:58:32 × m1dnight quits (~m1dnight@141.134.25.8) (Ping timeout: 265 seconds)
18:58:32 × Leary quits (~Leary@user/Leary/x-0910699) (Ping timeout: 265 seconds)
18:58:33 × jjhoo quits (~jahakala@user/jjhoo) (Ping timeout: 265 seconds)
18:58:33 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
18:58:33 <hseg> https://www.unison-lang.org/docs/the-big-idea/
18:58:33 _xor3 is now known as _xor
18:58:36 Wstfgl0 is now known as Me-me
18:58:37 <hseg> monochrom: https://www.unison-lang.org/docs/the-big-idea/
18:59:13 noctux joins (~noctux@user/noctux)
18:59:15 remexre_ is now known as remexre
18:59:17 cptaffe` is now known as cptaffe
19:02:23 <hellwolf> I am not familiar with this really. Am I doing stupid thing if I over use reads and readS_to_P to build a small utility function to decode a relatively small-sized string? Any better way of doing it?
19:05:03 <hellwolf> nevermind, let me look up some example for cues.
19:05:24 Digitteknohippie is now known as Digit
19:07:10 tdammers joins (~tdammers@110-136-178-143.ftth.glasoperator.nl)
19:07:57 gdr3941 joins (~user@172-3-47-206.lightspeed.nsvltn.sbcglobal.net)
19:09:38 × gdr3941 quits (~user@172-3-47-206.lightspeed.nsvltn.sbcglobal.net) (Client Quit)
19:10:26 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
19:16:33 sprotte24 joins (~sprotte24@p200300d16f2af800514f7155ca1159f4.dip0.t-ipconnect.de)
19:17:14 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
19:28:29 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
19:32:46 ChanServ sets mode +o litharge
19:32:47 litharge sets mode -bo *!*@user/sk1lton litharge
19:33:08 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
19:34:04 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
19:43:50 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
19:47:32 Xe_ is now known as Xe
19:48:39 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
19:49:50 target_i joins (~target_i@user/target-i/x-6023099)
19:59:12 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
20:00:04 × caconym quits (~caconym@user/caconym) (Quit: bye)
20:00:40 caconym joins (~caconym@user/caconym)
20:04:00 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
20:04:01 × hseg quits (~gesh@46.120.21.36) (Ping timeout: 248 seconds)
20:05:01 dsrt^ joins (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net)
20:11:17 <haskellbridge> <thirdofmay18081814goya> what's a way to think about asynchronicity? never gave this serious thought so this might be a vague question
20:12:02 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 272 seconds)
20:14:36 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
20:15:44 <EvanR> it means a thread may be interrupted at any time
20:16:19 <EvanR> calling a lot of programming assumptions into question
20:19:09 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
20:23:20 ljdarj joins (~Thunderbi@user/ljdarj)
20:25:47 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
20:26:57 <haskellbridge> <thirdofmay18081814goya> hm right
20:28:15 <haskellbridge> <thirdofmay18081814goya> maybe it is less painful if we instead think of it as the death of a thread and the creation of a thread in the future as depending on an IO input?
20:29:58 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
20:34:44 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
20:36:20 × simplystuart quits (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) (Ping timeout: 244 seconds)
20:41:36 simplystuart joins (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net)
20:43:34 __monty_1 joins (~toonn@user/toonn)
20:44:15 __monty_1 is now known as toonn
20:44:19 <EvanR> interruption may not include continuing in any way
20:44:29 <EvanR> as in async exceptions
20:44:35 __monty__ is now known as Guest3988
20:44:35 × Guest3988 quits (~toonn@user/toonn) (Killed (lead.libera.chat (Nickname regained by services)))
20:44:35 toonn is now known as __monty__
20:45:20 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
20:47:40 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 265 seconds)
20:52:25 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
20:53:24 <haskellbridge> <thirdofmay18081814goya> hm
21:02:18 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:03:24 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
21:04:40 <hellwolf> befuddled, this code didn't work: https://paste.tomsmeding.com/vFaGcyN8 I got bogus n bound to the (INTx' s n)
21:05:47 <[exa]> hellwolf: btw what was the issue with readS_to_P ?
21:06:16 <hellwolf> no issues, I solved that, didn't take much time to learn it.
21:07:20 <hellwolf> let me build a small example for that SNat issue.
21:07:23 <[exa]> ok nice I was just curious, mostly for why would anyone start by having ReadS when ReadP builds up so well.
21:07:45 <hellwolf> No, I actually learned to build bunch of ReadP
21:07:51 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
21:07:54 <[exa]> goood gooooooood
21:08:16 <hellwolf> I figured I was just asking nonsensical question
21:08:45 <hellwolf> It was silly me even to think about looking for something scanf, ReadP is much more powerful, and easy to write, too.
21:09:35 <[exa]> yeah, these things allow people to use regex for parsing stuff
21:09:55 <[exa]> AH NO
21:10:08 <[exa]> to *unlearn* using regex for parsing stuff!!
21:10:20 <[exa]> shouldn't press enter so quickly :D
21:15:30 Feuermagier joins (~Feuermagi@user/feuermagier)
21:17:45 <hellwolf> I do that all the time: typing the opposite of what I wanted to say
21:18:47 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
21:21:49 <hellwolf> OKay, I reproduced it
21:21:50 <hellwolf> https://play.haskell.org/saved/6y6AwEUM
21:22:18 × rekahsoft quits (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) (Remote host closed the connection)
21:23:19 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
21:25:26 rekahsoft joins (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca)
21:28:19 talismanick joins (~user@2601:644:937c:ed10::ae5)
21:28:28 <hellwolf> excuse moi, I think I also need to use withKnownNat
21:28:37 <hellwolf> my bad, unsafeAxiom too far
21:28:53 <hellwolf> very tedious to write, but let me fix and then optimize
21:34:08 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
21:36:29 <ski> hellwolf : your `\case Nothing -> Nothing; Just (...) -> ...' is `(=<<) \(...) -> ...' (or `(>>= \(...) -> ...)', if you prefer)
21:38:33 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
21:44:47 <hellwolf> yes.
21:45:00 <hellwolf> but I still can't get it work, with withKnownNat. I am confused
21:49:32 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
21:50:02 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
21:52:14 × comonad quits (~comonad@p200300d0270bcb00d2bd35ff80c069c9.dip0.t-ipconnect.de) (Quit: WeeChat 4.4.2)
21:52:21 comonad joins (~comonad@p200300d0270bcb00d2bd35ff80c069c9.dip0.t-ipconnect.de)
21:53:22 × comonad quits (~comonad@p200300d0270bcb00d2bd35ff80c069c9.dip0.t-ipconnect.de) (Client Quit)
21:53:50 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
22:02:48 cyanteeth joins (~cyanteeth@user/cyanteeth)
22:04:55 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
22:09:12 Feuermagier is now known as Guest9596
22:09:12 Feuermagier_ joins (~Feuermagi@user/feuermagier)
22:09:12 × Guest9596 quits (~Feuermagi@user/feuermagier) (Killed (lead.libera.chat (Nickname regained by services)))
22:09:12 Feuermagier_ is now known as Feuermagier
22:09:50 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
22:10:33 × Jeanne-Kamikaze quits (~Jeanne-Ka@79.127.217.49) (Quit: Leaving)
22:11:01 × swamp_ quits (~zmt00@user/zmt00) (Quit: Leaving)
22:11:13 <hellwolf> okay, I guess I am over stepping into what I can do with unsafeAxiom. Without knowing how GHC internally works exactly, I can take a wild guess why I shouldn't code like this.
22:13:50 Feuermagier_ joins (~Feuermagi@user/feuermagier)
22:13:50 Feuermagier is now known as Guest2917
22:13:50 × Guest2917 quits (~Feuermagi@user/feuermagier) (Killed (erbium.libera.chat (Nickname regained by services)))
22:13:50 Feuermagier_ is now known as Feuermagier
22:14:24 <hellwolf> :D
22:14:40 zmt00 joins (~zmt00@user/zmt00)
22:17:59 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 252 seconds)
22:20:18 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
22:23:03 <hellwolf> okay, this works https://play.haskell.org/saved/leUbXR0P but it looks like I really just need to enumerate all 32 cases, could be with TH, to bind the correct typeclass instance.
22:23:52 <hellwolf> no "smarter" way using constraints and unsafe coerce Dict, etc.
22:24:11 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
22:24:11 <hellwolf> those are good for type level stuff, but not when you need to deal with term level stuff.
22:24:50 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
22:30:06 ft joins (~ft@i59F4F0F5.versanet.de)
22:31:46 × weary-traveler quits (~user@user/user363627) (Remote host closed the connection)
22:33:39 <ski> hellwolf : you could `case' on `n', rather than doing an `if' chain with `=='s
22:35:07 <ski> hellwolf : also, `Show' instance looks incorrect (at least unless you make pattern synonyms for `UINT8',`UINT16',`UINT24',`UINT32')
22:35:52 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
22:36:15 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
22:39:41 red-snail joins (~red-snail@static.151.210.203.116.clients.your-server.de)
22:40:38 sqourge joins (~sqourge47@user/sqourge)
22:40:46 sqourge parts (~sqourge47@user/sqourge) (Leaving)
22:40:56 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
22:45:28 xff0x joins (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp)
22:46:19 <hellwolf> right, I could use case, write 32 of them... I was looking into how to write if else chain in TH, but probably the cases are easier to write
22:46:36 <hellwolf> at this point, I am just practicing TH.
22:47:44 <hellwolf> λ [e| \n -> case n of 1 -> Just (f @1); 2 -> Just (f @2); _ -> Nothing; |]
22:47:44 <hellwolf> LamE [VarP n_0] (CaseE (VarE n_0) [Match (LitP (IntegerL 1)) (NormalB (AppE (ConE GHC.Internal.Maybe.Just) (AppTypeE (VarE Ghci4.f) (LitT (NumTyLit 1))))) [],Match (LitP (IntegerL 2)) (NormalB (AppE (ConE GHC.Internal.Maybe.Just) (AppTypeE (VarE Ghci4.f) (LitT (NumTyLit 2))))) [],Match WildP (NormalB (ConE GHC.Internal.Maybe.Nothing)) []])
22:48:26 <hellwolf> An array of TH.match is definite easier to write :p
22:48:49 <hellwolf> (or easier to think about, code wise is probably similar)
22:49:08 Sgeo joins (~Sgeo@user/sgeo)
22:50:15 × machinedgod quits (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 260 seconds)
22:51:14 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
22:52:24 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 264 seconds)
22:52:32 × cyanteeth quits (~cyanteeth@user/cyanteeth) (Quit: cyanteeth)
22:54:24 gmg joins (~user@user/gehmehgeh)
22:54:26 × rekahsoft quits (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) (Read error: Connection reset by peer)
22:56:14 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
22:56:38 rekahsoft joins (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca)
22:57:45 comonad joins (~comonad@p200300d0270bcb00d2bd35ff80c069c9.dip0.t-ipconnect.de)
22:58:00 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
22:59:50 Sgeo joins (~Sgeo@user/sgeo)
23:05:25 × son0p quits (~ff@186.121.98.118) (Ping timeout: 252 seconds)
23:05:55 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
23:05:56 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
23:06:01 × califax quits (~califax@user/califx) (Read error: Connection reset by peer)
23:06:11 chexum joins (~quassel@gateway/tor-sasl/chexum)
23:06:18 califax joins (~califax@user/califx)
23:06:25 ChaiTRex joins (~ChaiTRex@user/chaitrex)
23:06:37 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:09:20 × esph quits (~weechat@user/esph) (Ping timeout: 252 seconds)
23:10:49 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
23:11:40 <hellwolf> ski, show instance is actually "correct", I am sticking a weird domain where U256 means 256 bits.
23:11:40 <hellwolf> and thanks for your hint using case of, the TH code is actually quite easy, I have it done: https://play.haskell.org/saved/Hdf3hnIp
23:12:41 <hellwolf> still feel herculean, but now that I wrote couple of big TH code, it feels rather mechanical
23:22:00 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:28:43 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
23:29:38 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
23:39:02 × gorignak quits (~gorignak@user/gorignak) (Ping timeout: 252 seconds)
23:39:39 gorignak joins (~gorignak@user/gorignak)
23:40:03 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:43:07 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 265 seconds)
23:45:03 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
23:46:15 × sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 260 seconds)
23:50:24 emmanuelux joins (~emmanuelu@user/emmanuelux)
23:50:49 × xff0x quits (~xff0x@p3704193-ipxg12201sapodori.hokkaido.ocn.ne.jp) (Ping timeout: 244 seconds)
23:55:17 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)

All times are in UTC on 2024-12-23.