Home liberachat/#haskell: Logs Calendar

Logs on 2025-05-13 (liberachat/#haskell)

00:02:38 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
00:07:45 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
00:09:31 × j1n37- quits (~j1n37@user/j1n37) (Ping timeout: 252 seconds)
00:09:53 j1n37 joins (~j1n37@user/j1n37)
00:15:01 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer)
00:15:42 prdak joins (~Thunderbi@user/prdak)
00:17:06 × tomboy64 quits (~tomboy64@user/tomboy64) (Ping timeout: 252 seconds)
00:18:21 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
00:18:25 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
00:20:17 × fantom quits (~fantom@33be818f.skybroadband.com) (Ping timeout: 244 seconds)
00:20:26 × prdak quits (~Thunderbi@user/prdak) (Ping timeout: 272 seconds)
00:23:20 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
00:30:47 tomboy64 joins (~tomboy64@user/tomboy64)
00:34:14 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
00:34:20 prdak joins (~Thunderbi@user/prdak)
00:38:58 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
00:42:09 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
00:43:32 notzmv joins (~daniel@user/notzmv)
00:49:43 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
00:52:54 × prdak quits (~Thunderbi@user/prdak) (Ping timeout: 245 seconds)
00:54:37 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
00:59:20 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
01:05:31 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
01:06:34 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
01:08:19 × xff0x quits (~xff0x@ai099192.d.east.v6connect.net) (Ping timeout: 276 seconds)
01:12:19 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
01:23:34 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
01:25:41 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 248 seconds)
01:28:45 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
01:33:37 × machinedgod quits (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 248 seconds)
01:39:21 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
01:40:54 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 276 seconds)
01:44:17 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
01:50:59 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 265 seconds)
01:51:53 j1n37 joins (~j1n37@user/j1n37)
01:55:09 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
01:55:32 j1n37- joins (~j1n37@user/j1n37)
01:56:47 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 265 seconds)
02:00:08 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
02:00:21 sajenim joins (~sajenim@user/sajenim)
02:05:51 xff0x joins (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp)
02:08:09 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
02:10:51 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
02:15:28 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 252 seconds)
02:16:20 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds)
02:18:28 × td_ quits (~td@i53870921.versanet.de) (Ping timeout: 252 seconds)
02:20:22 td_ joins (~td@i53870919.versanet.de)
02:24:07 jathan joins (~jathan@69.61.93.38)
02:26:38 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
02:30:30 werneta joins (~werneta@syn-071-083-160-242.res.spectrum.com)
02:31:35 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
02:32:56 × jathan quits (~jathan@69.61.93.38) (Quit: WeeChat 2.3)
02:36:43 jathan joins (~jathan@69.61.93.38)
02:42:25 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
02:49:28 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
02:58:13 JuanDaugherty joins (~juan@user/JuanDaugherty)
03:00:28 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
03:02:33 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
03:05:34 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
03:16:17 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
03:18:24 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
03:19:03 × rvalue quits (~rvalue@user/rvalue) (Read error: Connection reset by peer)
03:19:36 rvalue joins (~rvalue@user/rvalue)
03:21:31 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
03:32:02 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
03:36:55 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
03:40:26 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
03:46:33 michalz joins (~michalz@185.246.207.201)
03:47:50 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
03:52:51 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
04:03:37 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
04:08:28 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
04:10:14 × pabs3 quits (~pabs3@user/pabs3) (Ping timeout: 268 seconds)
04:11:57 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
04:16:49 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
04:19:47 j1n37 joins (~j1n37@user/j1n37)
04:20:20 × j1n37- quits (~j1n37@user/j1n37) (Ping timeout: 265 seconds)
04:23:43 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
04:24:25 gmg joins (~user@user/gehmehgeh)
04:27:39 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
04:30:18 JuanDaugherty is now known as ColinRobinson
04:34:29 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
04:45:41 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
04:51:16 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
04:54:51 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer)
04:55:53 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 244 seconds)
04:56:38 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
04:56:51 tavare joins (~tavare@150.129.88.189)
04:56:51 × tavare quits (~tavare@150.129.88.189) (Changing host)
04:56:51 tavare joins (~tavare@user/tavare)
05:01:30 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
05:03:50 × dmoerner quits (~dmoerner@fedora/dmoerner) (Ping timeout: 265 seconds)
05:04:22 sp1ff joins (~user@c-67-160-173-55.hsd1.wa.comcast.net)
05:06:31 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
05:08:37 × tavare quits (~tavare@user/tavare) (Remote host closed the connection)
05:09:42 dmoerner joins (~dmoerner@fedora/dmoerner)
05:12:52 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
05:14:18 dmoerner- joins (~dmoerner@fedora/dmoerner)
05:14:42 ell4 joins (~ellie@user/ellie)
05:15:49 × dmoerner quits (~dmoerner@fedora/dmoerner) (Ping timeout: 245 seconds)
05:15:49 dmoerner- is now known as dmoerner
05:17:45 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
05:18:00 × ell quits (~ellie@user/ellie) (Ping timeout: 276 seconds)
05:18:00 ell4 is now known as ell
05:19:43 takuan joins (~takuan@d8D86B601.access.telenet.be)
05:28:40 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
05:31:18 × notzmv quits (~daniel@user/notzmv) (Read error: Connection reset by peer)
05:33:05 × euleritian quits (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de) (Ping timeout: 248 seconds)
05:33:37 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
05:34:01 euleritian joins (~euleritia@dynamic-176-006-139-073.176.6.pool.telefonica.de)
05:39:43 × euleritian quits (~euleritia@dynamic-176-006-139-073.176.6.pool.telefonica.de) (Read error: Connection reset by peer)
05:40:00 euleritian joins (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de)
05:41:39 fantom joins (~fantom@33be818f.skybroadband.com)
05:44:29 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
05:49:09 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
05:52:25 × ColinRobinson quits (~juan@user/JuanDaugherty) (Quit: praxis.meansofproduction.biz (juan@acm.org))
05:55:48 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
05:59:59 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
06:05:33 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
06:07:16 × Leary quits (~Leary@user/Leary/x-0910699) (Remote host closed the connection)
06:08:49 × euleritian quits (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de) (Ping timeout: 248 seconds)
06:09:21 euleritian joins (~euleritia@dynamic-176-006-139-073.176.6.pool.telefonica.de)
06:13:53 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
06:14:31 Leary joins (~Leary@user/Leary/x-0910699)
06:18:38 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
06:27:24 acidjnk joins (~acidjnk@p54ad5829.dip0.t-ipconnect.de)
06:31:07 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
06:32:43 notzmv joins (~daniel@user/notzmv)
06:32:49 × euleritian quits (~euleritia@dynamic-176-006-139-073.176.6.pool.telefonica.de) (Read error: Connection reset by peer)
06:33:17 euleritian joins (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de)
06:35:29 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
06:38:05 × euleritian quits (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
06:38:24 euleritian joins (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de)
06:38:48 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Quit: yolo)
06:39:42 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
06:40:01 × jmcantrell quits (~weechat@user/jmcantrell) (Ping timeout: 265 seconds)
06:46:29 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
06:47:54 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 245 seconds)
06:51:30 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
06:51:40 pabs3 joins (~pabs3@user/pabs3)
06:52:44 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
06:57:35 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Quit: yolo)
06:58:19 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 245 seconds)
07:00:02 × caconym7 quits (~caconym@user/caconym) (Quit: bye)
07:00:21 j1n37 joins (~j1n37@user/j1n37)
07:00:41 caconym7 joins (~caconym@user/caconym)
07:01:40 prdak joins (~Thunderbi@user/prdak)
07:02:16 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
07:02:55 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
07:03:10 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer)
07:03:46 × prdak quits (~Thunderbi@user/prdak) (Client Quit)
07:04:06 prdak joins (~Thunderbi@user/prdak)
07:05:08 sord937 joins (~sord937@gateway/tor-sasl/sord937)
07:05:19 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
07:05:24 CiaoSen joins (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db)
07:07:02 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds)
07:08:35 prdak1 joins (~Thunderbi@user/prdak)
07:10:24 × prdak quits (~Thunderbi@user/prdak) (Ping timeout: 245 seconds)
07:11:47 chele joins (~chele@user/chele)
07:12:48 × prdak1 quits (~Thunderbi@user/prdak) (Ping timeout: 244 seconds)
07:14:18 Square joins (~Square4@user/square)
07:20:56 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
07:21:37 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Quit: yolo)
07:26:16 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
07:34:15 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
07:37:06 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 252 seconds)
07:38:30 × YuutaW quits (~YuutaW@2404:f4c0:f9c3:502::100:17b7) (Ping timeout: 265 seconds)
07:39:37 YuutaW joins (~YuutaW@2404:f4c0:f9c3:502::100:17b7)
07:48:20 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
07:50:18 merijn joins (~merijn@77.242.116.146)
08:01:10 machinedgod joins (~machinedg@d108-173-18-100.abhsia.telus.net)
08:01:58 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
08:03:21 __monty__ joins (~toonn@user/toonn)
08:08:05 × e-snail quits (~pete@user/e-snail) (Ping timeout: 244 seconds)
08:08:18 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 276 seconds)
08:12:33 × bcksl quits (~bcksl@user/bcksl) (Ping timeout: 248 seconds)
08:13:46 × end quits (~end@user/end/x-0094621) (Ping timeout: 244 seconds)
08:15:03 × sus0 quits (zero@user/zeromomentum) (Ping timeout: 268 seconds)
08:29:22 × ft quits (~ft@p3e9bc106.dip0.t-ipconnect.de) (Quit: leaving)
08:34:19 bcksl joins (~bcksl@user/bcksl)
08:41:22 end joins (~end@user/end/x-0094621)
08:42:06 cstml joins (~Thunderbi@user/cstml)
08:50:12 <[exa]> EvanR, c_wraith: just for the imgui+gloss integration yesterday.. turns out it works. Apparently gloss has a separate "render this picture here" function, and you can just plug it in the imgui demo. Even passing the events kinda works.
08:56:12 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
08:57:12 × cstml quits (~Thunderbi@user/cstml) (Quit: cstml)
09:02:10 sus0 joins (zero@user/zeromomentum)
09:02:16 fp joins (~Thunderbi@2001:708:20:1406::10c5)
09:06:33 × werneta quits (~werneta@syn-071-083-160-242.res.spectrum.com) (Read error: Connection reset by peer)
09:06:39 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 260 seconds)
09:10:10 werneta joins (~werneta@syn-071-083-160-242.res.spectrum.com)
09:13:52 × fp quits (~Thunderbi@2001:708:20:1406::10c5) (Ping timeout: 276 seconds)
09:15:19 ubert joins (~Thunderbi@2a02:8109:ab8a:5a00:86a6:bb33:585:67c4)
09:25:02 × cyphase quits (~cyphase@user/cyphase) (Quit: cyphase.com)
09:28:39 fp joins (~Thunderbi@wireless-86-50-141-22.open.aalto.fi)
09:32:40 cyphase joins (~cyphase@user/cyphase)
09:37:27 Guest22 joins (~Guest22@c-24-218-7-58.hsd1.ct.comcast.net)
09:42:35 × Guest22 quits (~Guest22@c-24-218-7-58.hsd1.ct.comcast.net) (Quit: Client closed)
09:45:10 j1n37- joins (~j1n37@user/j1n37)
09:46:38 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 272 seconds)
09:51:24 wootehfoot joins (~wootehfoo@user/wootehfoot)
09:53:06 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
10:18:29 <yin> https://paste.jrvieira.com/1747131475164 why is liftA2 qualified like this?
10:18:47 <yin> oops wrong paste
10:19:12 <yin> https://paste.jrvieira.com/1747131542069
10:21:20 JuanDaugherty joins (~juan@user/JuanDaugherty)
10:22:42 × fp quits (~Thunderbi@wireless-86-50-141-22.open.aalto.fi) (Remote host closed the connection)
10:23:25 × xff0x quits (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 276 seconds)
10:23:53 <Leary> yin: Because it isn't in scope.
10:28:30 talisman` joins (~user@2601:644:937c:ed10::ae5)
10:29:44 fp joins (~Thunderbi@2001:708:150:10::1d80)
10:30:59 × talismanick quits (~user@2601:644:937c:ed10::ae5) (Ping timeout: 272 seconds)
10:42:53 × fp quits (~Thunderbi@2001:708:150:10::1d80) (Remote host closed the connection)
10:46:28 <tomsmeding> yin: import Control.Applicative, and it won't be qualified any more
10:47:25 fp joins (~Thunderbi@2001:708:150:10::1d80)
10:47:44 × CiaoSen quits (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 244 seconds)
10:51:58 × fp quits (~Thunderbi@2001:708:150:10::1d80) (Remote host closed the connection)
11:00:05 × caconym7 quits (~caconym@user/caconym) (Quit: bye)
11:02:02 fp joins (~Thunderbi@2001:708:150:10::1d80)
11:02:20 caconym7 joins (~caconym@user/caconym)
11:10:11 × fp quits (~Thunderbi@2001:708:150:10::1d80) (Ping timeout: 268 seconds)
11:12:01 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
11:19:13 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 248 seconds)
11:22:19 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
11:23:57 xff0x joins (~xff0x@2405:6580:b080:900:fab1:2ba7:ff3c:d0fc)
11:25:54 <yin> this is so confusing
11:26:23 <yin> why is it GHC.Base.liftA2 and not Control.Applicative.liftA2 then?
11:27:56 <tomsmeding> yin: because the Applicative class, including its liftA2 member, is defined in GHC.Base and only re-exported from Control.Applicative
11:28:05 <tomsmeding> the class and its members _except_ liftA2 are additionally re-exported from Prelude
11:28:50 <tomsmeding> the fact that Applicative is not defined in Control.Applicative but in GHC.Base, however, is an implementation detail that you should generally not need to rely on
11:29:13 <tomsmeding> but ghci cares not, it just shows the facts as they are
11:29:45 <yin> is liftA2 defined at the top level in GHC.Base?
11:30:09 <tomsmeding> no, as part of the Applicative class
11:30:44 <yin> why is it not re-exported then?
11:31:02 <yin> <*> is defined in terms of it, isn't it?
11:32:28 fp joins (~Thunderbi@2001:708:20:1406::10c5)
11:41:33 <tomsmeding> yin: why as in socially why, or as in technically how is it possible?
11:43:15 <tomsmeding> because the former is most likely "backwards compatibility, liftA2 was not in the class originally"
11:46:41 j1n37 joins (~j1n37@user/j1n37)
11:47:15 × j1n37- quits (~j1n37@user/j1n37) (Ping timeout: 260 seconds)
11:48:00 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 276 seconds)
11:48:03 <yin> i see
11:48:23 <yin> shame. liftA2 is one of my favourite combinators
11:55:05 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
11:57:44 <tomsmeding> `import Control.Applicative` :p
11:58:23 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
12:00:14 <Leary> That or replace your crusty old GHC with something >=9.6.
12:03:57 CiaoSen joins (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db)
12:07:47 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: praxis.meansofproduction.biz (juan@acm.org))
12:09:30 j1n37- joins (~j1n37@user/j1n37)
12:10:40 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 276 seconds)
12:10:49 gehmehgeh joins (~user@user/gehmehgeh)
12:13:24 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 264 seconds)
12:14:39 × fp quits (~Thunderbi@2001:708:20:1406::10c5) (Ping timeout: 252 seconds)
12:16:16 <tomsmeding> heh
12:18:48 fp joins (~Thunderbi@2001:708:150:10::1d80)
12:45:50 × m1dnight quits (~m1dnight@d8D861908.access.telenet.be) (Ping timeout: 244 seconds)
12:48:04 m1dnight joins (~m1dnight@d8D861908.access.telenet.be)
12:57:28 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
13:16:57 weary-traveler joins (~user@user/user363627)
13:18:34 ttybitnik joins (~ttybitnik@user/wolper)
13:29:34 × fp quits (~Thunderbi@2001:708:150:10::1d80) (Ping timeout: 272 seconds)
13:32:38 fp joins (~Thunderbi@2001:708:150:10::1d80)
13:35:47 fp1 joins (~Thunderbi@2001:708:20:1406::10c5)
13:36:49 cb74 joins (~cb74@185.107.56.164)
13:37:48 × fp quits (~Thunderbi@2001:708:150:10::1d80) (Ping timeout: 272 seconds)
13:37:49 fp1 is now known as fp
13:42:47 × Digit quits (~user@user/digit) (Remote host closed the connection)
13:44:56 Digit joins (~user@user/digit)
13:45:54 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
13:46:15 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection)
13:46:37 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
13:50:04 j1n37 joins (~j1n37@user/j1n37)
13:51:13 × j1n37- quits (~j1n37@user/j1n37) (Ping timeout: 252 seconds)
13:57:09 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 260 seconds)
13:57:27 × cb74 quits (~cb74@185.107.56.164) (Remote host closed the connection)
13:59:52 j1n37 joins (~j1n37@user/j1n37)
14:06:37 × euleritian quits (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de) (Ping timeout: 265 seconds)
14:10:00 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.5.2)
14:10:30 euleritian joins (~euleritia@dynamic-176-000-060-062.176.0.pool.telefonica.de)
14:14:54 gehmehgeh is now known as gmg
14:25:22 × euleritian quits (~euleritia@dynamic-176-000-060-062.176.0.pool.telefonica.de) (Read error: Connection reset by peer)
14:25:40 euleritian joins (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de)
14:32:20 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 260 seconds)
14:43:41 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
14:54:41 × acidjnk quits (~acidjnk@p54ad5829.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
14:55:40 × CiaoSen quits (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 260 seconds)
15:00:24 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 276 seconds)
15:02:40 × euleritian quits (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds)
15:09:28 euleritian joins (~euleritia@dynamic-176-000-060-062.176.0.pool.telefonica.de)
15:14:38 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
15:18:38 <yin> not wrong
15:21:40 <[exa]> speaking of new ghc versions
15:23:02 <[exa]> is that annoying warning on `head` and `tail` that's making the poor newbie students shudder in terror going away soon?
15:31:41 × _d0t quits (~{-d0t-}@user/-d0t-/x-7915216) (Ping timeout: 265 seconds)
15:32:33 _d0t joins (~{-d0t-}@user/-d0t-/x-7915216)
15:33:03 × ttybitnik quits (~ttybitnik@user/wolper) (Quit: Fading out...)
15:33:15 <merijn> [exa]: Which one?
15:34:28 <[exa]> anytime we use `head` in courses it screams like "hey head is partial this is gonna crash" etc. Which is ofc useful but for people who are already struggling enough to even parse the output it's a little unconstructive
15:34:53 <merijn> [exa]: Are you sure that's on by default and not in some warning flag you enabled?
15:35:52 <merijn> [exa]: Considering the docs say it's only in since 9.8, probably not :p
15:35:56 <[exa]> it looks like default in 9.8 or 9.10 (can't see which one we're using)
15:36:18 <[exa]> but well nevermind I'm nerdraging over this here
15:36:35 <[exa]> ghhrrr, so correct!! but!!! so annoying!!111 aghgggg!
15:36:43 <merijn> [exa]: The docs link to the proposal which explains how to disable it, so...
15:37:20 <[exa]> maybe I'll just tell the students to go with the recommended version from ghcup, looks like it's 9.6
15:37:40 jespada joins (~jespada@r179-25-18-201.dialup.adsl.anteldata.net.uy)
15:39:11 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
15:39:21 <monochrom> I don't teach head or tail, so I don't have that problem. >:)
15:39:56 <monochrom> But OK one day some other do-gooder warning is going to bite me.
15:42:00 <monochrom> The school lab here is still at 9.4.8 and I am too lazy to ask the sysadmin to upgrade. >:)
15:42:51 <[exa]> what annoys me is that I see no such warning on `read` et al
15:43:09 <[exa]> well nvm, </nerdrage>
15:45:53 <[exa]> hm, is there any tooling to manage structured StateVar's ? (from here: https://hackage.haskell.org/package/StateVar-1.2.2/docs/Data-StateVar.html )
15:46:35 <monochrom> Oh yeah the really annoying thing about those do-gooder warnings is that they are so bloody inconsistent.
15:47:09 <monochrom> Suppose you have "data U = U". So it's isomorphic to (), right?
15:47:59 <monochrom> Suppose you have foo :: IO () and bar :: IO U. -Wall warns about "do bar; ..." but not "do foo; ...".
15:51:10 <monochrom> I think the standard answer is lens? :)
15:52:59 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection)
15:53:17 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
15:55:26 <[exa]> monochrom: for StateVar? yeah looks like that
15:56:31 <[exa]> let's make a bit of glue that connects this together
15:57:36 <[exa]> btw it's for this thing: https://hackage.haskell.org/package/dear-imgui-2.3.1/docs/DearImGui.html#v:sliderInt
15:58:05 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 260 seconds)
15:58:05 <[exa]> you do `sliderInt "value" someRefToInt 0 100` and it updates the ref
15:59:07 <[exa]> I'd love to have State-ish lenses for that, as in `sliderInt "position" x 0 100` where x points into some `Position{_x::Int, ...}` or so
16:00:25 <[exa]> unfortunately the setters&getters can't be "any" monad, they only get MonadIO
16:00:52 [exa] dives into the glue
16:07:06 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
16:08:35 × chele quits (~chele@user/chele) (Remote host closed the connection)
16:16:13 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
16:18:34 × merijn quits (~merijn@77.242.116.146) (Ping timeout: 265 seconds)
16:21:28 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
16:26:09 × euleritian quits (~euleritia@dynamic-176-000-060-062.176.0.pool.telefonica.de) (Ping timeout: 244 seconds)
16:29:02 × sajenim quits (~sajenim@user/sajenim) (Ping timeout: 244 seconds)
16:32:13 euleritian joins (~euleritia@dynamic-176-000-063-247.176.0.pool.telefonica.de)
16:33:39 × ubert quits (~Thunderbi@2a02:8109:ab8a:5a00:86a6:bb33:585:67c4) (Quit: ubert)
16:36:49 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
16:40:13 <EvanR> head and tail are advanced pro tools only for the leet
16:40:33 <EvanR> is what the warning should say
16:44:42 L29Ah joins (~L29Ah@wikipedia/L29Ah)
16:54:22 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
16:54:22 × euleritian quits (~euleritia@dynamic-176-000-063-247.176.0.pool.telefonica.de) (Ping timeout: 252 seconds)
16:55:08 euleritian joins (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de)
16:56:28 <yin> shouldn't students learn `listToMaybe` and `drop 1` instead?
16:57:23 <EvanR> those may both be incorrect in some cases
16:57:49 <yin> no. head and tail are incorrect in some cases
16:57:57 <EvanR> oh obviously
16:58:03 <EvanR> but I disagree with "no"
16:58:26 <EvanR> being partial doesn't make the always incorrect though
16:59:00 Square2 joins (~Square@user/square)
16:59:05 <yin> yeah i see what you mean. but i'm a big treating students as intelligent beings
17:02:03 <EvanR> listToMaybe drop 1 head tail and since there are other "usual suspects" mentioned in this context, there ought to be a blog post collecting them all and sending them on a big budget battle against thanos or something
17:03:04 <EvanR> more or less powerful and uniquely flawed in their own way, leading to quirky dialog
17:03:11 × Square quits (~Square4@user/square) (Ping timeout: 276 seconds)
17:06:07 <yin> i'm playing with `ghci -XNoImplicitPrelude -ignore-dot-ghci` for "clean slate haskell". is there anyway to shave some more off it or is this it?
17:08:09 <yin> can i get rid of GHC.Base?
17:08:33 <yin> :P
17:08:44 <monochrom> Everything is incorrect in some cases.
17:09:19 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
17:11:01 × jespada quits (~jespada@r179-25-18-201.dialup.adsl.anteldata.net.uy) (Quit: My Mac has gone to sleep. ZZZzzz…)
17:13:28 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
17:13:47 × fp quits (~Thunderbi@2001:708:20:1406::10c5) (Ping timeout: 272 seconds)
17:14:52 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 276 seconds)
17:15:55 jespada joins (~jespada@r179-25-18-201.dialup.adsl.anteldata.net.uy)
17:18:35 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
17:23:02 <EvanR> is that one of your tautologies?
17:26:02 <monochrom> Heh. I came up with it just now. I'm too lazy to add it to my page.
17:28:23 <monochrom> More seriously, I don't scaremonger against partial functions. The reason I deemphasize head-tail is that I scaremonger against XY problems instead. "if null xs then ... else ... head ... tail ..." is an XY problem, should just use pattern matching.
17:29:11 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
17:29:15 <tomsmeding> yin: how do you get GHC.Base in that?
17:34:22 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
17:44:30 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
17:44:55 xeno11 joins (~xeno11@c-69-140-170-168.hsd1.de.comcast.net)
17:44:59 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
17:46:55 <yin> I'm assuming i'm getting things like Num from GHC.Base
17:49:00 acidjnk joins (~acidjnk@p200300d6e71c4f1918462650bcfe20e4.dip0.t-ipconnect.de)
17:51:51 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
17:54:36 × jespada quits (~jespada@r179-25-18-201.dialup.adsl.anteldata.net.uy) (Ping timeout: 276 seconds)
17:56:35 jespada joins (~jespada@r179-25-18-201.dialup.adsl.anteldata.net.uy)
17:56:41 <EvanR> it seems that the SECD machine supports recursion with an instruction which destructively updates an environment record, so a letrec could be compiled into a thing that closes over an environment containing a placeholder, then when thing is located somewhere the location is burned into the placeholder place with setcar! or something
17:57:50 <EvanR> I guess that's why the theoretical stuff on SECD machine I've seen ignores that instruction entirely
17:58:57 <xeno11> I am getting an error of "failing to build" after cabal v2-run. Error code says "Missing dependency on a foregin library " and "Missing (or bad) libraries". pkg-config is not finding the libraries, or thinks they are bad, despite them being installed there. I recently changed distribution from debian "bookworm" to debian "testing" and at a similar
17:58:58 <xeno11> time, the compilation stopped working. Any ideas why I am getting this error?
18:00:00 <EvanR> someone on stack overflow reports a report where someone failed to implement this instruction in erlang which doesn't have a setcar!
18:00:08 <EvanR> haskellers feeling that pain
18:01:33 <tomsmeding> yin: if I open ghci with your flags than I have no Num?
18:01:37 <tomsmeding> s/than/then/
18:01:50 <tomsmeding> you can't disable built-in syntax for numeric literals, if that's what you're after
18:02:18 <tomsmeding> % :m
18:02:18 <yahb2> <no output>
18:02:21 <tomsmeding> % import Prelude ()
18:02:21 <yahb2> <no output>
18:02:23 <tomsmeding> % :t 5
18:02:23 <yahb2> 5 :: forall {a}. GHC.Internal.Num.Num a => a
18:02:37 <tomsmeding> yin: Num is not in scope here, so the response qualifies it
18:02:49 <tomsmeding> % :m -- make prelude available again
18:02:49 <yahb2> syntax: :module [+/-] [*]M1 ... [*]Mn
18:02:51 <tomsmeding> % :m
18:02:51 <yahb2> <no output>
18:03:02 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
18:03:26 <EvanR> I guess if you use the simplified SECD machine, you'd have to resort to Y combinators again
18:03:53 <tomsmeding> xeno11: what library is it missing? What haskell package has this system dependency?
18:05:00 <EvanR> correction the recursive value itself is stored at the placeholder, since environment contains values
18:08:10 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
18:09:58 × machinedgod quits (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 252 seconds)
18:10:32 <yin> tomsmeding: kind of can with NoRebindableSyntax
18:10:43 <tomsmeding> without the No?
18:10:52 <tomsmeding> but I guess, yes
18:11:51 <yin> right
18:11:58 <yin> oh and it depends on ghc version
18:12:57 <yin> nvm i was wrote NoReb...
18:13:17 <yin> s/was//
18:15:59 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
18:16:36 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
18:18:54 jmcantrell joins (~weechat@user/jmcantrell)
18:20:53 gmg joins (~user@user/gehmehgeh)
18:21:33 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds)
18:24:31 ft joins (~ft@p3e9bc106.dip0.t-ipconnect.de)
18:27:54 ljdarj joins (~Thunderbi@user/ljdarj)
18:31:48 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
18:32:27 <xeno11> tomsmeding: As far as I can see no library is missing. But it is telling me the "Missing (or bad)" libraries are opendht-c and SDL2
18:33:17 <tomsmeding> xeno11: did you install the -dev packages for those libraries?
18:33:29 <tomsmeding> do you have a related .pc file on your system?
18:33:36 <xeno11> and then opendht-hs
18:33:46 <xeno11> i do have the related .pc files
18:33:54 <tomsmeding> are they in the pkg-config search path?
18:34:00 <xeno11> and yes for sdl, let me try for opendht
18:34:13 <xeno11> yes they are
18:34:22 <tomsmeding> can pkg-config find them?
18:36:37 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
18:39:03 × euleritian quits (~euleritia@ip4d17f864.dynamic.kabel-deutschland.de) (Remote host closed the connection)
18:39:20 euleritian joins (~euleritia@77.23.248.100)
18:39:51 JuanDaugherty joins (~juan@user/JuanDaugherty)
18:40:04 <xeno11> yes, with pkg-config --path. for opendht-c it shows "/usr/local/lib/pkgconfig/opendht-c.pc" but for sdl2 it shows "/usr/lib/x86_64-linux-gnu/pkgconfig/sdl2.pc" because i created a symlink (i placed the opendht repo in a different place)
18:41:20 <tomsmeding> xeno11: in that case it's strange that cabal is complaining. Can you post the full error that cabal gives you?
18:41:45 <tomsmeding> to be noted is that pkg-config, at least on my system, is case-sensitive: `pkg-config --path sdl2` works on my system by `pkg-config --path SDL2` does not
18:43:50 machinedgod joins (~machinedg@d108-173-18-100.abhsia.telus.net)
18:44:40 <xeno11> yes, i tried `pkg-config --path SDL2` because of the error message but it doesn't work for the same reason. `pkg-config --path sdl2` is what yielded the path above^
18:44:59 <tomsmeding> might it be that the cabal package specifies "SDL2" as the package name?
18:45:05 <tomsmeding> in `pkg-config-depends`
18:47:33 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
18:48:01 <xeno11> https://paste.debian.net/1374521/
18:48:28 <xeno11> that's the error cabal gives just after cabal v2-run
18:50:20 sprotte24 joins (~sprotte24@p200300d16f210300c438dc587dfe80f8.dip0.t-ipconnect.de)
18:50:23 <tomsmeding> xeno11: odd. Do you have a libSDL2.so? I guess that question can be answered using `pkg-config --libs sdl2`
18:50:40 <[exa]> xeno11: I saw something similar recently, can you check if both of your libraries are in the pkg-config's full library listing?
18:50:54 <[exa]> ok "recently" as in "this decade" but see
18:51:09 <tomsmeding> (pkg-config --list-all)
18:51:18 <[exa]> yap ^ thx
18:51:44 <tomsmeding> also see if `cabal build --verbose` says anything useful (no need to use v2- since cabal 3.0)
18:52:22 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
18:52:43 <[exa]> also check that --modversion of the package is parseable by cabal, iirc that was what killed it in my case
18:54:50 × xeno11 quits (~xeno11@c-69-140-170-168.hsd1.de.comcast.net) (Quit: Client closed)
18:55:46 × YuutaW quits (~YuutaW@2404:f4c0:f9c3:502::100:17b7) (Ping timeout: 268 seconds)
18:56:17 halloy5771 joins (~halloy577@205.175.106.139)
18:57:16 × jmcantrell quits (~weechat@user/jmcantrell) (Ping timeout: 252 seconds)
19:00:01 × caconym7 quits (~caconym@user/caconym) (Quit: bye)
19:00:17 xeno11 joins (~xeno11@c-69-140-170-168.hsd1.de.comcast.net)
19:00:39 caconym7 joins (~caconym@user/caconym)
19:03:21 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
19:03:24 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds)
19:04:26 ljdarj joins (~Thunderbi@user/ljdarj)
19:08:16 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
19:09:38 <EvanR> https://paste.tomsmeding.com/nihJV4Ug
19:12:24 × visilii_ quits (~visilii@213.24.132.63) (Ping timeout: 268 seconds)
19:15:45 <xeno11> tomsmeding: in `pkgconfig-depends`it specifies sdl2 as the package name
19:16:41 <xeno11> `pkg-config --libs sdl2` yields "-lSDL2"
19:16:53 visilii joins (~visilii@85.94.27.220)
19:17:53 <xeno11> opendht-c and sdl2 both show up when i do the `pkg-config --list-all`
19:18:21 × halloy5771 quits (~halloy577@205.175.106.139) (Read error: Connection reset by peer)
19:19:10 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
19:22:38 target_i joins (~target_i@user/target-i/x-6023099)
19:24:07 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
19:25:25 × euleritian quits (~euleritia@77.23.248.100) (Remote host closed the connection)
19:25:37 euleritian joins (~euleritia@77.23.248.100)
19:27:42 halloy5771 joins (~halloy577@205.175.106.139)
19:34:56 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
19:38:35 × ystael quits (~ystael@user/ystael) (Ping timeout: 260 seconds)
19:40:33 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
19:43:30 <tomsmeding> xeno11: any interesting info in `cabal build --verbose`?
19:44:11 ystael joins (~ystael@user/ystael)
19:47:41 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
19:48:52 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
19:49:46 <monochrom> EvanR: Yeah, one way to support recursion, more generally tying knots, is a mutable cell that you write once to when you've finished the setup.
19:50:36 Square joins (~Square4@user/square)
19:50:44 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
19:51:23 <monochrom> Conversely! Robert Harper noted that memory comes from feedback loops. Mercury tubes, flip flops.
19:54:20 × Square2 quits (~Square@user/square) (Ping timeout: 260 seconds)
19:55:24 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
19:57:09 × acidjnk quits (~acidjnk@p200300d6e71c4f1918462650bcfe20e4.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
19:57:10 × halloy5771 quits (~halloy577@205.175.106.139) (Read error: Connection reset by peer)
19:57:21 <EvanR> that makes sense but then I still have trouble with the semantics of the transition table
19:57:48 <EvanR> it also doesn't help I have no idea how a letrec would get compiled to make use of these instructions
19:57:59 <EvanR> but I guess that's a puzzle for tomorrow
20:04:40 catties is now known as bunnies
20:05:32 haskellbridge joins (~hackager@syn-096-028-227-029.res.spectrum.com)
20:05:32 ChanServ sets mode +v haskellbridge
20:06:26 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection)
20:06:30 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
20:06:42 <haskellbridge> <thirdofmay18081814goya> what does the runtime validation landscape look like in haskell?
20:06:43 <haskellbridge> <sm> there's https://hackage.haskell.org/package/base-4.21.0.0/docs/Control-Exception.html#v:assert ...
20:06:45 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
20:06:45 <haskellbridge> <sm> do you mean something else ?
20:06:46 <haskellbridge> <thirdofmay18081814goya> hm I was wondering if there was even a need to develop things like contracts libraries given haskell's sufficiently expressive type system
20:06:49 <haskellbridge> <sm> there's Liquid Haskell, which is like contracts. But it's compile time I believe
20:06:50 <haskellbridge> <thirdofmay18081814goya> sm: but this definitely is part of runtime validation ty, had not encountered it before
20:06:52 <haskellbridge> <thirdofmay18081814goya> hm would be nice to have the solutions to the liquid haskell tutorial
20:06:53 <haskellbridge> <thirdofmay18081814goya> sm: ah neat! I keep hearing about it. today is the day I try it out
20:06:55 <haskellbridge> <thirdofmay18081814goya> anyone know how to do the exercise Vector Head in chapter 4
20:06:56 <haskellbridge> <thirdofmay18081814goya> ?
20:06:59 <haskellbridge> <ozkutuk> That form might be easier to work with
20:07:01 <haskellbridge> <ozkutuk> for example, "Data.Tree.pathsFromRoot" could be of use then
20:07:02 <haskellbridge> <ozkutuk> (I mean, not isomorphic per se, but should be a sufficient form to work with since you seem to be only interested in the strings)
20:07:04 <haskellbridge> <thirdofmay18081814goya> ozkutuk: hm I need the value and the end of the path in order to do validation, but that does make me think we can use the tree of strings to access the original datatype
20:07:07 <haskellbridge> <thirdofmay18081814goya> ty for the idea!
20:07:08 <haskellbridge> <thirdofmay18081814goya> the idea is to have predicates that take a path in order to do validation at that path
20:07:10 <haskellbridge> <thirdofmay18081814goya> data Record a = MkRecordV [(String, Either a (Record a))] deriving Show
20:07:11 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/iZbktTBScUYJbjkjdOGISIYE/YQOzohIwgLM (11 lines)
20:07:13 <haskellbridge> <thirdofmay18081814goya> whoops, the "Right" case here needs to "++" with "toPathVals MkRecordV xs" too
20:08:05 <EvanR> whoa was haskell bridge off this whole time
20:08:53 × takuan quits (~takuan@d8D86B601.access.telenet.be) (Remote host closed the connection)
20:08:55 <EvanR> to quote thor: ragnarok, "who took the sword!" (that unlocks the bifrost)
20:09:52 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
20:11:50 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
20:13:23 <tomsmeding> seems like a bunch of messages got lost, too
20:22:19 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
20:27:29 <xeno11> tomsmeding: I was looking but not exactly sure what to report on... i have the --verbose output here: https://paste.debian.net/hidden/e5bcf24f/
20:28:37 × machinedgod quits (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 248 seconds)
20:29:28 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds)
20:37:35 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
20:39:21 <tomsmeding> xeno11: where is pkg-config located on your system?
20:40:21 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
20:41:00 <tomsmeding> on my system, cabal-3.10.3.0 (same version as you) first checks pkg-config and only _then_ starts actually configuring the package
20:41:39 abrar joins (~abrar@static-96-245-187-163.phlapa.fios.verizon.net)
20:42:23 <tomsmeding> on the other hand, cabal seems to find the version of the sdl2 pkg-config (2.32.4) just fine
20:43:06 <tomsmeding> xeno11: can you post the output of `cabal build -v3`, as suggested in the error message?
20:43:33 × xeno11 quits (~xeno11@c-69-140-170-168.hsd1.de.comcast.net) (Quit: Client closed)
20:44:55 halloy5771 joins (~halloy577@205.175.106.139)
20:45:00 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
20:47:18 × hgolden quits (~hgolden@syn-172-251-233-141.res.spectrum.com) (Ping timeout: 265 seconds)
20:52:55 acidjnk joins (~acidjnk@p200300d6e71c4f19710480a6a0bd753e.dip0.t-ipconnect.de)
20:56:08 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
20:58:03 hgolden joins (~hgolden@syn-172-251-233-141.res.spectrum.com)
21:01:19 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
21:03:16 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
21:11:55 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
21:12:06 xeno11 joins (~xeno11@c-69-140-170-168.hsd1.de.comcast.net)
21:15:16 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 244 seconds)
21:16:29 j1n37- joins (~j1n37@user/j1n37)
21:16:49 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
21:17:16 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 252 seconds)
21:22:30 × michalz quits (~michalz@185.246.207.201) (Remote host closed the connection)
21:26:38 <haskellbridge> <thirdofmay18081814goya> EvanR: huh I thought the room was sort of silent lol
21:27:40 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
21:32:00 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
21:43:03 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
21:45:26 ttybitnik joins (~ttybitnik@user/wolper)
21:45:54 jmcantrell joins (~weechat@user/jmcantrell)
21:45:56 j1n37 joins (~j1n37@user/j1n37)
21:46:16 × j1n37- quits (~j1n37@user/j1n37) (Ping timeout: 244 seconds)
21:48:12 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
21:52:51 Square2 joins (~Square@user/square)
21:56:14 × Square quits (~Square4@user/square) (Ping timeout: 245 seconds)
21:58:10 <xeno11> tomsmeding: pkg-config is located at `/usr/bin/pkg-config`
21:58:45 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
21:59:51 <xeno11> here is the `cabal build -v3` output: https://dpaste.com/A78G4C9TQ
22:02:04 Frostillicus joins (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net)
22:03:29 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Read error: Connection reset by peer)
22:03:43 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
22:04:24 <tomsmeding> xeno11: "collect2: fatal error: cannot find ‘ld’"
22:04:49 <tomsmeding> xeno11: I suspect that this is the actual error, and that cabal just misinterprets failure of gcc as something completely unrelated (and wrong)
22:05:02 <tomsmeding> do you have a working gcc and ld? :p
22:05:16 <int-e> note that ghc passes '-fuse-ld=gold' there
22:05:25 esnos joins (~user@194.29.137.22)
22:05:36 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
22:05:47 <tomsmeding> despite the only earlier occurrence of the string "gold" in that log being "Cannot find ld.gold on the path"
22:06:59 Sgeo joins (~Sgeo@user/sgeo)
22:06:59 <int-e> ghc --info | grep gold
22:07:05 <int-e> is likely to find gold ;-)
22:08:44 × Frostillicus quits (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) (Ping timeout: 245 seconds)
22:09:08 <int-e> it's funny (and annoying) though that cabal diagnoses this as a missing C library
22:09:52 <tomsmeding> I guess cabal assumes that gcc always succeeds unless there was a linker error, and a linker error "always" means that one of the C libraries wasn't available
22:10:28 <tomsmeding> to be fair I don't blame cabal for not trying to parse linker errors, but it would do well, perhaps, to pass on the error to the user instead of waiting until -v3 (not even -v, -v3!) to display it
22:11:14 × Sgeo quits (~Sgeo@user/sgeo) (Ping timeout: 245 seconds)
22:11:31 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:12:18 tomsmeding is afk
22:12:48 × esnos quits (~user@194.29.137.22) (Remote host closed the connection)
22:13:14 zarek joins (~user@194.29.137.22)
22:14:31 <zarek> Hi, I already done beginner books about haskell and now I want to do something with Cardano, do you know how can I start?
22:15:24 <zarek> And do I need to learn about some more abstractions? I know everything up to state monads, but I don't know gadts or arrows
22:16:48 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
22:21:37 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
22:26:52 × jmcantrell quits (~weechat@user/jmcantrell) (Ping timeout: 265 seconds)
22:31:07 pavonia joins (~user@user/siracusa)
22:31:39 × sabathan2 quits (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer)
22:32:36 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
22:33:50 sabathan2 joins (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
22:35:17 <EvanR> zarek, dunno about cardano but would you be interested in game programming
22:35:30 <EvanR> it is surely to make you collide with more abstractions
22:37:02 × sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937)
22:37:37 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
22:39:47 <zarek> EvanR: Yes, I'm also interested
22:40:11 <sim590> int-e, tomsmeding: seems like ld.gold is deprecated apprently. But cabal still uses it by default? Shouldn't it stop to use it at some point?
22:41:19 <int-e> sim590: my guess is that using ld.gold is baked into the ghc binary you're using. that's what the ghc --info comment was about
22:42:23 <int-e> Or, technically, not the binary but the `settings` files it ships with. So if you feel adventerous you can change that.
22:42:30 <zarek> EvanR: Would you recommend some library for it or blog post/book about programming game in haskell? I only today saw this video about programming game in haskell in haskell https://www.youtube.com/watch?v=1MNTerD8IuI&list=PLcGKfGEEONaCyiY7-IV6boavjCIG7q1vd&
22:42:54 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
22:43:06 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 272 seconds)
22:43:26 <sim590> int-e: So, it's something that would be likely to change by itself if GHC was upgraded, right?
22:43:58 <EvanR> there is #haskell-game and HaskellGameDev discord, with its own links and references, though things have slowed down in the last few months
22:44:09 <int-e> sim590: maybe. afaics you're using ghc-up so you're relying on that upstream's build configuration
22:44:20 Lord_of_Life_ is now known as Lord_of_Life
22:44:25 <sim590> int-e: yep.
22:44:32 <zarek> sim590: by any chance did you install ghc by pacman in arch linux? If yes, thank I suggest nuke everything and install everything from curl link
22:44:57 <int-e> sim590: you can override the linker in your cabal config, that's probably the easier route for making progress right now
22:45:28 <int-e> zarek: ironically that would likely use a linker that's actually installed
22:45:44 <int-e> (the trouble is elsewhere)
22:45:56 <EvanR> forwarding that link to the other channel looks interesting
22:46:15 <sim590> zarek: One of my machines I use have arch and the other has debian.
22:46:27 <sim590> But I actually didn't have any issue on Arch.
22:47:06 <sim590> I only got issues with debian when dist-upgrading (same as xeno11). I guess that the `binutils-gold` was removed when we did a `dist-upgrade` and that confused everything.
22:47:33 <int-e> zarek: it's irrelevant anyway: --with-ghc=/home/xkappel/.ghcup/bin/ghc
22:48:06 machinedgod joins (~machinedg@d108-173-18-100.abhsia.telus.net)
22:48:23 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
22:49:36 <zarek> I remember this is how I solved my problems with ghcup and rest of haskell, but if this isn't solution than I don't know
22:52:00 <haskellbridge> <sm> hi zarek, cardano has lots of getting started and learning haskell resources doesn't it; we don't know them all here
22:52:28 <haskellbridge> <sm> and, welcome
22:52:30 <int-e> sim590: Anyway. The path of least resistance is to install ld.gold (it may be deprecated but it works as a linker). The next easiest idea is to tweak, hmm, ld-location I suppose in ~/.cabal/config. After that it's editing the settings file inside the ghc distribution and after that it's finding a "better" ghc package.
22:52:55 <int-e> glhf
22:53:02 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
22:53:54 <sim590> int-e: isn't it possible to just pass an option to GHC to force not using ld.gold, but stick to plain ld ?
22:54:25 <sim590> So we could just protect ourselves with an option in a `cabal.project` file or literally inside the cabal file.
22:55:01 <int-e> sim590: which is what cabal would do if you instructed it accordingly, and doing it in the config file feels less painful than doing it on every invokation
22:55:44 <sim590> int-e: It would not be in the invocation, but in a config file in the project repo.
22:56:03 <sim590> I thought ourproject.cabal in the `ghc-options:` section.
22:56:06 <int-e> it's a local configuration so putting it into the project is wrong
22:57:11 <int-e> (and you'll run into this with *every* haskell project as long as you use this particular ghc, and probably other versions shipped with ghc-up too)
22:57:11 <sim590> At least, we can put it in `cabal.project`, so it's not shipped anywhere.
22:57:35 × halloy5771 quits (~halloy577@205.175.106.139) (Read error: Connection reset by peer)
22:57:51 <int-e> it really is a thing that pretty much unambiguously belongs in ~/.cabal/config
22:58:03 <int-e> and not in some project-related file
22:59:55 <geekosaur> it should probably go in ghc's settings file fwiw
23:00:18 <int-e> sure but then you're bound to clash with ghc-up eventually
23:00:31 <xeno11> tomsmeding:,int-e: thanks for the help, much appreciated
23:00:58 <xeno11> tomsmeding: , int-e: *
23:03:58 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
23:05:11 ljdarj1 joins (~Thunderbi@user/ljdarj)
23:07:49 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 276 seconds)
23:07:50 ljdarj1 is now known as ljdarj
23:08:38 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
23:12:39 jmcantrell joins (~weechat@user/jmcantrell)
23:13:25 jason_davidson joins (~jason.dav@user/jason-davidson:57402)
23:17:56 × Square2 quits (~Square@user/square) (Ping timeout: 272 seconds)
23:19:45 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
23:20:34 × sprotte24 quits (~sprotte24@p200300d16f210300c438dc587dfe80f8.dip0.t-ipconnect.de) (Quit: Leaving)
23:23:03 Guest35 joins (~Guest35@2800:bf0:177:7c0:3c92:6af8:5ab1:4e0a)
23:24:23 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
23:25:28 × Guest35 quits (~Guest35@2800:bf0:177:7c0:3c92:6af8:5ab1:4e0a) (Client Quit)
23:29:38 <monochrom> Hrm, ld.gold is going away? That's a pity. If you reinstall GHC, the install script can pick up the fact that you don't have ld.gold, then initialize its settings file accordingly.
23:30:51 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 244 seconds)
23:35:08 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
23:37:25 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
23:37:52 × jespada quits (~jespada@r179-25-18-201.dialup.adsl.anteldata.net.uy) (Quit: My Mac has gone to sleep. ZZZzzz…)
23:38:19 halloy5771 joins (~halloy577@205.175.106.139)
23:38:36 × halloy5771 quits (~halloy577@205.175.106.139) (Client Quit)
23:41:39 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
23:42:09 × acidjnk quits (~acidjnk@p200300d6e71c4f19710480a6a0bd753e.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
23:45:58 emmanuelux joins (~emmanuelu@user/emmanuelux)
23:46:45 j1n37- joins (~j1n37@user/j1n37)
23:47:23 × j1n37 quits (~j1n37@user/j1n37) (Ping timeout: 244 seconds)
23:53:11 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
23:58:13 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)

All times are in UTC on 2025-05-13.