Home liberachat/#haskell: Logs Calendar

Logs on 2022-04-10 (liberachat/#haskell)

00:02:52 <abastro[m]> I see, thanks! Sad that macros require TH which inhibits compilation
00:03:59 tommd joins (~tommd@97-120-41-123.ptld.qwest.net)
00:04:38 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 272 seconds)
00:09:58 seydar joins (~seydar@154-27-113-252.starry-inc.net)
00:10:53 chenqisu1 joins (~chenqisu1@183.217.200.239)
00:14:46 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 272 seconds)
00:20:08 seydar joins (~seydar@154-27-113-252.starry-inc.net)
00:20:55 redb joins (~nmh@136.49.49.211)
00:22:15 <d34df00d> What's the best way to tell ghc's codegen a branch is unreachable?
00:23:17 <abastro[m]> Do you mean in pattern matching?
00:23:26 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
00:23:38 <d34df00d> abastro: almost — in a pattern guard.
00:24:33 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
00:25:17 <d34df00d> I have four guards of the form `| upperBits == 0b00` (and for the three other possibilities), ``where upperBits = someWord `shiftR` 6``, so there could be no other options but ghc (unsurprisingly) can't see that.
00:25:22 × redb quits (~nmh@136.49.49.211) (Ping timeout: 268 seconds)
00:25:46 <d34df00d> I could've used `otherwise` on the last branch, but it kinda breaks the symmetry of the code, so I'd much rather write `| otherwise = unreachable???` after those four branches.
00:25:49 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
00:26:11 kmein joins (~weechat@user/kmein)
00:26:29 <dsal> You could define a complete pattern synonym possibly.
00:27:43 × cheater quits (~Username@user/cheater) (Read error: Connection reset by peer)
00:28:29 cheater joins (~Username@user/cheater)
00:31:59 pnotequalnp joins (~pnotequal@user/pnotequalnp)
00:34:33 × gurkenglas quits (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de) (Ping timeout: 248 seconds)
00:36:54 <abastro[m]> Another possibility would be pattern matching on bit 6 & bit 7
00:38:28 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 260 seconds)
00:39:12 × pnotequalnp quits (~pnotequal@user/pnotequalnp) (Quit: Leaving)
00:39:57 pnotequalnp joins (~pnotequal@user/pnotequalnp)
00:40:38 wroathe joins (~wroathe@user/wroathe)
00:41:19 × pnotequalnp quits (~pnotequal@user/pnotequalnp) (Remote host closed the connection)
00:42:30 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
00:45:41 × dolio quits (~dolio@130.44.130.54) (Quit: ZNC 1.8.2 - https://znc.in)
00:45:56 dolio joins (~dolio@130.44.130.54)
00:46:23 redb joins (~nmh@136.49.49.211)
00:48:22 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
00:51:00 <d34df00d> The idea with pattern synonyms is interesting, I think it might be the most readable. Thanks!
00:51:16 × redb quits (~nmh@136.49.49.211) (Ping timeout: 268 seconds)
00:52:49 redb joins (~nmh@136.49.49.211)
00:59:37 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
01:02:17 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
01:07:20 × tommd quits (~tommd@97-120-41-123.ptld.qwest.net) (Ping timeout: 272 seconds)
01:08:26 notzmv joins (~zmv@user/notzmv)
01:08:56 razetime joins (~quassel@117.254.35.102)
01:10:49 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:12:03 × euandreh quits (~euandreh@2804:14c:33:9fe5:7d1a:acbd:2bb4:f) (Ping timeout: 260 seconds)
01:15:45 redb joins (~nmh@136.49.49.211)
01:16:55 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:18:21 deadmarshal_ joins (~deadmarsh@95.38.231.228)
01:20:12 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
01:20:57 redb joins (~nmh@136.49.49.211)
01:21:17 × neurocyte8614492 quits (~neurocyte@user/neurocyte) (Ping timeout: 256 seconds)
01:22:33 × deadmarshal_ quits (~deadmarsh@95.38.231.228) (Ping timeout: 248 seconds)
01:25:13 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
01:29:39 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 246 seconds)
01:37:50 redb joins (~nmh@136.49.49.211)
01:42:15 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
01:47:09 × dsrt^ quits (~dsrt@c-24-99-107-170.hsd1.ga.comcast.net) (Remote host closed the connection)
01:47:18 redb joins (~nmh@136.49.49.211)
01:47:51 × jinsun quits (~jinsun@user/jinsun) (Ping timeout: 246 seconds)
01:55:37 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
01:58:17 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 248 seconds)
02:00:11 redb joins (~nmh@136.49.49.211)
02:06:03 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
02:11:19 redb joins (~nmh@136.49.49.211)
02:14:32 <sshine> why is there both an 'aeson-schema' and an 'aeson-schemas' package? that's confusing.
02:15:16 × y04nn quits (~y04nn@2001:ac8:28:93::a15e) (Remote host closed the connection)
02:16:48 <sshine> they're even approximately equally popular (76 vs. 100 downloads).
02:17:40 <dsal> People make packages and upload them.
02:19:43 euandreh joins (~euandreh@2804:14c:33:9fe5:142e:30d1:6bde:a674)
02:20:47 <sshine> apparently, at the bottom of aeson-schema's README they say they only support draft v3, whereas another hjsonschema package supports draft v4, but this package is also deprecated. so aeson-schemas it is. :)
02:21:15 seydar joins (~seydar@154-27-113-252.starry-inc.net)
02:25:02 hammock joins (~Hammock@2600:1700:19a1:3330::588)
02:26:37 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
02:26:42 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
02:27:01 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
02:27:02 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
02:27:02 wroathe joins (~wroathe@user/wroathe)
02:30:08 × TonyStone quits (~TonyStone@2603-7080-8607-c36a-f1ec-d7f3-37e1-032c.res6.spectrum.com) (Remote host closed the connection)
02:31:30 × ggVGc quits (~ggVGc@a.lowtech.earth) (Ping timeout: 260 seconds)
02:31:52 seydar joins (~seydar@154-27-113-252.starry-inc.net)
02:33:23 TonyStone joins (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com)
02:34:56 × TonyStone quits (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com) (Remote host closed the connection)
02:35:41 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:35:42 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:35:42 finn_elija is now known as FinnElija
02:36:43 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
02:37:43 × razetime quits (~quassel@117.254.35.102) (Read error: Connection reset by peer)
02:42:02 seydar joins (~seydar@154-27-113-252.starry-inc.net)
02:46:49 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
02:51:11 × joo-_ quits (~joo-_@fsf/member/joo--) (Ping timeout: 245 seconds)
02:52:12 seydar joins (~seydar@154-27-113-252.starry-inc.net)
02:52:58 joo-_ joins (~joo-_@80-62-117-248-mobile.dk.customer.tdc.net)
02:52:58 × joo-_ quits (~joo-_@80-62-117-248-mobile.dk.customer.tdc.net) (Changing host)
02:52:58 joo-_ joins (~joo-_@fsf/member/joo--)
02:56:57 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
03:02:02 justOkay is now known as justChili
03:02:21 seydar joins (~seydar@154-27-113-252.starry-inc.net)
03:06:11 abastro joins (~abab9579@220.75.216.63)
03:06:57 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
03:12:31 seydar joins (~seydar@154-27-113-252.starry-inc.net)
03:16:31 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
03:16:36 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
03:17:06 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
03:17:34 Macbethwin is now known as Chargen
03:21:31 cdman joins (~dcm@user/dmc/x-4369397)
03:23:04 seydar joins (~seydar@154-27-113-252.starry-inc.net)
03:23:33 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Read error: Connection reset by peer)
03:25:03 flinner joins (~flinner@user/flinner)
03:27:23 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
03:30:19 _dmc_ joins (~dcm@27.2.217.137)
03:30:19 × _dmc_ quits (~dcm@27.2.217.137) (Changing host)
03:30:19 _dmc_ joins (~dcm@user/dmc/x-4369397)
03:30:22 × cdman quits (~dcm@user/dmc/x-4369397) (Ping timeout: 268 seconds)
03:33:53 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
03:38:53 benin joins (~benin@183.82.204.110)
03:42:23 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 256 seconds)
03:43:30 TonyStone joins (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com)
03:45:42 <Sgeo> Do algebraic effects have laws corresponding to the monad laws? If so, are they written out somewhere? Can they differ between effect systems (I'm looking at Unison >.> )
03:52:00 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:00:54 deadmarshal_ joins (~deadmarsh@95.38.231.228)
04:06:18 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
04:06:30 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
04:18:05 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
04:19:48 redb joins (~nmh@136.49.49.211)
04:21:45 abastro joins (~abab9579@220.75.216.63)
04:22:50 × flinner quits (~flinner@user/flinner) (Quit: Using Circe, the loveliest of all IRC clients)
04:24:19 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
04:25:20 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
04:29:28 redb joins (~nmh@136.49.49.211)
04:31:17 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
04:34:01 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
04:34:35 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 260 seconds)
04:39:47 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
04:40:45 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Ping timeout: 256 seconds)
04:41:11 abastro joins (~abab9579@220.75.216.63)
04:42:51 × _dmc_ quits (~dcm@user/dmc/x-4369397) (Quit: Leaving)
04:43:07 cdman joins (~dcm@user/dmc/x-4369397)
04:43:58 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
04:44:12 abastro joins (~abab9579@220.75.216.63)
04:46:43 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Remote host closed the connection)
04:49:49 × chenqisu1 quits (~chenqisu1@183.217.200.239) (Ping timeout: 256 seconds)
04:49:53 Akiva joins (~Akiva@user/Akiva)
04:52:48 redb joins (~nmh@136.49.49.211)
04:56:41 pavonia joins (~user@user/siracusa)
04:57:29 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
04:58:23 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
04:58:57 × goepsilongo quits (~chacho@2603-7000-ab00-62ed-0000-0000-0000-0bd0.res6.spectrum.com) (Quit: Konversation terminated!)
04:59:31 dschrempf joins (~dominik@2a01-036d-0118-ae84-6c6f-79fb-839d-0cde.pool6.digikabel.hu)
05:01:37 bahamas joins (~lucian@86.120.21.179)
05:03:21 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 248 seconds)
05:03:25 × deadmarshal_ quits (~deadmarsh@95.38.231.228) (Ping timeout: 256 seconds)
05:05:22 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
05:11:47 frost joins (~frost@user/frost)
05:14:49 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
05:14:57 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
05:14:59 allbery_b joins (~geekosaur@xmonad/geekosaur)
05:15:02 allbery_b is now known as geekosaur
05:17:43 <abastro[m]> I guess each effect system have their own laws - tbh their semantics are quite confusing to me.
05:17:55 <abastro[m]> All of them have distinct semantics somehow.
05:18:17 × werdnA quits (~andrew@114.88.181.56) (Ping timeout: 248 seconds)
05:23:31 seydar joins (~seydar@154-27-113-252.starry-inc.net)
05:24:29 × dschrempf quits (~dominik@2a01-036d-0118-ae84-6c6f-79fb-839d-0cde.pool6.digikabel.hu) (Quit: WeeChat 3.4.1)
05:26:52 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Read error: Connection reset by peer)
05:28:09 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 268 seconds)
05:31:08 coot joins (~coot@213.134.190.95)
05:32:20 agrosant joins (~agrosant@79.103.182.92.dsl.dyn.forthnet.gr)
05:32:31 redb joins (~nmh@136.49.49.211)
05:33:53 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
05:35:01 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
05:36:25 seydar joins (~seydar@154-27-113-252.starry-inc.net)
05:36:57 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
05:38:30 × bahamas quits (~lucian@86.120.21.179) (Ping timeout: 246 seconds)
05:41:13 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
05:46:38 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 272 seconds)
05:57:17 seydar joins (~seydar@154-27-113-252.starry-inc.net)
06:00:01 jinsun joins (~jinsun@user/jinsun)
06:01:47 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 256 seconds)
06:06:57 redb joins (~nmh@136.49.49.211)
06:07:26 seydar joins (~seydar@154-27-113-252.starry-inc.net)
06:12:09 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
06:12:25 _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl)
06:15:21 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
06:17:36 seydar joins (~seydar@154-27-113-252.starry-inc.net)
06:17:55 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Remote host closed the connection)
06:18:27 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
06:19:11 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
06:22:17 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
06:22:57 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
06:24:58 × coot quits (~coot@213.134.190.95) (Quit: coot)
06:27:45 seydar joins (~seydar@154-27-113-252.starry-inc.net)
06:28:58 redb joins (~nmh@136.49.49.211)
06:30:07 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
06:32:57 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
06:33:29 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
06:38:07 acidjnk joins (~acidjnk@p200300d0c7049f542da7db62ea760e18.dip0.t-ipconnect.de)
06:38:18 seydar joins (~seydar@154-27-113-252.starry-inc.net)
06:38:36 × Chargen quits (~chargen@D964062A.static.ziggozakelijk.nl) (Remote host closed the connection)
06:41:51 × jle` quits (~jle`@cpe-23-240-75-236.socal.res.rr.com) (Ping timeout: 246 seconds)
06:43:05 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
06:43:54 jle` joins (~jle`@cpe-23-240-75-236.socal.res.rr.com)
06:45:30 Macbethwin joins (~chargen@D964062A.static.ziggozakelijk.nl)
06:47:08 vysn joins (~vysn@user/vysn)
06:47:55 × motherfsck quits (~motherfsc@user/motherfsck) (Quit: quit)
06:54:16 × caubert quits (~caubert@136.244.111.235) (Quit: WeeChat 3.4)
06:54:28 caubert joins (~caubert@136.244.111.235)
06:55:16 bahamas joins (~lucian@84.232.140.158)
06:56:11 × zyklotomic quits (~ethan@res388d-128-61-94-217.res.gatech.edu) (Ping timeout: 256 seconds)
06:58:11 zyklotomic joins (~ethan@res380d-128-61-83-53.res.gatech.edu)
07:02:07 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
07:02:20 redb joins (~nmh@136.49.49.211)
07:04:24 × Macbethwin quits (~chargen@D964062A.static.ziggozakelijk.nl) (Remote host closed the connection)
07:04:27 axeman joins (~quassel@2a02:8109:a380:78:b60:751:db79:f3ec)
07:09:45 × simeon quits (~pi@dslb-002-202-026-141.002.202.pools.vodafone-ip.de) (Ping timeout: 248 seconds)
07:10:12 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
07:15:09 seydar joins (~seydar@154-27-113-252.starry-inc.net)
07:15:22 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Remote host closed the connection)
07:15:55 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
07:20:21 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
07:20:55 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
07:21:03 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
07:21:12 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
07:23:45 <jonathanx_> I'm trying out cabal a bit (long term stack user), and can't figure out how to run tests with file watch. Google is rather unhelpful. I'm on vscode with HLS, if that helps
07:23:48 redb joins (~nmh@136.49.49.211)
07:25:28 Macbethwin joins (~chargen@D964062A.static.ziggozakelijk.nl)
07:26:36 seydar joins (~seydar@154-27-113-252.starry-inc.net)
07:28:25 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
07:29:55 redb joins (~nmh@136.49.49.211)
07:31:19 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 256 seconds)
07:32:35 simeon joins (~pi@dslb-088-076-113-221.088.076.pools.vodafone-ip.de)
07:34:34 × redb quits (~nmh@136.49.49.211) (Ping timeout: 268 seconds)
07:36:44 seydar joins (~seydar@154-27-113-252.starry-inc.net)
07:41:16 coot joins (~coot@213.134.190.95)
07:42:35 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
07:42:51 × shriekingnoise quits (~shrieking@201.231.16.156) (Quit: Quit)
07:44:13 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
07:44:43 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
07:46:02 redb joins (~nmh@136.49.49.211)
07:46:47 zaquest joins (~notzaques@5.130.79.72)
07:47:17 seydar joins (~seydar@154-27-113-252.starry-inc.net)
07:50:36 × redb quits (~nmh@136.49.49.211) (Ping timeout: 268 seconds)
07:50:43 odnes joins (~odnes@5-203-221-3.pat.nym.cosmote.net)
07:52:17 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 256 seconds)
07:53:29 <maerwald[m]> jonathanx_: https://github.com/haskell/cabal/issues/5252
07:54:39 chenqisu1 joins (~chenqisu1@183.217.200.239)
07:57:45 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
07:57:48 seydar joins (~seydar@154-27-113-252.starry-inc.net)
07:57:59 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
07:58:07 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
07:58:20 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
07:58:28 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
07:58:43 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
07:58:51 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
08:02:21 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
08:05:13 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
08:05:26 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Remote host closed the connection)
08:06:01 × vysn quits (~vysn@user/vysn) (Quit: WeeChat 3.4)
08:06:38 ishaan joins (~ishaan@122.161.51.93)
08:07:58 seydar joins (~seydar@154-27-113-252.starry-inc.net)
08:08:09 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
08:10:06 bahamas joins (~lucian@84.232.140.158)
08:12:30 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
08:13:13 × axeman quits (~quassel@2a02:8109:a380:78:b60:751:db79:f3ec) (Ping timeout: 248 seconds)
08:17:12 × xpika quits (~alan@n122-110-60-225.sun2.vic.optusnet.com.au) (Read error: Connection reset by peer)
08:19:29 redb joins (~nmh@136.49.49.211)
08:22:36 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
08:23:39 chddr joins (~Thunderbi@91.226.34.187)
08:23:53 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
08:27:24 seydar joins (~seydar@154-27-113-252.starry-inc.net)
08:27:43 axeman joins (~quassel@2a02:8109:a380:78:a7cc:3b43:4da7:23f3)
08:31:41 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
08:31:53 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
08:31:57 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 256 seconds)
08:34:20 <Unicorn_Princess> hm. so i can't partially define a function using pattern-matching, and if all the patterns fall through, use like, point-free style for the rest?
08:35:14 <Unicorn_Princess> e.g. zero_out_two 2 = 0; zero_out_two = id;
08:35:58 <Rembane> Unicorn_Princess: That's true, all function equations need to have the same number of arguments. Have a lookt at LambdaCase though.
08:36:48 redb joins (~nmh@136.49.49.211)
08:38:05 <Unicorn_Princess> and there was some syntax where I don't have to write all the arguments in a pattern-match constructor.. someting like instead of IHaveManyArgs a _ _ _ _, I could write IHaveManyArgs a ...?
08:39:05 <Rembane> You could put all your arguments into a record or a tuple instead.
08:39:42 <Unicorn_Princess> oh maybe i'm thinking of Rust that lets you do this..
08:41:02 <Rembane> How does Rust let you do this?
08:41:35 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
08:43:04 <Unicorn_Princess> like this: https://doc.rust-lang.org/book/ch18-03-pattern-syntax.html#ignoring-remaining-parts-of-a-value-with-
08:44:21 <Rembane> That's really nice, you can do that in Haskell too, in the same way as in Rust, but you need some language extensions, lets see if I can find them.
08:44:26 razetime joins (~quassel@117.254.35.102)
08:44:41 razetime_ joins (~quassel@117.254.35.102)
08:44:48 <abastro[m]> Hmm
08:44:54 <abastro[m]> I think haskell has sth like it without extension
08:44:55 <abastro[m]> For records*
08:44:59 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
08:45:04 razetime__ joins (~quassel@117.254.35.102)
08:45:05 <Unicorn_Princess> ah, this is what you meant, Rembane: https://stackoverflow.com/questions/38052553/haskell-record-pattern-matching
08:45:15 × razetime__ quits (~quassel@117.254.35.102) (Client Quit)
08:45:19 × razetime_ quits (~quassel@117.254.35.102) (Client Quit)
08:45:29 <Unicorn_Princess> very handy, and i already have a record, so it's just what i need
08:45:29 × coot quits (~coot@213.134.190.95) (Quit: coot)
08:48:22 <Rembane> Unicorn_Princess: Bingo! Also this: https://paste.tomsmeding.com/5ijs45HK
08:49:12 <Unicorn_Princess> not even a ..? i don't like it >:(
08:49:28 <Rembane> :D
08:49:29 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 248 seconds)
08:49:42 <Rembane> You won't be using the dots for anything, so what are they good for?
08:49:48 <Unicorn_Princess> oh wait
08:50:20 <Unicorn_Princess> if f was instead `f R { b } = b`..
08:50:28 <Unicorn_Princess> then it would return the b field?
08:50:33 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 248 seconds)
08:50:40 <Rembane> Bingo!
08:50:47 <Unicorn_Princess> in that case i do like it :)
08:50:49 <Rembane> There's another way to do it too: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/record_wildcards.html
08:50:52 <Rembane> ^^
08:52:00 × chddr quits (~Thunderbi@91.226.34.187) (Quit: chddr)
08:52:03 <Unicorn_Princess> ah, but works only if there aren't two arguments with the same constructor, eh?
08:53:23 <Rembane> Yeah, that's usually true for all nice things.
08:54:17 redb joins (~nmh@136.49.49.211)
08:54:43 <Rembane> Or wait... I think I misinterpreted your question, I thought you meant many constructors in the same datatype and records for each.
08:54:46 <Rembane> Do you have an example?
08:55:55 <Unicorn_Princess> nope, you didn't misunderstand
08:56:12 <Unicorn_Princess> and A{record_name=r} solves my issue perfectly
08:56:39 <Unicorn_Princess> hrm. now why can't i find how to rename a variable in the haskell lsp... brb
08:56:42 <Rembane> Cool, in the case of many constructors for a datatype with records for each lenses are usually the solution for that, but that's a whole other can of worms.
08:57:19 × acidjnk quits (~acidjnk@p200300d0c7049f542da7db62ea760e18.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
08:59:03 × redb quits (~nmh@136.49.49.211) (Ping timeout: 268 seconds)
09:00:07 × justChili quits (~justache@user/justache) (Remote host closed the connection)
09:01:03 justChili joins (~justache@user/justache)
09:03:32 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
09:03:36 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Ping timeout: 246 seconds)
09:06:33 × axeman quits (~quassel@2a02:8109:a380:78:a7cc:3b43:4da7:23f3) (Ping timeout: 248 seconds)
09:11:01 axeman joins (~quassel@2a02:8109:a380:78:913b:b096:c0d4:3d3f)
09:12:14 deadmarshal_ joins (~deadmarsh@95.38.231.228)
09:15:14 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
09:16:43 × deadmarshal_ quits (~deadmarsh@95.38.231.228) (Ping timeout: 256 seconds)
09:18:55 redb joins (~nmh@136.49.49.211)
09:19:46 acidjnk joins (~acidjnk@p200300d0c7049f54355c7e35a7ab579b.dip0.t-ipconnect.de)
09:19:51 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Remote host closed the connection)
09:23:05 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
09:28:14 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
09:29:04 × axeman quits (~quassel@2a02:8109:a380:78:913b:b096:c0d4:3d3f) (Quit: No Ping reply in 180 seconds.)
09:30:19 axeman joins (~quassel@2a02:8109:a380:78:c572:3c72:fbb6:70ac)
09:35:55 redb joins (~nmh@136.49.49.211)
09:37:07 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 256 seconds)
09:40:00 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
09:44:50 zeenk joins (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94)
09:46:24 bahamas joins (~lucian@84.232.140.158)
09:47:12 <Unicorn_Princess> ah, looks like i was looking in the right place, but haskell-lsp doesn't support renaming
09:47:19 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
09:47:35 <Unicorn_Princess> (the emacs lisp function is called lsp-rename, fyi)
09:48:48 <abastro[m]> I think it used to support renaming
09:48:53 <abastro[m]> Idk where the functionality has gone hmm
09:49:14 <abastro[m]> Perhaps some ppl thought text replace is enough, I guess
09:49:20 Unicorn_Princess will stay outside that particular rabbit hole
09:54:12 gaff joins (~gaff@49.207.206.194)
09:54:20 × gaff quits (~gaff@49.207.206.194) (Client Quit)
09:54:23 × razetime quits (~quassel@117.254.35.102) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
09:59:37 × Macbethwin quits (~chargen@D964062A.static.ziggozakelijk.nl) (Remote host closed the connection)
10:01:39 × ishaan quits (~ishaan@122.161.51.93) (Quit: Client closed)
10:04:09 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 246 seconds)
10:05:39 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
10:12:23 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
10:13:31 Nahra joins (~user@static.161.95.99.88.clients.your-server.de)
10:14:40 redb joins (~nmh@136.49.49.211)
10:16:39 × acidjnk quits (~acidjnk@p200300d0c7049f54355c7e35a7ab579b.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
10:17:01 × fockerized quits (~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Remote host closed the connection)
10:17:58 Hanicef joins (~gustaf@81-229-9-108-no92.tbcn.telia.com)
10:18:51 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
10:26:27 × dextaa quits (~dextaa@user/dextaa) (Remote host closed the connection)
10:27:28 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
10:27:54 Macbethwin joins (~chargen@D964062A.static.ziggozakelijk.nl)
10:28:14 seydar joins (~seydar@154-27-113-252.starry-inc.net)
10:32:41 Vajb joins (~Vajb@2001:999:62:aa00:7f5a:4f10:c894:3813)
10:33:06 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
10:35:24 × Macbethwin quits (~chargen@D964062A.static.ziggozakelijk.nl) (Remote host closed the connection)
10:37:20 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 272 seconds)
10:42:25 × mniip quits (mniip@libera/staff/mniip) (Remote host closed the connection)
10:45:31 shriekingnoise joins (~shrieking@201.231.16.156)
10:46:36 mniip joins (~mniip@libera/staff/mniip)
10:47:31 redb joins (~nmh@136.49.49.211)
10:47:53 × axeman quits (~quassel@2a02:8109:a380:78:c572:3c72:fbb6:70ac) (Ping timeout: 248 seconds)
10:50:38 Macbethwin joins (~chargen@D964062A.static.ziggozakelijk.nl)
10:51:45 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
10:52:31 seydar joins (~seydar@154-27-113-252.starry-inc.net)
10:57:27 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
11:00:32 seydar joins (~seydar@154-27-113-252.starry-inc.net)
11:02:57 × Macbethwin quits (~chargen@D964062A.static.ziggozakelijk.nl) (Ping timeout: 246 seconds)
11:05:43 abastro joins (~abab9579@192.249.26.42)
11:07:05 × benin quits (~benin@183.82.204.110) (Ping timeout: 248 seconds)
11:07:08 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
11:07:37 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 248 seconds)
11:13:44 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
11:14:51 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
11:15:37 × Akiva quits (~Akiva@user/Akiva) (Ping timeout: 248 seconds)
11:18:34 × abastro quits (~abab9579@192.249.26.42) (Remote host closed the connection)
11:20:06 acidjnk joins (~acidjnk@p200300d0c7049f54a49f92cbcc925d29.dip0.t-ipconnect.de)
11:20:31 seydar joins (~seydar@154-27-113-252.starry-inc.net)
11:21:10 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
11:22:47 redb joins (~nmh@136.49.49.211)
11:25:49 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
11:28:11 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
11:33:03 haskellberry joins (~haskellbe@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
11:34:16 ggVGc joins (~ggVGc@a.lowtech.earth)
11:34:57 dextaa joins (~dextaa@user/dextaa)
11:35:37 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
11:36:37 redb joins (~nmh@136.49.49.211)
11:41:13 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
11:43:04 redb joins (~nmh@136.49.49.211)
11:45:30 odnes_ joins (~odnes@5-203-221-3.pat.nym.cosmote.net)
11:45:41 × odnes quits (~odnes@5-203-221-3.pat.nym.cosmote.net) (Read error: Connection reset by peer)
11:48:00 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
11:52:25 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 248 seconds)
11:55:44 × shriekingnoise quits (~shrieking@201.231.16.156) (Quit: Quit)
11:57:43 seydar joins (~seydar@154-27-113-252.starry-inc.net)
12:01:15 jm joins (~jm@181.171.21.84)
12:02:06 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
12:07:39 abastro joins (~abab9579@192.249.26.42)
12:09:27 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Ping timeout: 246 seconds)
12:11:34 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
12:12:04 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Read error: Connection reset by peer)
12:12:21 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
12:13:52 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Client Quit)
12:15:28 goepsilongo joins (~chacho@2603-7000-ab00-62ed-0000-0000-0000-0bd0.res6.spectrum.com)
12:17:09 × haskellberry quits (~haskellbe@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 246 seconds)
12:19:20 ishaan joins (~ishaan@122.161.51.93)
12:21:15 × acidjnk quits (~acidjnk@p200300d0c7049f54a49f92cbcc925d29.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
12:29:29 machinedgod joins (~machinedg@24.105.81.50)
12:36:12 seydar joins (~seydar@154-27-113-252.starry-inc.net)
12:44:27 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
12:48:33 alp_ joins (~alp@user/alp)
12:49:00 haskellberry joins (~haskellbe@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
12:49:16 bahamas joins (~lucian@84.232.140.158)
12:49:49 seydar joins (~seydar@154-27-113-252.starry-inc.net)
12:51:33 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
12:54:46 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 272 seconds)
12:57:09 × chenqisu1 quits (~chenqisu1@183.217.200.239) (Ping timeout: 256 seconds)
12:57:44 jm is now known as jmatarrese
12:58:15 jmatarrese is now known as javier
12:58:24 javier is now known as jm
13:00:40 × phma quits (~phma@2001:5b0:210d:6f38:47d2:1a57:a8ac:4c26) (Read error: Connection reset by peer)
13:01:04 jm is now known as jmatarrese
13:01:23 phma joins (~phma@host-67-44-208-191.hnremote.net)
13:04:36 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
13:05:00 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
13:07:55 × Vajb quits (~Vajb@2001:999:62:aa00:7f5a:4f10:c894:3813) (Ping timeout: 260 seconds)
13:08:13 × jmatarrese quits (~jm@181.171.21.84) (Quit: nyaa~)
13:08:15 × abastro quits (~abab9579@192.249.26.42) (Ping timeout: 246 seconds)
13:08:16 abas85851 joins (~abab9579@192.249.26.42)
13:09:17 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Client Quit)
13:09:51 seydar joins (~seydar@154-27-113-252.starry-inc.net)
13:09:54 × Hanicef quits (~gustaf@81-229-9-108-no92.tbcn.telia.com) (Quit: leaving)
13:10:59 × zeenk quits (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94) (Quit: Konversation terminated!)
13:12:25 × haskellberry quits (~haskellbe@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 248 seconds)
13:13:21 coot joins (~coot@213.134.190.95)
13:14:12 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
13:20:01 seydar joins (~seydar@154-27-113-252.starry-inc.net)
13:37:56 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
13:38:16 geekosaur joins (~geekosaur@xmonad/geekosaur)
13:38:39 × coot quits (~coot@213.134.190.95) (Quit: coot)
13:39:33 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Remote host closed the connection)
13:39:54 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
13:45:21 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 246 seconds)
13:45:25 × cdman quits (~dcm@user/dmc/x-4369397) (Quit: Leaving)
13:47:29 × ridcully_ quits (~ridcully@pd951f433.dip0.t-ipconnect.de) (Remote host closed the connection)
13:47:42 ridcully joins (~ridcully@pd951f433.dip0.t-ipconnect.de)
13:49:55 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
13:57:47 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
14:04:54 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
14:13:02 jakalx parts (~jakalx@base.jakalx.net) ()
14:14:47 × hammock quits (~Hammock@2600:1700:19a1:3330::588) (Ping timeout: 268 seconds)
14:21:03 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
14:23:12 × geranim0 quits (~geranim0@modemcable242.171-178-173.mc.videotron.ca) (Remote host closed the connection)
14:23:30 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 246 seconds)
14:25:43 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
14:31:41 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
14:35:52 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
14:35:52 allbery_b joins (~geekosaur@xmonad/geekosaur)
14:35:55 allbery_b is now known as geekosaur
14:36:06 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 246 seconds)
14:37:16 seydar joins (~seydar@154-27-113-252.starry-inc.net)
14:40:34 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
14:40:34 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
14:40:34 wroathe joins (~wroathe@user/wroathe)
14:40:57 × abas85851 quits (~abab9579@192.249.26.42) (Ping timeout: 248 seconds)
14:42:26 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 272 seconds)
14:44:11 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
14:45:18 jakalx joins (~jakalx@base.jakalx.net)
14:47:04 × TonyStone quits (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com) (Quit: Leaving)
14:47:24 TonyStone joins (~TonyStone@2603-7080-8607-c36a-4559-b1a3-4de1-30b6.res6.spectrum.com)
14:47:24 seydar joins (~seydar@154-27-113-252.starry-inc.net)
14:50:02 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 272 seconds)
14:50:11 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
14:50:12 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
14:52:09 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
14:52:48 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Remote host closed the connection)
14:53:19 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
14:54:27 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
14:57:34 seydar joins (~seydar@154-27-113-252.starry-inc.net)
14:59:36 redb joins (~nmh@136.49.49.211)
15:02:17 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
15:03:20 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Read error: Connection reset by peer)
15:04:36 × redb quits (~nmh@136.49.49.211) (Ping timeout: 272 seconds)
15:05:56 redb joins (~nmh@136.49.49.211)
15:08:03 × TonyStone quits (~TonyStone@2603-7080-8607-c36a-4559-b1a3-4de1-30b6.res6.spectrum.com) (Ping timeout: 260 seconds)
15:09:03 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Remote host closed the connection)
15:10:17 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
15:10:55 redb joins (~nmh@136.49.49.211)
15:12:03 bahamas joins (~lucian@84.232.140.158)
15:13:51 <Inst> proposal: Monad refers to the category theory concept and the typeclass only.
15:14:07 <Inst> MAF refers to Monadic Applicative Functor and a datatype that can be instanced into Monad
15:15:55 <geekosaur> it's a bit late to change that, I think
15:16:09 <hpc> counter-proposal: rename Functor to Map, Applicative to DSL, and Monad to DesignPattern
15:16:13 <hpc> >:)
15:17:30 seydar joins (~seydar@154-27-113-252.starry-inc.net)
15:18:17 <abastro[m]> >:3
15:19:38 <hpc> even more evil proposal: redefine const to "const x = x", because variables in haskell are already const by default
15:20:52 TonyStone joins (~TonyStone@2603-7080-8607-c36a-4559-b1a3-4de1-30b6.res6.spectrum.com)
15:20:58 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
15:21:28 fef joins (~thedawn@user/thedawn)
15:23:14 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
15:23:45 <hpc> the id function hashes a value's memory and returns a guid
15:23:51 <hpc> the data keyword has been renamed to type
15:23:51 × Inst quits (~Liam@c-98-208-218-119.hsd1.fl.comcast.net) (Ping timeout: 268 seconds)
15:23:56 <abastro[m]> `:t pure @((->) a)`
15:24:03 <hpc> type is now a function that types out what it was given to stdout :D
15:24:06 <abastro[m]> :t pure @((->) a)
15:24:06 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
15:24:07 <lambdabot> error: parse error on input ‘->’
15:24:33 <abastro[m]> Wh
15:24:46 <hpc> er, the data keyword has been renamed to class
15:24:53 <hpc> to fit in with other oop languages :D
15:25:05 <geekosaur> lambdabot doens't support TypeApplications
15:25:08 <abastro[m]> That's the spirit
15:25:19 <abastro[m]> Oh lambdabot :<
15:25:23 <hpc> % :t pure @((->) a)
15:25:23 <yahb> hpc: ; <interactive>:1:13: error: Not in scope: type variable `a'
15:25:31 <hpc> % :t pure @(->)
15:25:31 <yahb> hpc: ; <interactive>:1:7: error:; * Expecting one more argument to `(->)'; Expected kind `* -> *', but `(->)' has kind `* -> * -> *'; * In the type `(->)'; In the expression: pure @(->)
15:25:34 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
15:25:36 <hpc> bah
15:25:41 <geekosaur> % :t pure @((->) _)
15:25:41 <yahb> geekosaur: a -> w -> a
15:25:56 × frost quits (~frost@user/frost) (Quit: Client closed)
15:25:57 <abastro[m]> % :t pure @((->) _)
15:25:57 <yahb> abastro[m]: a -> w -> a
15:26:03 <abastro[m]> Oh ninja'd
15:26:51 <abastro[m]> So that is an alternative implementation of traditional const
15:27:53 <hpc> also ($) is redefined as ($) = jquery
15:28:03 seydar joins (~seydar@154-27-113-252.starry-inc.net)
15:28:15 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
15:29:15 <abastro[m]> I legit heard of suggestions like... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/041a4b39e1a7222df46672e7cff2d833dbaf166b)
15:30:00 <abastro[m]> I guess F# folks might like that
15:30:16 <hpc> we can split the difference
15:30:20 <hpc> Functor => Functorable
15:31:22 <Zemyla> What would Contravariant be renamed?
15:33:06 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
15:35:21 × joo-_ quits (~joo-_@fsf/member/joo--) (Ping timeout: 248 seconds)
15:36:17 ccntrq joins (~Thunderbi@2a01:e34:eccb:b060:74cc:725b:6f98:de09)
15:36:22 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
15:37:06 joo-_ joins (~joo-_@80-62-116-147-mobile.dk.customer.tdc.net)
15:37:06 × joo-_ quits (~joo-_@80-62-116-147-mobile.dk.customer.tdc.net) (Changing host)
15:37:06 joo-_ joins (~joo-_@fsf/member/joo--)
15:41:25 coot joins (~coot@213.134.190.95)
15:42:58 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
15:43:47 seydar joins (~seydar@154-27-113-252.starry-inc.net)
15:45:58 axeman joins (~quassel@2a02:8109:a380:78:9943:d00d:1e8f:83f2)
15:48:31 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
15:52:41 redb joins (~nmh@136.49.49.211)
15:58:26 × redb quits (~nmh@136.49.49.211) (Ping timeout: 272 seconds)
16:09:15 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
16:14:26 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
16:15:38 redb joins (~nmh@136.49.49.211)
16:16:06 geekosaur joins (~geekosaur@xmonad/geekosaur)
16:17:38 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
16:18:24 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:18:58 × dolio quits (~dolio@130.44.130.54) (Quit: ZNC 1.8.2 - https://znc.in)
16:20:03 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
16:21:07 × odnes_ quits (~odnes@5-203-221-3.pat.nym.cosmote.net) (Quit: Leaving)
16:21:25 dolio joins (~dolio@130.44.130.54)
16:23:40 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 268 seconds)
16:23:59 <monochrom> ContravariantFunctorable? >:)
16:25:47 <monochrom> Ah, late to the party.
16:26:17 zeenk joins (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94)
16:29:04 <monochrom> https://betterprogramming.pub/monads-are-just-fancy-semicolons-ffe38401fd0e will serve as perpetual reminder that whenever people believe "oh, I know", they are fooling themselves.
16:30:16 Inst joins (~Liam@c-98-208-218-119.hsd1.fl.comcast.net)
16:33:07 gehmehgeh joins (~user@user/gehmehgeh)
16:34:12 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Remote host closed the connection)
16:34:21 redb joins (~nmh@136.49.49.211)
16:37:58 MajorBiscuit joins (~MajorBisc@83.22.32.182.ipv4.supernova.orange.pl)
16:38:40 [exa] joins (exa@user/exa/x-3587197)
16:39:05 × redb quits (~nmh@136.49.49.211) (Ping timeout: 268 seconds)
16:40:05 redb joins (~nmh@136.49.49.211)
16:41:45 <c_wraith> Ah, the good old unlawful bind counting "monad"
16:42:34 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
16:44:23 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
16:47:21 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 248 seconds)
16:49:00 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
16:49:13 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
16:49:54 haskellberry joins (~haskellbe@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
16:50:31 × infinity0 quits (~infinity0@occupy.ecodis.net) (Ping timeout: 260 seconds)
16:56:48 redb joins (~nmh@136.49.49.211)
16:57:35 × MajorBiscuit quits (~MajorBisc@83.22.32.182.ipv4.supernova.orange.pl) (Ping timeout: 268 seconds)
16:59:15 MajorBiscuit joins (~MajorBisc@83.22.32.182.ipv4.supernova.orange.pl)
17:01:00 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
17:02:14 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
17:07:21 × tabemann quits (~travisb@2600:1700:7990:24e0:da3f:51e6:d535:6e76) (Remote host closed the connection)
17:07:34 tabemann joins (~travisb@2600:1700:7990:24e0:4e26:4e55:2765:53c9)
17:09:50 deadmarshal_ joins (~deadmarsh@95.38.231.228)
17:09:53 redb joins (~nmh@136.49.49.211)
17:13:36 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 246 seconds)
17:13:48 × raym quits (~raym@user/raym) (Ping timeout: 272 seconds)
17:14:18 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
17:17:36 × ccntrq quits (~Thunderbi@2a01:e34:eccb:b060:74cc:725b:6f98:de09) (Remote host closed the connection)
17:29:06 × coot quits (~coot@213.134.190.95) (Quit: coot)
17:29:33 coot joins (~coot@213.134.190.95)
17:29:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
17:30:02 × ishaan quits (~ishaan@122.161.51.93) (Quit: Client closed)
17:30:40 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
17:32:37 redb joins (~nmh@136.49.49.211)
17:33:20 econo joins (uid147250@user/econo)
17:37:03 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
17:37:40 × averell quits (~averell@user/averell) (Quit: .)
17:38:05 bahamas joins (~lucian@84.232.140.158)
17:44:16 × coot quits (~coot@213.134.190.95) (Quit: coot)
17:44:19 seydar joins (~seydar@154-27-113-252.starry-inc.net)
17:48:45 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Quit: brandonh)
17:49:11 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
17:49:39 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
17:49:44 jgeerds joins (~jgeerds@d5364b87.access.ecotel.net)
17:51:35 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
17:51:56 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
17:52:26 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 272 seconds)
17:54:19 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 268 seconds)
17:56:08 seydar joins (~seydar@154-27-113-252.starry-inc.net)
17:57:14 jpds joins (~jpds@gateway/tor-sasl/jpds)
17:57:16 redb joins (~nmh@136.49.49.211)
18:00:30 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
18:01:00 coot joins (~coot@213.134.190.95)
18:01:33 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
18:01:56 raym joins (~raym@user/raym)
18:02:29 × coot quits (~coot@213.134.190.95) (Client Quit)
18:02:59 seydar joins (~seydar@154-27-113-252.starry-inc.net)
18:07:21 × deadmarshal_ quits (~deadmarsh@95.38.231.228) (Ping timeout: 248 seconds)
18:08:51 redb joins (~nmh@136.49.49.211)
18:09:42 jakalx parts (~jakalx@base.jakalx.net) ()
18:11:19 jakalx joins (~jakalx@base.jakalx.net)
18:13:28 arjun joins (~arjun@user/arjun)
18:13:58 × redb quits (~nmh@136.49.49.211) (Ping timeout: 272 seconds)
18:14:19 <arjun> hi, if i have a type say StateT Stack (MaybeT m) with m as my base monad
18:14:42 <arjun> when i use lift, do i go from inside out, or outside in ?
18:14:46 <Franciman> hi arjun
18:14:50 <Franciman> :t lift
18:14:51 <lambdabot> (MonadTrans t, Monad m) => m a -> t m a
18:14:53 bahamas joins (~lucian@84.232.140.158)
18:14:59 <Franciman> so you go from m to MaybeT m
18:15:12 <Franciman> or from MaybeT m to StateT Stack (MaybeT m)
18:15:14 <arjun> so i am in the base monad by default
18:15:20 <Franciman> lower level yes
18:15:31 <arjun> and to a ask or a put i'd have to lift twice ?
18:15:39 redb joins (~nmh@136.49.49.211)
18:17:03 benin joins (~benin@183.82.204.110)
18:17:37 <arjun> thanks Franciman
18:20:06 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
18:20:50 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
18:27:28 Sgeo joins (~Sgeo@user/sgeo)
18:29:45 × MajorBiscuit quits (~MajorBisc@83.22.32.182.ipv4.supernova.orange.pl) (Ping timeout: 248 seconds)
18:30:17 redb joins (~nmh@136.49.49.211)
18:30:35 <maerwald> arjun: put should work without lifting
18:30:47 <maerwald> :t put
18:30:48 <lambdabot> MonadState s m => s -> m ()
18:30:56 <maerwald> put :: Monad m => s -> StateT s m ()
18:31:30 <maerwald> mtl might be confusing here
18:32:10 <arjun> thanks maerwald
18:33:15 × Unicorn_Princess quits (~Unicorn_P@93-103-228-248.dynamic.t-2.net) (Remote host closed the connection)
18:33:19 coot joins (~coot@213.134.190.95)
18:34:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
18:38:00 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
18:41:00 <maerwald> I realise I don't have a good tutorial link for transformers
18:41:51 deadmarshal_ joins (~deadmarsh@95.38.231.228)
18:41:55 <maerwald> arjun: have you written ReaderT/StateT by hand?
18:42:38 <arjun> can't remember :x
18:42:56 <maerwald> newtype ReaderT r m a = ReaderT { runReaderT :: ??? }
18:42:59 <maerwald> fill in ???
18:43:33 <arjun> r -> m a ?
18:43:48 <maerwald> right, now write Functor, Applicative and Monad instance
18:44:56 Pickchea joins (~private@user/pickchea)
18:45:18 <arjun> right, will do (tomorrow) it's 12:15 here, gotta catch some Zzz
18:45:29 <maerwald> also, you'll like ContT
18:45:30 × euandreh quits (~euandreh@2804:14c:33:9fe5:142e:30d1:6bde:a674) (Ping timeout: 268 seconds)
18:46:20 <arjun> i'll look into it, thanks
18:46:43 shriekingnoise joins (~shrieking@201.231.16.156)
18:46:54 × deadmarshal_ quits (~deadmarsh@95.38.231.228) (Ping timeout: 272 seconds)
18:48:02 × coot quits (~coot@213.134.190.95) (Quit: coot)
18:51:16 × arjun quits (~arjun@user/arjun) (Quit: Leaving)
18:52:21 <maerwald> next week ragequit and questions about polysemy :D
18:52:37 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
18:54:14 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
18:56:42 <maerwald> haskell and its rabbit holes
18:57:13 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
19:00:00 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 246 seconds)
19:01:31 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Ping timeout: 256 seconds)
19:02:23 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
19:08:34 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
19:08:34 allbery_b joins (~geekosaur@xmonad/geekosaur)
19:08:37 allbery_b is now known as geekosaur
19:12:36 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 246 seconds)
19:15:56 bahamas joins (~lucian@84.232.140.158)
19:17:03 × fef quits (~thedawn@user/thedawn) (Remote host closed the connection)
19:19:21 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 248 seconds)
19:19:43 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
19:21:06 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 272 seconds)
19:21:33 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
19:25:36 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
19:26:56 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
19:28:13 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Ping timeout: 260 seconds)
19:28:26 coot joins (~coot@213.134.190.95)
19:28:41 Floofy joins (~Floofeus@2a02:6b64:f147:0:186:8bed:1973:c563)
19:30:02 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
19:30:33 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:31:45 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:32:05 × Floofy quits (~Floofeus@2a02:6b64:f147:0:186:8bed:1973:c563) (Client Quit)
19:32:46 Floof joins (~Floofeus@2a02:6b64:f147:0:186:8bed:1973:c563)
19:33:53 × Floof quits (~Floofeus@2a02:6b64:f147:0:186:8bed:1973:c563) (Client Quit)
19:35:00 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
19:35:21 × alp_ quits (~alp@user/alp) (Ping timeout: 248 seconds)
19:36:45 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 246 seconds)
19:37:56 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
19:41:19 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Quit: brandonh)
19:42:11 seydar joins (~seydar@154-27-113-252.starry-inc.net)
19:43:50 xkuru joins (~xkuru@user/xkuru)
19:46:51 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 256 seconds)
19:46:54 × jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
19:47:34 Floofy joins (~Floofeus@2a02:6b64:f147:0:186:8bed:1973:c563)
19:48:45 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
19:49:21 <acacia> hey, I want to write some tests for a web app and want to parse html to make sure the data embedded in it is as expected. What are my options? Any favorite package?
19:49:45 × califax quits (~califax@user/califx) (Remote host closed the connection)
19:50:16 acidjnk joins (~acidjnk@p200300d0c7049f54a49f92cbcc925d29.dip0.t-ipconnect.de)
19:51:02 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
19:51:33 <geekosaur> how much do you trust the web app to be html compliant? if "not very" then tagsoup is the only sane choice
19:51:47 <geekosaur> (there's a *lot* of invalid HTML out there)
19:52:56 califax joins (~califax@user/califx)
19:54:07 <acacia> yeah it should be html compliant
19:54:40 <acacia> that's not a problem, just looking for the easiest thing to use
19:54:50 <acacia> I'll take a look at tagsoup. thanks
19:55:18 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
19:58:26 ElVinzFR joins (~Guest20@2a01cb0c09c6d5008d17a4525baa2c11.ipv6.abo.wanadoo.fr)
19:58:46 × _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection)
19:59:08 alp_ joins (~alp@user/alp)
19:59:30 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 246 seconds)
19:59:58 <AdityaAlok[m]> Hello, everyone!... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/2f16d604c1b71ed6cb585c843567d0f15c6ee091)
20:00:23 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
20:00:49 <maerwald> tagsoup does not handle all invalid html well
20:02:05 <sm> what's wrong with good old isInfixOf
20:02:06 seydar joins (~seydar@154-27-113-252.starry-inc.net)
20:02:14 <geekosaur> AdityaAlok[m], you would need to link against a wrapper library, and probably need to find out why the indirection in the first place
20:03:30 <maerwald> AdityaAlok[m]: very likely you have to patch the library
20:03:37 <maerwald> and use capi instead of ccall
20:03:46 × alp_ quits (~alp@user/alp) (Client Quit)
20:03:50 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
20:04:12 <maerwald> also see https://www.haskell.org/ghc/blog/20210709-capi-usage.html
20:04:54 <maerwald> and https://github.com/haskell/unix/pull/110#issuecomment-613384845
20:04:58 <maerwald> as an example
20:04:59 <AdityaAlok[m]> maerwald: Thank you! I'll try it.
20:05:02 <maerwald> why ccall is bad
20:05:38 <maerwald> capi follows include indirections
20:06:54 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
20:08:46 bahamas joins (~lucian@84.232.140.158)
20:10:17 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
20:10:31 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
20:11:36 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
20:12:34 seydar joins (~seydar@154-27-113-252.starry-inc.net)
20:12:49 Hanicef joins (~gustaf@81-229-9-108-no92.tbcn.telia.com)
20:14:18 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 268 seconds)
20:15:24 × Nahra quits (~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
20:16:50 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
20:16:57 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
20:20:24 MajorBiscuit joins (~MajorBisc@83.22.32.182.ipv4.supernova.orange.pl)
20:22:00 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
20:22:02 ElVinzFR87 joins (~ElVinzFR@2a01cb0c09c6d5008d17a4525baa2c11.ipv6.abo.wanadoo.fr)
20:22:49 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 248 seconds)
20:22:51 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
20:22:56 × axeman quits (~quassel@2a02:8109:a380:78:9943:d00d:1e8f:83f2) (Ping timeout: 268 seconds)
20:23:20 × ElVinzFR87 quits (~ElVinzFR@2a01cb0c09c6d5008d17a4525baa2c11.ipv6.abo.wanadoo.fr) (Client Quit)
20:24:45 Lord_of_Life_ is now known as Lord_of_Life
20:26:08 seydar joins (~seydar@154-27-113-252.starry-inc.net)
20:26:41 <ElVinzFR> Beginner. I want to create a "loop" in which the user input a value, then a state is changed (for a toy example, an update in a component in a vector). I thought I could use a recursion in an IO monad, but apparently there is not tail recursion optimization for a monad. What would be the easiest way for me to code my problem ? This would be the
20:26:42 <ElVinzFR> starting point to code a game, so I need a cycle of input / state change.
20:27:14 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
20:29:42 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Remote host closed the connection)
20:30:42 <ElVinzFR> I am a bit lost, so even pointing to a tutorial, or a snippet online would be an improvement.
20:30:49 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
20:31:42 × cheater quits (~Username@user/cheater) (Ping timeout: 246 seconds)
20:32:22 cheater joins (~Username@user/cheater)
20:33:02 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
20:34:39 <c_wraith> ElVinzFR: the fact that combining IO actions with >> or >>= isn't tail recursive doesn't mean it isn't efficient. It is efficient.
20:38:11 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
20:38:30 × ElVinzFR quits (~Guest20@2a01cb0c09c6d5008d17a4525baa2c11.ipv6.abo.wanadoo.fr) (Ping timeout: 250 seconds)
20:40:45 <geekosaur> "tail recursion" is not what you think it is in Haskell.
20:41:25 <geekosaur> (in fact, everything is tail recursive at the graph reduction level)
20:41:32 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
20:42:14 × cosimone quits (~user@93-47-228-79.ip115.fastwebnet.it) (Remote host closed the connection)
20:43:11 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
20:44:41 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 248 seconds)
20:44:45 × coot quits (~coot@213.134.190.95) (Quit: coot)
20:45:08 acidsys is now known as crameleon
20:46:30 seydar joins (~seydar@154-27-113-252.starry-inc.net)
20:47:25 × cosimone quits (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20) (Remote host closed the connection)
20:47:42 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
20:48:13 euandreh joins (~euandreh@2804:14c:33:9fe5:943e:a08c:ffd0:5f66)
20:48:48 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Quit: brandonh)
20:49:24 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Remote host closed the connection)
20:49:52 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
20:51:05 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 248 seconds)
20:51:56 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
20:52:26 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
20:54:27 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
20:57:00 <monochrom> But tail recursion in IO such as "main = do { putStrLn "hello"; main }" works as expected.
20:57:59 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
21:01:28 <shachaf> Despite the main not being in tail position!
21:01:39 <c_wraith> well. it's not tail recursion. it's just efficient recursion
21:01:56 <shachaf> I think the analogy to tail recursion is pretty reasonable.
21:02:20 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
21:02:31 <c_wraith> IO happens to work out that way. Not every implementation of (>>=) is so cooperative with that analogy
21:03:08 <hpc> tail recursion is a special case of efficient recursion :P
21:03:14 geekosaur checks to see if you've scared the OP away yet :)
21:05:03 × dextaa quits (~dextaa@user/dextaa) (Ping timeout: 256 seconds)
21:08:20 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
21:08:25 <monochrom> https://mail.haskell.org/pipermail/haskell-cafe/2007-May/025591.html
21:08:30 lainon joins (lainon@gateway/vpn/protonvpn/lainon)
21:08:47 andrey joins (~andrey@p200300dbcf45140050bf2118fcf09947.dip0.t-ipconnect.de)
21:08:47 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
21:09:31 × zer0bitz quits (~zer0bitz@2001:2003:f444:8f00:94b5:609:c1e4:1399) (Ping timeout: 260 seconds)
21:09:35 × lainon quits (lainon@gateway/vpn/protonvpn/lainon) (Remote host closed the connection)
21:09:53 lainon joins (lainon@gateway/vpn/protonvpn/lainon)
21:13:10 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
21:14:27 machinedgod joins (~machinedg@24.105.81.50)
21:17:25 hpc . o O ( tail recursion is whenever the recursive call doesn't grow the call stack, and if you don't have a call stack there's no such thing as tail recursion )
21:18:05 <dolio> One of the problems is that people insist on talking about "recursion".
21:18:40 <monochrom> IMO renaming "call stack" to "evaluation stack" and concluding "I have no call stack" is just being smug.
21:19:01 <hpc> monochrom: well, let's consider that
21:19:15 <dolio> Also they don't study Scheme, I guess, which has all sorts of procedures that specify that various arguments are "in tail position" even though they are not in tail position from a very naive syntactic reading.
21:19:21 <hpc> on the evaluation stack, what kind of "to evaluate this, i need to evaluate that" doesn't grow the stack
21:19:42 <hpc> i think the only thing is <<loop>>
21:20:01 <hpc> but i could be wrong
21:20:10 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
21:21:07 <shachaf> In an imperative language turning tail recursion into a jump seems like a pretty pointless optimization, since you can just write "while (true) { }" around your function body to get the same effect.
21:21:27 <shachaf> Other tail calls are probably more useful (though I'd still rather have it be explicit than done as an optimization, usually).
21:22:18 <dolio> Well, that's easy. It's not an optimization. The compiler has to do it.
21:22:19 <hpc> from the evaluation stack's perspective, something like an infinite list isn't even recursion - there's a constructor in the way that breaks it up
21:22:43 <hpc> like a trampoline
21:22:59 <shachaf> Yes, that seems fine, I mean in a language like C where it's an optional optimization.
21:23:29 <dolio> Yeah, well, gaining an understanding of this from C compilers is not good.
21:23:52 bahamas joins (~lucian@84.232.140.158)
21:25:57 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Remote host closed the connection)
21:26:36 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
21:27:26 gehmehgeh joins (~user@user/gehmehgeh)
21:28:17 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
21:29:02 × MajorBiscuit quits (~MajorBisc@83.22.32.182.ipv4.supernova.orange.pl) (Ping timeout: 272 seconds)
21:32:46 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
21:39:10 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
21:39:24 × haskellberry quits (~haskellbe@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 268 seconds)
21:39:39 Pickchea joins (~private@user/pickchea)
21:41:02 × Hanicef quits (~gustaf@81-229-9-108-no92.tbcn.telia.com) (Quit: leaving)
21:43:15 × wyrd quits (~wyrd@gateway/tor-sasl/wyrd) (Ping timeout: 240 seconds)
21:43:36 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:45:28 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
21:45:40 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
21:46:53 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
21:47:11 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
21:47:17 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
21:47:34 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
21:47:41 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
21:47:57 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
21:48:05 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
21:48:20 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
21:48:28 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
21:48:41 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
21:48:49 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
21:50:16 wyrd joins (~wyrd@gateway/tor-sasl/wyrd)
21:51:44 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
21:53:13 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Ping timeout: 256 seconds)
21:54:40 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
21:54:54 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
21:57:58 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
21:58:07 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
22:00:08 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Quit: brandonh)
22:01:02 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
22:01:54 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
22:01:54 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
22:01:54 wroathe joins (~wroathe@user/wroathe)
22:02:42 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
22:06:28 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
22:08:51 seydar joins (~seydar@154-27-113-252.starry-inc.net)
22:08:58 flinner joins (~flinner@user/flinner)
22:12:59 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
22:13:20 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
22:14:17 × shailangsa quits (~shailangs@host86-186-142-63.range86-186.btcentralplus.com) ()
22:19:28 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
22:25:25 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
22:26:24 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
22:27:55 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
22:32:07 × acidjnk quits (~acidjnk@p200300d0c7049f54a49f92cbcc925d29.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
22:32:48 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
22:34:01 × raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
22:40:20 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
22:46:33 × flinner quits (~flinner@user/flinner) (Ping timeout: 260 seconds)
22:48:54 × lainon quits (lainon@gateway/vpn/protonvpn/lainon) (Ping timeout: 246 seconds)
22:53:16 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
22:55:46 shailangsa joins (~shailangs@host86-186-142-63.range86-186.btcentralplus.com)
22:55:52 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
23:02:56 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
23:03:07 justChili is now known as justErkel
23:05:31 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:11:28 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
23:13:57 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:15:09 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
23:15:25 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:15:42 chenqisu1 joins (~chenqisu1@183.217.200.239)
23:16:35 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
23:17:46 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
23:21:52 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
23:23:27 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 260 seconds)
23:24:51 × raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds)
23:26:42 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 246 seconds)
23:27:57 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
23:33:32 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
23:34:59 seydar joins (~seydar@154-27-113-252.starry-inc.net)
23:36:33 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Read error: Connection reset by peer)
23:36:36 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
23:40:16 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Ping timeout: 268 seconds)
23:42:33 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
23:47:00 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
23:47:01 mvk joins (~mvk@2607:fea8:5ce3:8500::9d5a)
23:52:35 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
23:52:56 floof joins (~floof@2a02:6b64:f147:0:186:8bed:1973:c563)
23:52:58 yauhsien joins (~yauhsien@61-231-57-22.dynamic-ip.hinet.net)
23:54:59 seydar joins (~seydar@154-27-113-252.starry-inc.net)
23:57:24 × floof quits (~floof@2a02:6b64:f147:0:186:8bed:1973:c563) (Ping timeout: 250 seconds)
23:58:17 × yauhsien quits (~yauhsien@61-231-57-22.dynamic-ip.hinet.net) (Ping timeout: 248 seconds)
23:59:19 × Batzy quits (~quassel@user/batzy) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)

All times are in UTC on 2022-04-10.