Home liberachat/#haskell: Logs Calendar

Logs on 2025-01-03 (liberachat/#haskell)

00:02:02 × picnoir quits (~picnoir@about/aquilenet/vodoo/NinjaTrappeur) (Ping timeout: 272 seconds)
00:05:31 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection timed out)
00:06:07 × haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
00:06:52 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:07:37 haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com)
00:07:37 ChanServ sets mode +v haskellbridge
00:11:06 × artu quits (artu@2600:3c01::f03c:92ff:fecc:1d32) (Ping timeout: 265 seconds)
00:11:17 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
00:13:54 picnoir joins (~picnoir@about/aquilenet/vodoo/NinjaTrappeur)
00:15:52 artu joins (~artu@li90-184.members.linode.com)
00:22:15 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:27:03 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
00:30:28 × artu quits (~artu@li90-184.members.linode.com) (Ping timeout: 252 seconds)
00:31:30 OftenFaded joins (~OftenFade@user/tisktisk)
00:31:34 × mekeor quits (~user@2001:a61:2430:1:c1ba:b095:314c:2638) (Quit: towards emacs as interface to cybernetic council communism)
00:32:48 × dtman34 quits (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net) (Ping timeout: 246 seconds)
00:37:39 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:37:45 artu joins (artu@2600:3c01::f03c:92ff:fecc:1d32)
00:39:49 <hellwolf> Probably I should ask here. Is there an opposite to Typeable, say Untypeable... Meaning that I would like that type variable to be bind to a phantom type such as Proxy, that has no runtime information. I can't use role annotation, because it is rather a constraint, not about the type variable itself.
00:41:06 <hellwolf> e.g. data F eff a b, and I like that eff to be total phantom, since I sometimes to unsafeCoerce to convert between different effs.
00:42:25 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
00:48:54 <geekosaur> I think at the moment the answer is no; iirc you can't use either type roles or required type arguments (which I think can "fake it"?) on `data`
00:52:13 × sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 252 seconds)
00:54:45 × orangeFlu quits (~orangeFlu@159.67.5.85.dynamic.cust.swisscom.net) (Ping timeout: 248 seconds)
00:55:19 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
00:56:40 orangeFlu joins (~orangeFlu@159.67.5.85.dynamic.cust.swisscom.net)
00:56:49 × sprotte24 quits (~sprotte24@p200300d16f364900cdf0214719d60c58.dip0.t-ipconnect.de) (Quit: Leaving)
00:57:12 <hellwolf> and on nth sort, the actual thing that brought me down is that I carried a constraint for the type, which broke all my unsafe practice.
00:57:22 <hellwolf> *thought
00:58:06 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
00:58:23 <hellwolf> rolled back, painfully. learned some lesson playing with fire.
01:02:32 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
01:08:00 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
01:10:55 × orangeFlu quits (~orangeFlu@159.67.5.85.dynamic.cust.swisscom.net) (Ping timeout: 264 seconds)
01:12:01 × artu quits (artu@2600:3c01::f03c:92ff:fecc:1d32) (Ping timeout: 252 seconds)
01:13:22 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:14:19 × HappyNewYear2025 quits (~newyear@2.219.56.221) (Ping timeout: 244 seconds)
01:15:02 dtman34 joins (~dtman34@2601:447:d080:1a3c:611d:ec74:d692:92d4)
01:15:17 artu joins (artu@2600:3c01::f03c:92ff:fecc:1d32)
01:16:16 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
01:17:24 L29Ah joins (~L29Ah@wikipedia/L29Ah)
01:19:27 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
01:19:43 × artu quits (artu@2600:3c01::f03c:92ff:fecc:1d32) (Ping timeout: 252 seconds)
01:21:47 × prasad quits (~Thunderbi@2601:243:c001:3f07::45) (Ping timeout: 252 seconds)
01:29:44 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:29:57 × dtman34 quits (~dtman34@2601:447:d080:1a3c:611d:ec74:d692:92d4) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
01:30:17 dtman34 joins (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net)
01:30:42 artu joins (~artu@li90-184.members.linode.com)
01:31:57 × pandeyan quits (~pandeyan@135-180-52-227.fiber.dynamic.sonic.net) (Quit: ZNC 1.8.2 - https://znc.in)
01:36:04 × statusbot quits (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com) (Remote host closed the connection)
01:36:17 statusbot joins (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com)
01:36:39 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
01:37:22 anpad joins (~pandeyan@user/anpad)
01:41:55 × artu quits (~artu@li90-184.members.linode.com) (Ping timeout: 260 seconds)
01:45:25 × otto_s quits (~user@p5de2f94b.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
01:45:53 × j1n37 quits (~j1n37@user/j1n37) (Read error: Connection reset by peer)
01:47:05 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
01:47:21 otto_s joins (~user@p4ff27e6d.dip0.t-ipconnect.de)
01:48:49 j1n37 joins (~j1n37@user/j1n37)
01:51:26 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
01:51:34 artu joins (artu@2600:3c01::f03c:92ff:fecc:1d32)
01:51:39 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
02:02:28 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:03:48 JuanDaugherty joins (~juan@user/JuanDaugherty)
02:06:53 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:08:43 × artu quits (artu@2600:3c01::f03c:92ff:fecc:1d32) (Ping timeout: 245 seconds)
02:09:06 × ft quits (~ft@p3e9bc62d.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
02:11:07 ft joins (~ft@p3e9bcb80.dip0.t-ipconnect.de)
02:12:23 × OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed)
02:17:47 billchenchina joins (~billchenc@103.152.35.21)
02:17:51 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:20:12 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Quit: So long and thanks for all the fish)
02:20:35 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
02:22:25 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:24:44 <haskellbridge> <Bowuigi> hellwolf the typeclass Absurd from https://hackage.haskell.org/package/boring seems to be close enough to what you're looking for
02:29:27 artu joins (~artu@li90-184.members.linode.com)
02:29:50 × vanishingideal quits (~vanishing@user/vanishingideal) (Quit: leaving)
02:33:12 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:37:09 × acidjnk_new3 quits (~acidjnk@p200300d6e7283f110d9e6e69048fea1c.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
02:39:58 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
02:47:49 × artu quits (~artu@li90-184.members.linode.com) (Ping timeout: 248 seconds)
02:51:15 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
02:53:41 × Jeanne-Kamikaze quits (~Jeanne-Ka@static-198-54-134-112.cust.tzulo.com) (Ping timeout: 248 seconds)
02:55:55 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
02:56:11 prasad joins (~Thunderbi@c-73-75-25-251.hsd1.in.comcast.net)
02:58:35 artu joins (~artu@li90-184.members.linode.com)
03:01:54 × dtman34 quits (~dtman34@c-174-53-203-90.hsd1.mn.comcast.net) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
03:02:16 dtman34 joins (~dtman34@2601:447:d080:1a3c:611d:ec74:d692:92d4)
03:06:39 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:11:23 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
03:11:54 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
03:12:41 × artu quits (~artu@li90-184.members.linode.com) (Ping timeout: 272 seconds)
03:17:59 × dtman34 quits (~dtman34@2601:447:d080:1a3c:611d:ec74:d692:92d4) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
03:18:20 dtman34 joins (~dtman34@2601:447:d080:1a3c:611d:ec74:d692:92d4)
03:22:02 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:22:18 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 276 seconds)
03:23:45 × MyNetAz quits (~MyNetAz@user/MyNetAz) (Remote host closed the connection)
03:24:02 artu joins (artu@2600:3c01::f03c:92ff:fecc:1d32)
03:26:46 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
03:30:46 MyNetAz joins (~MyNetAz@user/MyNetAz)
03:36:17 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Remote host closed the connection)
03:36:40 × artu quits (artu@2600:3c01::f03c:92ff:fecc:1d32) (Ping timeout: 252 seconds)
03:37:13 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
03:37:24 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:38:14 Guest19 joins (~Guest19@39.46.128.74)
03:39:36 × Guest19 quits (~Guest19@39.46.128.74) (Client Quit)
03:39:59 artu joins (artu@2600:3c01::f03c:92ff:fecc:1d32)
03:42:19 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
03:47:23 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
03:51:39 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
03:55:46 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection timed out)
03:56:49 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
04:07:28 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:12:37 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
04:13:43 aforemny joins (~aforemny@i59F4C5A2.versanet.de)
04:15:11 × aforemny_ quits (~aforemny@2001:9e8:6ce6:6100:dea6:831c:52d:f2f8) (Ping timeout: 265 seconds)
04:16:00 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
04:16:23 JuanDaugherty joins (~juan@user/JuanDaugherty)
04:23:32 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:28:03 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
04:28:06 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
04:32:58 newyear2025 joins (~newyear@2.219.56.221)
04:38:55 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
04:43:42 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
04:54:18 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:02:11 × rockingcool quits (~rockingco@user/rockingcool) (Quit: Leaving)
05:02:33 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
05:09:58 × artu quits (artu@2600:3c01::f03c:92ff:fecc:1d32) (Ping timeout: 245 seconds)
05:14:48 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:15:49 × rekahsoft quits (~rekahsoft@76.69.85.220) (Ping timeout: 260 seconds)
05:18:54 rvalue- joins (~rvalue@user/rvalue)
05:19:17 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 248 seconds)
05:19:28 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
05:27:10 rvalue- is now known as rvalue
05:29:07 × weary-traveler quits (~user@user/user363627) (Remote host closed the connection)
05:30:12 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:34:48 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
05:38:19 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 245 seconds)
05:45:36 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:50:18 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
05:52:43 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
05:59:00 × ystael quits (~ystael@user/ystael) (Ping timeout: 244 seconds)
05:59:06 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
06:09:55 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:14:30 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
06:20:37 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
06:21:49 × machinedgod quits (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 265 seconds)
06:24:31 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
06:25:19 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:28:09 × homo quits (~homo@user/homo) (Read error: Connection reset by peer)
06:29:51 homo joins (~homo@user/homo)
06:30:51 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
06:32:05 × j1n37 quits (~j1n37@user/j1n37) (Read error: Connection reset by peer)
06:35:24 j1n37 joins (~j1n37@user/j1n37)
06:37:50 × j1n37 quits (~j1n37@user/j1n37) (Read error: Connection reset by peer)
06:39:34 michalz joins (~michalz@185.246.207.201)
06:42:02 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
06:45:44 j1n37 joins (~j1n37@user/j1n37)
06:46:57 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
06:47:21 × billchenchina quits (~billchenc@103.152.35.21) (Quit: Leaving)
06:49:25 × Square quits (~Square@user/square) (Ping timeout: 248 seconds)
06:50:20 × notzmv quits (~umar@user/notzmv) (Ping timeout: 265 seconds)
06:52:21 Square joins (~Square@user/square)
06:52:32 × tnt1 quits (~Thunderbi@user/tnt1) (Ping timeout: 252 seconds)
06:52:50 tnt1 joins (~Thunderbi@user/tnt1)
06:53:40 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:00:37 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
07:02:45 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
07:04:09 talismanick joins (~user@2601:644:937c:ed10::ae5)
07:04:29 talismanick is now known as Guest5449
07:08:11 × Guest5449 quits (~user@2601:644:937c:ed10::ae5) (Client Quit)
07:08:55 talismanick joins (~user@2601:644:937c:ed10::ae5)
07:13:46 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:14:22 takuan joins (~takuan@178-116-218-225.access.telenet.be)
07:18:22 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
07:29:08 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:32:43 CiaoSen joins (~Jura@2a05:5800:2e3:9a00:ca4b:d6ff:fec1:99da)
07:33:51 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
07:34:33 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 246 seconds)
07:44:31 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:49:26 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
07:51:26 × homo quits (~homo@user/homo) (Read error: Connection reset by peer)
07:54:41 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
07:59:09 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
08:00:00 × caconym quits (~caconym@user/caconym) (Quit: bye)
08:00:37 caconym joins (~caconym@user/caconym)
08:14:50 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:16:00 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:18:43 homo joins (~homo@user/homo)
08:19:25 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
08:21:06 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Quit: au revoir)
08:28:46 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:30:13 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:31:52 × prasad quits (~Thunderbi@c-73-75-25-251.hsd1.in.comcast.net) (Ping timeout: 272 seconds)
08:32:15 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
08:32:37 ChaiTRex joins (~ChaiTRex@user/chaitrex)
08:33:39 × CiaoSen quits (~Jura@2a05:5800:2e3:9a00:ca4b:d6ff:fec1:99da) (Ping timeout: 276 seconds)
08:34:57 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
08:35:59 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
08:51:51 × Square quits (~Square@user/square) (Quit: Leaving)
08:58:15 notzmv joins (~umar@user/notzmv)
09:00:48 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
09:11:11 target_i joins (~target_i@user/target-i/x-6023099)
09:19:18 jespada joins (~jespada@2800:a4:1f2:4500:d80a:39f0:267f:dcc5)
09:25:17 chexum joins (~quassel@gateway/tor-sasl/chexum)
09:28:22 × homo quits (~homo@user/homo) (Quit: Leaving)
09:28:44 homo joins (~homo@user/homo)
09:40:07 mari-estel joins (~mari-este@user/mari-estel)
09:40:15 CiaoSen joins (~Jura@2a05:5800:2e3:9a00:ca4b:d6ff:fec1:99da)
09:40:58 sawilagar joins (~sawilagar@user/sawilagar)
09:47:01 dysthesis joins (~dysthesis@user/dysthesis)
09:47:43 × dysthesis quits (~dysthesis@user/dysthesis) (Client Quit)
09:48:43 Digitteknohippie joins (~user@user/digit)
09:49:57 × Digit quits (~user@user/digit) (Ping timeout: 244 seconds)
10:00:49 × Digitteknohippie quits (~user@user/digit) (Ping timeout: 248 seconds)
10:03:06 dysthesis joins (~dysthesis@user/dysthesis)
10:18:34 acidjnk_new3 joins (~acidjnk@p200300d6e7283f650d9e6e69048fea1c.dip0.t-ipconnect.de)
10:21:04 × notzmv quits (~umar@user/notzmv) (Ping timeout: 265 seconds)
10:22:26 × dysthesis quits (~dysthesis@user/dysthesis) (Quit: dysthesis)
10:22:38 dysthesis joins (~dysthesis@user/dysthesis)
10:25:35 × dysthesis quits (~dysthesis@user/dysthesis) (Client Quit)
10:25:47 dysthesis joins (~dysthesis@user/dysthesis)
10:29:15 × dysthesis quits (~dysthesis@user/dysthesis) (Client Quit)
10:29:27 dysthesis joins (~dysthesis@user/dysthesis)
10:34:52 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
10:37:39 × jespada quits (~jespada@2800:a4:1f2:4500:d80a:39f0:267f:dcc5) (Ping timeout: 252 seconds)
10:40:36 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
10:41:30 × CiaoSen quits (~Jura@2a05:5800:2e3:9a00:ca4b:d6ff:fec1:99da) (Ping timeout: 260 seconds)
10:59:44 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
11:01:11 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
11:04:30 dysthesis joins (~dysthesis@user/dysthesis)
11:05:04 ljdarj joins (~Thunderbi@user/ljdarj)
11:08:19 CiaoSen joins (~Jura@2a05:5800:2e3:9a00:ca4b:d6ff:fec1:99da)
11:17:48 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
11:21:06 <mari-estel> haskell weekly more interesting than usual
11:21:29 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
11:27:46 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
11:32:56 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
11:33:13 dysthesis joins (~dysthesis@user/dysthesis)
11:38:54 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
11:50:53 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
11:55:08 × mari-estel quits (~mari-este@user/mari-estel) (Quit: overflow)
11:55:39 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
11:56:02 paul_j joins (~user@8.190.187.81.in-addr.arpa)
12:00:46 <bwe> Does infix notation support multiple arguments (on the left side)?
12:01:15 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 252 seconds)
12:04:36 <geekosaur> that's a very confused question
12:05:10 <geekosaur> it's an expression on both sides. said expression may be a function application. "multiple arguments" is incompatible with this
12:05:20 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:06:35 AlexZenon joins (~alzenon@5.139.233.96)
12:06:43 <homo> sounds like someone wants x ? y : z from c
12:09:46 jespada joins (~jespada@2800:a4:1f2:4500:c84e:22e7:b76a:e9c1)
12:14:06 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
12:19:14 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 252 seconds)
12:26:32 AlexZenon joins (~alzenon@5.139.233.96)
12:27:34 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:28:04 L29Ah joins (~L29Ah@wikipedia/L29Ah)
12:30:32 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
12:30:40 <[exa]> bwe: you can do some trickery to make it kinda work, but I wouldn't say it's recommendable
12:32:10 <[exa]> (you need to "pack" the arguments somehow, e.g. by smashing more operators inside or by applying weird typelevel tricks, e.g. what the `printf` does to support varargs)
12:32:17 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
12:36:40 athan joins (~athan@syn-075-137-062-163.biz.spectrum.com)
12:38:40 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
12:46:11 wootehfoot joins (~wootehfoo@user/wootehfoot)
12:52:50 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 265 seconds)
12:56:01 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
12:58:28 JuanDaugherty joins (~juan@user/JuanDaugherty)
13:03:08 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
13:04:45 dysthesis joins (~dysthesis@user/dysthesis)
13:05:29 <bwe> [exa]: alright, I'll don't try it. thanks for your take anyways.
13:08:43 × CiaoSen quits (~Jura@2a05:5800:2e3:9a00:ca4b:d6ff:fec1:99da) (Ping timeout: 252 seconds)
13:12:39 mari-estel joins (~mari-este@user/mari-estel)
13:12:55 xdminsy joins (~xdminsy@117.147.71.240)
13:14:46 × mari-estel quits (~mari-este@user/mari-estel) (Client Quit)
13:17:03 × alfiee quits (alfiee@user/alfiee) (Ping timeout: 276 seconds)
13:18:49 alfiee joins (alfiee@user/alfiee)
13:21:46 AlexZenon joins (~alzenon@5.139.233.96)
13:29:01 × athan quits (~athan@syn-075-137-062-163.biz.spectrum.com) (Ping timeout: 252 seconds)
13:31:26 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
13:31:49 JuanDaugherty joins (~juan@user/JuanDaugherty)
13:35:42 ash3en1 joins (~Thunderbi@146.70.124.222)
13:37:18 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 265 seconds)
13:37:18 ash3en1 is now known as ash3en
13:37:50 × iamsleepy quits (~weechat@2a01:4f9:3070:feff:8dba:5fff:72fd:7f7d) (Read error: Connection reset by peer)
13:38:14 iamsleepy joins (~weechat@2a01:4f9:3070:feff:e108:469f:fb3b:55a7)
14:00:01 × gentauro quits (~gentauro@user/gentauro) (Read error: Connection reset by peer)
14:03:27 × ft quits (~ft@p3e9bcb80.dip0.t-ipconnect.de) (Quit: leaving)
14:06:03 gentauro joins (~gentauro@user/gentauro)
14:15:31 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 244 seconds)
14:19:05 AlexZenon joins (~alzenon@5.139.233.96)
14:19:08 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
14:27:05 mari-estel joins (~mari-este@user/mari-estel)
14:32:57 <int-e> . o O ( Why is "Real" a superclass of RealFrac? )
14:35:24 <int-e> (Purely rhetorical; I know this is an old topic, and I have nothing useful to add. I only just ran into this because I was implementing class instances for some Q[sqrt(n)] field.)
14:38:47 <merijn> int-e: So people can also make non-real Fractions? xD
14:39:10 <homo> non-real like complex numbers?
14:39:29 <homo> or just imaginary numbers?
14:39:29 <merijn> Incidentally, there is a Fractional instance for Complex, so yes
14:39:52 <homo> well, fraction doesn't have to be real...
14:39:52 <int-e> the sole method of Real is toRational and there's nothing rational about real fields.
14:40:23 <int-e> ironically toRational + fromRational is enough to implement all of RealFrac.
14:40:31 <merijn> ssshhh baby, don't think about it ;)
14:41:09 <homo> haskell breaks terminology of mathematics
14:41:12 <int-e> I'll get over it. Again. Maybe I'll go full 1984 on this and decide tnat I love implementing class methods as `undefined`.
14:41:18 taleseeker joins (~taleseeke@user/taleseeker)
14:43:57 <int-e> merijn: So the "fix" here would be Fractional -> RealFrac -> Fractional. Not going to happen and yeah I'm thinking too much about this :)
14:44:07 <int-e> s/->/=>/g
14:46:21 <int-e> that last one was supposed to be `Real`
14:46:39 <int-e> As you can see, my brain is already shutting off again. :)
14:46:49 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
14:47:38 ft joins (~ft@p3e9bcb80.dip0.t-ipconnect.de)
14:52:07 SlackCoder joins (~SlackCode@64-94-63-8.ip.weststar.net.ky)
14:52:17 Square joins (~Square@user/square)
14:54:26 Sgeo joins (~Sgeo@user/sgeo)
15:17:15 × jespada quits (~jespada@2800:a4:1f2:4500:c84e:22e7:b76a:e9c1) (Quit: Textual IRC Client: www.textualapp.com)
15:19:24 jespada joins (~jespada@2800:a4:1f2:4500:114:70:226a:1bac)
15:25:42 × Square quits (~Square@user/square) (Remote host closed the connection)
15:34:20 × jespada quits (~jespada@2800:a4:1f2:4500:114:70:226a:1bac) (Ping timeout: 260 seconds)
15:38:03 jespada joins (~jespada@2800:a4:c:5c00:1882:1e5a:8af0:7350)
15:44:54 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
15:57:04 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:58:16 weary-traveler joins (~user@user/user363627)
16:11:16 × acidjnk_new3 quits (~acidjnk@p200300d6e7283f650d9e6e69048fea1c.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
16:21:36 Guest4 joins (~Guest4@2001:41d0:801:2000::5f57)
16:23:49 × Guest4 quits (~Guest4@2001:41d0:801:2000::5f57) (Client Quit)
16:24:44 machinedgod joins (~machinedg@d108-173-18-100.abhsia.telus.net)
16:26:51 lxsameer joins (~lxsameer@Serene/lxsameer)
16:27:31 <lxsameer> hey folks, have you tried Lean4? if yes, how do compare it to Haskell? Would you recommend it as a more modern replacement?
16:28:32 × kimiamania quits (~65804703@user/kimiamania) (Quit: PegeLinux)
16:28:52 <merijn> lxsameer: eh I haven't tried it, but how I would compare it to Haskell is "not"
16:28:52 <geekosaur> isn't Lean4 dependently typed? so they're not really in the same ballpark
16:29:20 <merijn> geekosaur: Lean is also, afaik/afaict, very focussed on being a theorem prover
16:30:01 <merijn> lxsameer: Haskell is very much a "general purpose programming language" (that people sometimes abuse to do theorem proving in)
16:30:14 kimiamania joins (~65804703@user/kimiamania)
16:30:33 <merijn> lxsameer: Whereas Lean (afaik, not having used it, but knowing it exists) is more like Coq and Agda. That is "a theorem prover" (that people sometimes abuse to do programming in)
16:31:11 <lxsameer> merijn: i'm reading the book, it seems like a general purpose lang as well. at least among all the theromprovers I looked at, it is certainly the one that we can label it as general purpose
16:31:58 <geekosaur> maybe monochrom can say a bit more
16:32:00 <lxsameer> geekosaur: sure, but the fact that there are attempts to bring dependant types to haskell make them comparable IMHO
16:32:30 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:32:48 <merijn> I suppose that Lean (looking over their docs) is perhaps more like Idris
16:32:55 <merijn> (than Coq or Agda)
16:33:17 <merijn> lxsameer: I guess the real question is "modern replacement for what?"
16:35:04 <lxsameer> good question. As rookie haskeller, I have to say, I struggled a lot with the tooling and so on
16:35:22 <merijn> lxsameer: I mean, lean doesn't seem to have any tooling for packages/etc.
16:35:36 <lxsameer> merijn: it ships with one called lake
16:35:59 <lxsameer> I'm pretty knew to it hence the question
16:36:04 <merijn> What tooling did you struggle with?
16:36:30 <geekosaur> I've had less trouble with cabal than cargo, and let's not even get started on rust-analyzer
16:36:51 <lxsameer> geekosaur: Amen to that
16:37:15 <lxsameer> merijn: Cabal, GHC
16:37:31 <merijn> lxsameer: What OS? How did you install them?
16:37:39 <lxsameer> i'm ok with them right now since I had my battle with them :D
16:37:45 <lxsameer> NixOS
16:38:11 <merijn> ah
16:38:33 <merijn> I like Nix *conceptually* I'm not at all sold on the UX it has :p
16:38:58 <merijn> lxsameer: Did you try ghcup? (Not sure how well that works on Nix)
16:39:06 <lxsameer> merijn: I love to be honest even though it took me a long time to admit it
16:39:37 <lxsameer> merijn: yeah I tried that too. it's ok right now
16:41:33 × xdminsy quits (~xdminsy@117.147.71.240) (Read error: Connection reset by peer)
16:42:04 xdminsy joins (~xdminsy@117.147.71.240)
16:53:13 <int-e> . o O ( Nix is the solution to a problem that almost nobody has? )
16:54:09 <mari-estel> except cabal, with bin dependencies sometimes missing
16:56:41 <lxsameer> int-e: and what is that problem :D
16:59:00 × mari-estel quits (~mari-este@user/mari-estel) (Quit: overflow)
17:00:52 <int-e> lxsameer: conflicting versions of packages coexisting in one space... there's always somebody who finds a use for such things. stuff like (oh god that TLD) https://nixos.pro/posts/why-nixos-is-revolutionizing-the-way-we-manage-operating-systems/
17:01:29 <int-e> Which I googled... I just wanted *one* example of the inevitable blog post that portrays NixOS as THE solution for something.
17:02:23 <geekosaur> practically every nix/nixos kool-aid drinker I've ever encountered
17:02:25 <int-e> (there's a huge overlap between this one and people juggling VM images/containers)
17:02:29 <lxsameer> int-e: ah i see, I have to say, Nix and NixOS is one of those things that you'll appriciate only after when you experienced it.
17:02:56 <homo> guix is better than nixos, because it is fsdg-compliant (respects your freedom), reproducible and bootstrappable
17:02:58 <int-e> . o O ( aka Stockholm syndrome )
17:03:07 <lxsameer> We have/had a huuuuuge build pipeline for a really complicated software written mostly in C++ using Conan
17:03:21 <lxsameer> and every build used to take 9 hours.
17:03:43 <int-e> lxsameer: I seriously believe that I haven't yet encountered a problem that would justify the leap. And I suspect that I'm not alone in this :-P
17:04:09 <lxsameer> We literally packaged every dependency and our toolchain was pretty outdated just because we couldn't migrate it to the newer version thanks to conan
17:04:20 <int-e> I tend to have a problem that NixOS makes worse... running out of disk space.
17:04:41 <lxsameer> but using nix, OMG everything is very smooth, dependency management is not a nightmare any more
17:05:09 <lxsameer> int-e: yeah disk can be an issue, but I'm 3T and my store is like 200G
17:05:25 <lxsameer> beside that, one otherthing that I love is OS as a function
17:05:26 <yushyin> nix has its quirks, annoyances and such but i do like it for the nixos modules (cfgmgmt), i tried other solutions (puppet, ansible) but I ended up with nixos
17:05:43 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
17:05:58 Sgeo joins (~Sgeo@user/sgeo)
17:06:06 <lxsameer> oh yeah, i bootstrap a new node in a deterministic way, essentially git for my os
17:06:40 <lxsameer> my OS never breaks, if I screw, I just rollback one generation and baaam! all good
17:11:13 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
17:12:21 prasad joins (~Thunderbi@c-73-75-25-251.hsd1.in.comcast.net)
17:12:44 <yushyin> i cannot say the same, i have complex enough configurations that were 'broken' after updates and due to state (which nixos is terrible at managing) I couldn't just rollback to an older generation ...
17:12:58 <yushyin> (still my favorite cfgmgmt for personal use)
17:13:32 <lxsameer> yushyin: you couldn't rollback at boot
17:13:34 <lxsameer> ?
17:16:40 <yushyin> i certainly could have started an older generation, but the system would still be 'broken', i would also have had to restore the state (in /var/lib) from a backup (that didn't exist)
17:17:07 <lxsameer> yushyin: ah got it
17:23:33 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
17:28:57 × CrunchyFlakes quits (~CrunchyFl@ip923482e1.dynamic.kabel-deutschland.de) (Quit: ZNC 1.8.2 - https://znc.in)
17:29:44 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:31:30 × talismanick quits (~user@2601:644:937c:ed10::ae5) (Remote host closed the connection)
17:31:45 × Fischmiep quits (~Fischmiep@user/Fischmiep) (Quit: ZNC - https://znc.in)
17:32:14 Fischmiep joins (~Fischmiep@user/Fischmiep)
17:32:38 × ubert quits (~Thunderbi@p200300ecdf117c9c085b78743ebe2cd2.dip0.t-ipconnect.de) (Quit: ubert)
17:32:42 CrunchyFlakes joins (~CrunchyFl@ip923482e1.dynamic.kabel-deutschland.de)
17:32:53 ystael joins (~ystael@user/ystael)
17:33:55 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
17:36:21 × Fischmiep quits (~Fischmiep@user/Fischmiep) (Client Quit)
17:36:43 Fischmiep joins (~Fischmiep@user/Fischmiep)
17:37:21 Square joins (~Square@user/square)
17:39:08 × homo quits (~homo@user/homo) (Quit: Leaving)
17:41:20 Jeanne-Kamikaze joins (~Jeanne-Ka@static-198-54-134-176.cust.tzulo.com)
17:41:34 acidjnk_new3 joins (~acidjnk@p200300d6e7283f650d9e6e69048fea1c.dip0.t-ipconnect.de)
17:42:24 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
17:45:38 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
17:46:58 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
17:50:25 sprotte24 joins (~sprotte24@p200300d16f1ef200acc092aad64c3103.dip0.t-ipconnect.de)
17:56:32 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
18:00:16 × nurupo quits (~nurupo.ga@user/nurupo) (Quit: nurupo.ga)
18:00:21 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 246 seconds)
18:00:33 nurupo joins (~nurupo.ga@user/nurupo)
18:03:55 Digit joins (~user@user/digit)
18:09:12 × Jeanne-Kamikaze quits (~Jeanne-Ka@static-198-54-134-176.cust.tzulo.com) (Quit: Leaving)
18:09:37 Jeanne-Kamikaze joins (~Jeanne-Ka@static-198-54-134-176.cust.tzulo.com)
18:25:49 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 245 seconds)
18:26:48 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
18:30:28 <bwe> how do I pattern match for a single member NonEmpty?
18:30:43 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
18:31:03 <geekosaur> (x:|[]) ?
18:31:17 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 248 seconds)
18:32:35 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Quit: No Ping reply in 180 seconds.)
18:33:00 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
18:33:39 Lord_of_Life_ is now known as Lord_of_Life
18:33:54 chexum joins (~quassel@gateway/tor-sasl/chexum)
18:35:54 liveuser joins (~liveuser@2001:16a2:45d5:c500:2712:e2f3:cfe:4fae)
18:36:09 × bsima quits (~bsima@143.198.118.179) (Quit: ZNC 1.8.2 - https://znc.in)
18:36:37 bsima joins (~bsima@2604:a880:400:d0::19f1:7001)
18:44:24 × liveuser quits (~liveuser@2001:16a2:45d5:c500:2712:e2f3:cfe:4fae) (Quit: Leaving)
18:50:55 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
18:52:06 _xor4 joins (~xor@ip-66-42-132-175.dynamic.fuse.net)
18:52:17 × _xor quits (~xor@ip-66-42-132-175.dynamic.fuse.net) (Ping timeout: 252 seconds)
18:52:17 _xor4 is now known as _xor
18:57:00 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 276 seconds)
18:58:08 × dolio quits (~dolio@130.44.140.168) (Quit: ZNC 1.9.1 - https://znc.in)
18:59:04 Digitteknohippie joins (~user@user/digit)
18:59:15 <bwe> geekosaur: works, thanks!
18:59:54 × Digit quits (~user@user/digit) (Ping timeout: 244 seconds)
19:02:31 Digitteknohippie is now known as Digit
19:02:54 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
19:09:06 <monochrom> Unpopular opinion: Don't rollback, just start afresh and replay a prefix of the history. :)
19:11:03 × acidjnk_new3 quits (~acidjnk@p200300d6e7283f650d9e6e69048fea1c.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
19:13:54 ljdarj1 joins (~Thunderbi@user/ljdarj)
19:14:19 vanishingideal joins (~vanishing@user/vanishingideal)
19:15:09 dolio joins (~dolio@130.44.140.168)
19:15:55 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 244 seconds)
19:15:55 ljdarj1 is now known as ljdarj
19:17:00 __monty__ joins (~toonn@user/toonn)
19:17:16 lxsameer joins (~lxsameer@Serene/lxsameer)
19:17:45 × infinity0 quits (~infinity0@pwned.gg) (Ping timeout: 260 seconds)
19:22:36 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 246 seconds)
19:25:12 janvogt joins (~janvogt@ip-109-192-067-222.um38.pools.vodafone-ip.de)
19:25:27 janvogt_ joins (~janvogt@ip-109-192-067-222.um38.pools.vodafone-ip.de)
19:25:49 × janvogt_ quits (~janvogt@ip-109-192-067-222.um38.pools.vodafone-ip.de) (Remote host closed the connection)
19:25:53 × janvogt quits (~janvogt@ip-109-192-067-222.um38.pools.vodafone-ip.de) (Remote host closed the connection)
19:27:25 OftenFaded joins (~OftenFade@user/tisktisk)
19:29:54 Guest58 joins (~Guest58@94.250.89.162)
19:30:19 × Guest58 quits (~Guest58@94.250.89.162) (Client Quit)
19:36:21 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 248 seconds)
19:37:03 × ash3en quits (~Thunderbi@146.70.124.222) (Read error: Connection reset by peer)
19:37:17 ash3en joins (~Thunderbi@146.70.124.222)
19:37:55 infinity0 joins (~infinity0@pwned.gg)
19:43:25 AlexZenon joins (~alzenon@5.139.233.96)
19:45:57 × ash3en quits (~Thunderbi@146.70.124.222) (Ping timeout: 248 seconds)
19:47:11 ash3en joins (~Thunderbi@146.70.124.222)
19:48:16 pavonia joins (~user@user/siracusa)
19:51:52 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 244 seconds)
19:54:14 AlexZenon joins (~alzenon@5.139.233.96)
20:00:02 × caconym quits (~caconym@user/caconym) (Quit: bye)
20:00:41 caconym joins (~caconym@user/caconym)
20:01:35 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
20:04:47 <haskellbridge> <magic_rb> https://paste.tomsmeding.com/2PZ3zHir I've got that implementation of a sparseset, i already sprinkled in INLINEs but i dont quite under stand why im getting the following prof output https://paste.tomsmeding.com/jjgSGOAa sparsesets should be fast, especially with an "exists" query as thats O(1)
20:05:33 <haskellbridge> <magic_rb> its an STRef internally running in IO in the end
20:05:47 <haskellbridge> <magic_rb> maybe the fact thats it generic over m is whats slowing the whole thing down?
20:29:30 × weary-traveler quits (~user@user/user363627) (Remote host closed the connection)
20:31:58 × ft quits (~ft@p3e9bcb80.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
20:33:56 ft joins (~ft@p3e9bc111.dip0.t-ipconnect.de)
20:34:30 <c_wraith> the fact that it's doing 70% of the allocation makes me suspect it's getting the blame for evaluating something that was otherwise getting passed to it unevaluated.
20:35:09 <haskellbridge> <magic_rb> so something is not strict which ought to be strict?
20:35:31 <haskellbridge> <magic_rb> well, a good start would be making the tuple strict
20:37:40 <c_wraith> Just in general, this doesn't look like code that was written to make it easy for users to control evaluation.
20:38:30 acidjnk_new3 joins (~acidjnk@p200300d6e7283f650d9e6e69048fea1c.dip0.t-ipconnect.de)
20:40:17 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 248 seconds)
20:42:00 causal joins (~eric@50.35.84.231)
20:43:07 × ft quits (~ft@p3e9bc111.dip0.t-ipconnect.de) (Ping timeout: 265 seconds)
20:43:48 <haskellbridge> <magic_rb> Well, i wrote it sooo
20:43:55 itscaleb6 joins (~itscaleb@user/itscaleb)
20:43:59 <haskellbridge> <magic_rb> Any tips are greatly appreciated
20:44:18 rdcdr_ joins (~rdcdr@75-172-28-251.tukw.qwest.net)
20:44:43 ft joins (~ft@p3e9bc8e9.dip0.t-ipconnect.de)
20:45:17 × rdcdr quits (~rdcdr@user/rdcdr) (Ping timeout: 272 seconds)
20:46:01 × itscaleb quits (~itscaleb@user/itscaleb) (Ping timeout: 265 seconds)
20:46:01 itscaleb6 is now known as itscaleb
20:48:03 <EvanR> before you modify the ST ref do you make sure to evaluate the value
20:48:11 <EvanR> if it's like, just a number
20:48:36 <c_wraith> If you haven't read https://apfelmus.nfshost.com/blog/2013/08/21-space-invariants.html , start there. Focus especially on the idea that what's useful is linking evaluation.
20:51:01 <haskellbridge> <magic_rb> EvanR no i dont, would be nice to do so
20:51:17 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 244 seconds)
20:51:52 <EvanR> is there an equivalent of evaluate for ST
20:51:53 <EvanR> :t evaluate
20:51:54 <lambdabot> a -> IO a
20:52:38 <EvanR> oh there is
20:52:39 <EvanR> modifySTRef'
20:52:51 <monochrom> There may be a modifySTRef' . If not, you add your own $! or bang, writeSTRef v $! (n+1)
20:53:35 <EvanR> ! is pronounced bang. $! wants to be pronounced whizbang. I say
20:53:44 <monochrom> err, s/bang/seq/ e.g. let n1 = n+1 in seq n1 (writeSTRef v n1) which is what the $! does
20:55:14 AlexZenon joins (~alzenon@5.139.233.96)
20:55:29 <c_wraith> is PrimMonad always either ST s or IO?
20:56:51 <c_wraith> man, vector's new cabal layout really messes with haddock. The index only includes the items in the benchmark.
20:58:00 itscaleb4 joins (~itscaleb@user/itscaleb)
20:58:07 <c_wraith> Oh, no. PrimMonad can be transformers around one of those.
20:58:54 rdcdr joins (~rdcdr@user/rdcdr)
21:00:01 × rdcdr_ quits (~rdcdr@75-172-28-251.tukw.qwest.net) (Ping timeout: 252 seconds)
21:00:14 × itscaleb quits (~itscaleb@user/itscaleb) (Ping timeout: 260 seconds)
21:00:14 itscaleb4 is now known as itscaleb
21:01:24 × kimiamania quits (~65804703@user/kimiamania) (Quit: PegeLinux)
21:01:47 kimiamania joins (~65804703@user/kimiamania)
21:04:57 × ft quits (~ft@p3e9bc8e9.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
21:10:25 × Jeanne-Kamikaze quits (~Jeanne-Ka@static-198-54-134-176.cust.tzulo.com) (Remote host closed the connection)
21:17:45 × dsrt^ quits (dsrt@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 246 seconds)
21:18:18 <monochrom> Haha only the benchmarks are documented.
21:19:46 dsrt^ joins (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net)
21:23:14 <c_wraith> I'm not sure if that one's an issue with cabal, haddock, or the way vector layed things out
21:27:05 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Remote host closed the connection)
21:27:21 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
21:30:08 × jespada quits (~jespada@2800:a4:c:5c00:1882:1e5a:8af0:7350) (Quit: My Mac has gone to sleep. ZZZzzz…)
21:31:03 Everything joins (~Everythin@195.138.86.118)
21:43:59 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 260 seconds)
21:51:15 AlexZenon joins (~alzenon@5.139.233.96)
21:52:46 × causal quits (~eric@50.35.84.231) (Quit: WeeChat 4.4.3)
21:53:52 × SlackCoder quits (~SlackCode@64-94-63-8.ip.weststar.net.ky) (Quit: Leaving)
21:56:12 notzmv joins (~umar@user/notzmv)
21:56:35 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 265 seconds)
21:58:41 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
21:58:44 <spew> does anyone know of a nice logging package that does not depend on template haskell?
22:00:44 weary-traveler joins (~user@user/user363627)
22:01:30 dabs joins (~Owner@2600:1700:69cf:9000:cdd4:bc4b:f69f:7dcd)
22:06:29 AlexZenon joins (~alzenon@5.139.233.96)
22:07:16 × dabs quits (~Owner@2600:1700:69cf:9000:cdd4:bc4b:f69f:7dcd) (Quit: Leaving)
22:07:32 dabs joins (~Owner@2600:1700:69cf:9000:cdd4:bc4b:f69f:7dcd)
22:10:23 <geekosaur> https://hackage.haskell.org/package/fast-logger ?
22:11:26 <mauke> hPutStrLn stderr
22:12:36 <monochrom> :)
22:12:42 <dmj`> bytestring builder worked well for me
22:17:54 <dabs> actually when you boil this down to the core issue, it's a category theory thing
22:19:12 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:19:33 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
22:20:34 <dmj`> the logger category
22:23:19 SlackCoder joins (~SlackCode@64-94-63-8.ip.weststar.net.ky)
22:32:14 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
22:32:24 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
22:34:33 JuanDaugherty joins (~juan@user/JuanDaugherty)
22:36:10 gorignak joins (~gorignak@user/gorignak)
22:40:12 <haskellbridge> <magic_rb> c_wraith: looking at my code again, most of the apparent allcs are in "exists" which doesnt even touche the STRef at all. it only reads it
22:40:33 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
22:40:46 <geekosaur> which suggests it's forcing a thunk that's in the STRef
22:41:30 <haskellbridge> <magic_rb> those thunks dont change, oh wait
22:41:36 <haskellbridge> <magic_rb> they do the positions move
22:44:03 <haskellbridge> <magic_rb> right and my physics system writes even positions that are equal so there is constant churn
22:46:07 <sm> @where+ games https://joyful.com/Haskell+Games
22:46:21 <lambdabot> Done.
22:47:05 <haskellbridge> <magic_rb> maybe i ought to move into games, though this is a general "why is my haskell code horribly slow" question :)
22:47:20 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
22:50:37 <haskellbridge> <magic_rb> i removed some of the inline pragmas, around exists and got https://paste.tomsmeding.com/lA8DAs9V
22:50:47 <haskellbridge> <magic_rb> which suggests that there is overhead from PrimMonad
22:51:01 <haskellbridge> <magic_rb> and somehow overhead in exists
22:51:03 <haskellbridge> <magic_rb> still
22:51:31 × vanishingideal quits (~vanishing@user/vanishingideal) (Remote host closed the connection)
22:51:36 <haskellbridge> <magic_rb> all the vectors are unbox, right thats why the allocs
22:51:38 <haskellbridge> <magic_rb> it has to box
22:51:40 <haskellbridge> <magic_rb> damn
22:52:04 <haskellbridge> <magic_rb> might be better to make the metadata vectors boxed? hm
22:54:17 <haskellbridge> <magic_rb> maybe if i can work with the unboxed values directly? though thats extremely clumsy
22:55:51 <monochrom> boxed takes more memory than unboxed, namely, one more pointer.
22:56:28 <haskellbridge> <magic_rb> yeah i know
22:56:44 <haskellbridge> <magic_rb> but exists is a really frequently used function so it needs to be very snappy
22:57:05 <haskellbridge> <magic_rb> maybe doing storable and reading the pointers? i was hoping to have the sparseset accessible from both Haskell and native code
22:57:12 <haskellbridge> <magic_rb> for rendering code or something
22:57:47 <monochrom> storable and unboxed are pretty much on par. storable supports user-defined types more easily.
22:57:51 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
22:58:12 <monochrom> boxed is the only one that supports laziness.
22:58:38 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
22:58:44 <haskellbridge> <magic_rb> Right i dont need that, or rather dont want that
22:59:00 <haskellbridge> <magic_rb> Ill try to avoid boxing in exists next, working with unboxed types
22:59:11 <haskellbridge> <magic_rb> Itll be syntactic hell but ive never done that so i wanna try
23:00:21 <monochrom> If you have an unboxed vector and it's mutable and you are in ST/IO modifying it in-place, there should not be that much allocation, at least not allocation a whole new copy of the whole vector.
23:01:36 <haskellbridge> <magic_rb> Yes but im pulling out the Int from it, doing some compressions and then returning a Bool to the calling code saying "yep exists" and doing that hundreds of times per frame
23:01:40 <haskellbridge> <magic_rb> Which adds up
23:01:41 <monochrom> or rather, s/there should not be/that should not be the cause of/
23:02:21 <haskellbridge> <magic_rb> The exists function does nothing else, it takes a Int, accesses the vectors from behind a STRef and then returns a Bool
23:03:06 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
23:13:59 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:14:46 × michalz quits (~michalz@185.246.207.201) (Remote host closed the connection)
23:15:52 × foul_owl quits (~kerry@193.42.0.124) (Ping timeout: 252 seconds)
23:17:57 × xal quits (~xal@mx1.xal.systems) (Quit: bye)
23:18:32 xal joins (~xal@mx1.xal.systems)
23:18:57 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
23:20:31 × haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
23:23:26 haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com)
23:23:26 ChanServ sets mode +v haskellbridge
23:25:58 Jeanne-Kamikaze joins (~Jeanne-Ka@79.127.217.40)
23:26:14 × Jeanne-Kamikaze quits (~Jeanne-Ka@79.127.217.40) (Remote host closed the connection)
23:28:07 Jeanne-Kamikaze joins (~Jeanne-Ka@79.127.217.40)
23:29:21 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:33:53 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
23:41:19 foul_owl joins (~kerry@185.203.219.80)
23:42:55 × notzmv quits (~umar@user/notzmv) (Ping timeout: 265 seconds)
23:44:44 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:46:55 × AlexZenon quits (~alzenon@5.139.233.96) (Ping timeout: 264 seconds)
23:47:40 × prasad quits (~Thunderbi@c-73-75-25-251.hsd1.in.comcast.net) (Ping timeout: 272 seconds)
23:49:41 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
23:50:16 AlexZenon joins (~alzenon@5.139.233.96)
23:50:18 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
23:51:01 <sm> lambdabot's where db contains enlightenment: https://ifdb.org/viewgame?id=fn8r65rg7upfff0o , but I see no Haskell connection - will clean it out unless you know otherwise
23:52:27 × Everything quits (~Everythin@195.138.86.118) (Quit: leaving)
23:54:25 <sm> @where+ enlightenment
23:54:25 <lambdabot> It is forgotten.
23:55:16 merijn joins (~merijn@128-137-045-062.dynamic.caiway.nl)
23:55:31 <sm> @where+ nikki https://github.com/nikki-and-the-robots/nikki
23:55:31 <lambdabot> Done.
23:58:01 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
23:59:50 × merijn quits (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)

All times are in UTC on 2025-01-03.