Home liberachat/#haskell: Logs Calendar

Logs on 2023-02-05 (liberachat/#haskell)

00:01:16 <sm> https://leanpub.com/production-haskell has a section on it ("17.1 On Debug.Trace"). Excellent!
00:02:07 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
00:02:57 <sm> darkling: slightly chaotic but useful trace helpers: https://hackage.haskell.org/package/hledger-lib-1.28/docs/Hledger-Utils-Debug.html
00:03:55 <sm> chaotic good
00:04:01 × danza quits (~francesco@151.35.121.27) (Read error: Connection reset by peer)
00:06:45 × tessier quits (~treed@98.171.210.130) (Ping timeout: 252 seconds)
00:07:12 <int-e> monochrom: actually do we know whether the pattern is dons' or dcoutts'?
00:07:48 <monochrom> Oh! I don't know, maybe dcoutts instead.
00:08:28 tessier joins (~treed@mobile-166-170-46-81.mycingular.net)
00:12:51 opticblast joins (~Thunderbi@172.58.84.5)
00:12:54 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
00:20:38 danza joins (~francesco@ge-19-98-82.service.infuturo.it)
00:22:38 thongpv joins (~thongpv87@2402:9d80:3bd:3161:2cf6:60a:386f:8e18)
00:26:26 mvk joins (~mvk@2607:fea8:5caa:ac00::f944)
00:26:31 × mechap quits (~mechap@user/mechap) (Quit: WeeChat 3.8)
00:26:55 × bhall quits (~brunohall@212-8-253-140.hosted-by-worldstream.net) (Ping timeout: 252 seconds)
00:27:11 × tessier quits (~treed@mobile-166-170-46-81.mycingular.net) (Ping timeout: 248 seconds)
00:27:34 bhall joins (~brunohall@195.147.207.136)
00:38:35 enthropy joins (~enthropy@66.7.90.250)
00:43:11 × acidjnk quits (~acidjnk@p200300d6e715c402e54e919fb479e010.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
00:45:39 azimut joins (~azimut@gateway/tor-sasl/azimut)
00:54:31 <Hammdist> data Thing = Thing [Thing] how do I derive Arbitrary for it
00:54:46 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
00:54:47 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
00:54:47 wroathe joins (~wroathe@user/wroathe)
00:55:40 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
00:59:20 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 255 seconds)
01:03:15 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:09:03 czy joins (~user@host-140-28.ilcub310.champaign.il.us.clients.pavlovmedia.net)
01:10:31 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:10:52 <Hammdist> looks like arbitrary = Thing <$> arbitrary works
01:13:27 tessier joins (~treed@mobile-166-170-47-178.mycingular.net)
01:13:47 <Hammdist> https://paste.ee/p/4NRL5 two questions (A) why does the input string to ptwr sometimes end in ")" and (B) why does quickcheck hang?
01:15:13 kassouni joins (~kassouni@2601:646:400:68b0:71bd:7fae:fa0b:cf56)
01:16:20 ddellacosta joins (~ddellacos@143.244.47.100)
01:16:38 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:19:13 × enthropy quits (~enthropy@66.7.90.250) (Ping timeout: 260 seconds)
01:22:19 <Hammdist> it seems the extra ")" can be eliminated by passing s through show
01:22:29 <Hammdist> not sure what that's about though
01:22:44 <Hammdist> the hanging might be due to generation of excessively large things
01:23:29 <geekosaur> monochrom has a story there, yes
01:24:10 × nunggu_ quits (~q@user/nunggu) (Remote host closed the connection)
01:24:10 <geekosaur> there's a decent chance that it's doing 50/50 on choice of building your tree nodes, which if you do the math leads to infinite trees
01:26:22 nunggu_ joins (~q@user/nunggu)
01:26:38 <Hammdist> at this point I'm not sure quickcheck is saving any time over just writing up some test cases
01:27:46 <sm> 👍️
01:28:53 × segfaultfizzbuzz quits (~segfaultf@108.211.201.53) (Ping timeout: 252 seconds)
01:30:28 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 268 seconds)
01:34:13 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
01:38:33 <c_wraith> I found myself using quickcheck in a way I don't see anyone else talk about. When I was testing a data structure, instead of generating values of the structure with it, I generated sequences of modifications. Then I'd test to ensure that all required properties held after each modification.
01:39:03 <c_wraith> But the core part of it was that I wasn't generating the data structure itself
01:40:31 × kassouni quits (~kassouni@2601:646:400:68b0:71bd:7fae:fa0b:cf56) (Quit: My Mac has gone to sleep. ZZZzzz…)
01:45:25 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 252 seconds)
01:46:31 × ddellacosta quits (~ddellacos@143.244.47.100) (Ping timeout: 252 seconds)
01:48:39 ddellacosta joins (~ddellacos@146.70.166.100)
01:51:16 <sm> also note quickcheck has multiple competitors which claim to be easier to use in some ways
01:51:16 freeside joins (~mengwong@103.252.202.170)
01:56:54 × mvk quits (~mvk@2607:fea8:5caa:ac00::f944) (Quit: Going elsewhere)
02:04:11 kassouni joins (~kassouni@2601:646:400:68b0:71bd:7fae:fa0b:cf56)
02:06:20 × kassouni quits (~kassouni@2601:646:400:68b0:71bd:7fae:fa0b:cf56) (Client Quit)
02:07:38 <segfaultfizzbuzz> i want gptcheck
02:13:29 <int-e> . o O ( "Your code looks really excellent today. I found no single bug, except for the fact that 2 + 2 = 5." )
02:13:50 <segfaultfizzbuzz> haha you joke but making up variations on realistic inputs could be pretty great
02:20:48 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 248 seconds)
02:21:59 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
02:23:29 × czy quits (~user@host-140-28.ilcub310.champaign.il.us.clients.pavlovmedia.net) (Remote host closed the connection)
02:25:43 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 252 seconds)
02:32:36 cheater_ joins (~Username@user/cheater)
02:33:44 cheater__ joins (~Username@user/cheater)
02:34:14 kassouni joins (~kassouni@2601:646:400:68b0:71bd:7fae:fa0b:cf56)
02:34:35 <sclv> i think many of the competitors are not about ease of use but specifying different sorts of search -- i.e. small and exhaustive inputs, etc
02:35:51 × cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds)
02:36:00 cheater__ is now known as cheater
02:37:05 × cheater_ quits (~Username@user/cheater) (Ping timeout: 252 seconds)
02:38:10 <sclv> vis a vis generating infinite values, i'd take a look at writing a custom generator that makes use of size, as in https://hackage.haskell.org/package/QuickCheck-2.14.2/docs/Test-QuickCheck-Gen.html#v:getSize
02:39:54 <sclv> or if you're generating a list, it actually already does, and all you really need to do is add a resize or scale to each call to reduce the size as you recur.
02:40:36 <sclv> or use "frequency" to give extra weight to the empty list :-)
02:40:47 × theproffesor quits (~theproffe@user/theproffesor) (Remote host closed the connection)
02:40:52 the_proffesor joins (~theproffe@user/theproffesor)
02:40:59 <sclv> but that's only probabilistically terminating, while resizing is definitively so
02:45:05 theproffesor joins (~theproffe@2601:282:8800:3f30::d2a1)
02:45:05 × theproffesor quits (~theproffe@2601:282:8800:3f30::d2a1) (Changing host)
02:45:05 theproffesor joins (~theproffe@user/theproffesor)
02:46:15 × the_proffesor quits (~theproffe@user/theproffesor) (Ping timeout: 260 seconds)
02:47:43 × Midjak2 quits (~Midjak@82.66.147.146) (Read error: Connection reset by peer)
02:48:31 × xff0x quits (~xff0x@2405:6580:b080:900:e7c5:c7:8d46:6e81) (Ping timeout: 248 seconds)
02:48:42 Midjak2 joins (~Midjak@82.66.147.146)
02:48:55 xff0x joins (~xff0x@178.255.149.135)
02:49:45 × theproffesor quits (~theproffe@user/theproffesor) (Ping timeout: 260 seconds)
02:50:40 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
02:51:43 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 248 seconds)
03:02:25 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Remote host closed the connection)
03:03:28 × jero98772 quits (~jero98772@2800:484:1d80:d8ce:9815:cfda:3661:17bb) (Remote host closed the connection)
03:05:47 freeside joins (~mengwong@103.252.202.170)
03:06:16 × tessier quits (~treed@mobile-166-170-47-178.mycingular.net) (Ping timeout: 252 seconds)
03:07:31 × td_ quits (~td@i53870930.versanet.de) (Ping timeout: 252 seconds)
03:07:57 tessier joins (~treed@98.171.210.130)
03:09:22 td_ joins (~td@i53870931.versanet.de)
03:10:27 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 252 seconds)
03:12:26 jakalx joins (~jakalx@base.jakalx.net)
03:14:21 × segfaultfizzbuzz quits (~segfaultf@108.211.201.53) (Quit: segfaultfizzbuzz)
03:21:28 × xff0x quits (~xff0x@178.255.149.135) (Ping timeout: 268 seconds)
03:22:07 jakalx parts (~jakalx@base.jakalx.net) ()
03:22:09 johnw_ joins (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net)
03:23:10 xff0x joins (~xff0x@2405:6580:b080:900:a4d4:2a1:9e67:f42c)
03:23:11 jakalx joins (~jakalx@base.jakalx.net)
03:23:35 × johnw quits (~johnw@2600:1700:cf00:db0:44e6:2d71:3c2a:1669) (Ping timeout: 264 seconds)
03:23:40 × johnw_ quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Client Quit)
03:23:42 freeside joins (~mengwong@103.252.202.170)
03:26:43 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
03:30:59 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds)
03:36:50 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
03:36:50 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
03:36:50 finn_elija is now known as FinnElija
03:42:44 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:4e8c::) (Quit: The Lounge - https://thelounge.chat)
03:44:07 terrorjack joins (~terrorjac@2a01:4f8:1c1e:4e8c::)
03:53:02 × thongpv quits (~thongpv87@2402:9d80:3bd:3161:2cf6:60a:386f:8e18) (Ping timeout: 255 seconds)
04:04:17 × danza quits (~francesco@ge-19-98-82.service.infuturo.it) (Read error: Connection reset by peer)
04:12:39 × shapr quits (~user@68.54.166.125) (Ping timeout: 268 seconds)
04:12:55 thongpv joins (~thongpv87@2402:9d80:3bd:3161:aa40:59b3:7af8:2619)
04:20:46 danza joins (~francesco@151.43.49.100)
04:26:07 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 248 seconds)
04:29:30 × thongpv quits (~thongpv87@2402:9d80:3bd:3161:aa40:59b3:7af8:2619) (Ping timeout: 260 seconds)
04:30:44 freeside joins (~mengwong@103.252.202.170)
04:31:40 thongpv joins (~thongpv87@123.31.161.115)
04:39:55 × bhall quits (~brunohall@195.147.207.136) (Ping timeout: 252 seconds)
04:41:08 bhall joins (~brunohall@195.147.207.136)
04:47:19 × kassouni quits (~kassouni@2601:646:400:68b0:71bd:7fae:fa0b:cf56) (Quit: My Mac has gone to sleep. ZZZzzz…)
04:50:07 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds)
04:57:51 × cheater quits (~Username@user/cheater) (Read error: Connection reset by peer)
04:58:37 cheater joins (~Username@user/cheater)
05:00:21 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
05:00:40 qhong_ joins (~qhong@dn160vrd000d6kpg009l6c0000ep.stanford.edu)
05:03:49 × qhong quits (~qhong@rescomp-21-400677.stanford.edu) (Ping timeout: 252 seconds)
05:06:29 cheater_ joins (~Username@user/cheater)
05:10:01 × cheater quits (~Username@user/cheater) (Ping timeout: 252 seconds)
05:10:07 cheater_ is now known as cheater
05:11:44 theproffesor joins (~theproffe@2601:282:8800:3f30::96d7)
05:11:44 × theproffesor quits (~theproffe@2601:282:8800:3f30::96d7) (Changing host)
05:11:44 theproffesor joins (~theproffe@user/theproffesor)
05:26:53 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
05:33:30 × Me-me quits (~me-me@2602:ff16:3:0:1:dc:beef:d00d) (Remote host closed the connection)
05:33:51 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 248 seconds)
05:33:52 Me-me joins (~me-me@2602:ff16:3:0:1:dc:beef:d00d)
05:38:11 AlexZenon_2 joins (~alzenon@178.34.160.79)
05:38:13 cheater_ joins (~Username@user/cheater)
05:38:30 × AlexZenon quits (~alzenon@178.34.160.79) (Read error: Connection reset by peer)
05:40:25 × cheater quits (~Username@user/cheater) (Ping timeout: 248 seconds)
05:40:30 cheater_ is now known as cheater
05:43:23 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 255 seconds)
05:43:38 × use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Remote host closed the connection)
05:43:56 cheater_ joins (~Username@user/cheater)
05:43:58 use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf)
05:44:34 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
05:44:47 cheater__ joins (~Username@user/cheater)
05:45:51 × cheater__ quits (~Username@user/cheater) (Read error: Connection reset by peer)
05:46:05 × freeside quits (~mengwong@103.252.202.170) (Quit: leaving)
05:46:44 cheater__ joins (~Username@user/cheater)
05:47:54 × cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds)
05:48:00 cheater__ is now known as cheater
05:48:31 × cheater_ quits (~Username@user/cheater) (Ping timeout: 252 seconds)
05:48:51 varoo joins (~varoo@117.203.246.41)
06:13:55 × nehsou^ quits (~nehsou@c-24-30-76-89.hsd1.ga.comcast.net) (Remote host closed the connection)
06:19:47 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
06:25:25 <talismanick> Say I have a record type with 2 fields, Stmt{stmtTxt, stmtVar}
06:25:42 <talismanick> How can I fmap it into another statment to assign in lexicographic order?
06:25:49 <talismanick> something shorter than `(\(str, lst) -> Stmt{stmtText = str, stmtExVar = lst}`
06:26:29 <talismanick> into another container*
06:27:20 <Maxdamantus> looks like `uncurry Stmt` to me.
06:27:50 <talismanick> thanks, it works
06:27:55 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
06:31:44 Feuermagier joins (~Feuermagi@user/feuermagier)
06:33:35 Feuermagier_ joins (~Feuermagi@user/feuermagier)
06:33:54 × Feuermagier_ quits (~Feuermagi@user/feuermagier) (Remote host closed the connection)
06:41:49 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
06:42:20 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
06:44:50 × use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Remote host closed the connection)
06:45:09 use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf)
06:47:38 × Guest75 quits (~Guest75@178.141.147.162) (Ping timeout: 260 seconds)
06:49:42 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Quit: Leaving)
07:00:25 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:f424:933a:fcd6:76ad) (Remote host closed the connection)
07:01:52 × dtman34 quits (~dtman34@2601:447:d000:93c9:187f:7b7b:3012:4a8d) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in)
07:02:13 dtman34 joins (~dtman34@2601:447:d000:93c9:b289:3f01:2da:f4d2)
07:04:34 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
07:13:32 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Read error: Connection reset by peer)
07:13:47 emmanuelux joins (~emmanuelu@user/emmanuelux)
07:20:07 × thongpv quits (~thongpv87@123.31.161.115) (Ping timeout: 268 seconds)
07:22:40 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Remote host closed the connection)
07:22:45 × opticblast quits (~Thunderbi@172.58.84.5) (Ping timeout: 260 seconds)
07:25:55 thongpv joins (~thongpv87@2402:9d80:32b:587a:37cd:3b62:f679:1d5c)
07:26:35 × ggVGc quits (~ggVGc@a.lowtech.earth) (Ping timeout: 264 seconds)
07:26:43 kassouni joins (~kassouni@2601:646:400:68b0:b177:d8a6:e682:c833)
07:27:34 johnw joins (~johnw@2600:1700:cf00:db0:f5ae:ed45:6e33:9a11)
07:27:56 thongpv87 joins (~thongpv87@2402:9d80:36b:e50f:b44a:419:3520:b749)
07:28:18 × thongpv quits (~thongpv87@2402:9d80:32b:587a:37cd:3b62:f679:1d5c) (Read error: Connection reset by peer)
07:30:07 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
07:30:32 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
07:46:07 × emergence quits (emergence@2607:5300:60:5910:dcad:beff:feef:5bc) (Quit: emergence)
07:47:19 emergence joins (thelounge@2607:5300:60:5910:dcad:beff:feef:5bc)
07:50:39 takuan joins (~takuan@178-116-218-225.access.telenet.be)
07:52:21 × thongpv87 quits (~thongpv87@2402:9d80:36b:e50f:b44a:419:3520:b749) (Read error: Connection reset by peer)
08:03:14 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
08:07:36 × danza quits (~francesco@151.43.49.100) (Ping timeout: 268 seconds)
08:11:00 <mauke> @unpl uncurry Stmt
08:11:01 <lambdabot> uncurry Stmt
08:12:48 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
08:20:24 danza joins (~francesco@151.37.135.189)
08:21:01 × dolio quits (~dolio@130.44.134.54) (Ping timeout: 252 seconds)
08:22:01 × Feuermagier quits (~Feuermagi@user/feuermagier) (Quit: Leaving)
08:28:09 dolio joins (~dolio@130.44.134.54)
08:34:30 azimut_ joins (~azimut@gateway/tor-sasl/azimut)
08:34:36 Tuplanolla joins (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi)
08:34:50 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
08:35:11 × kassouni quits (~kassouni@2601:646:400:68b0:b177:d8a6:e682:c833) (Ping timeout: 255 seconds)
08:36:11 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
08:39:03 [exa] joins (~exa@user/exa/x-3587197)
08:39:36 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
08:44:05 <Athas> Man, this maintenance stuff is hard.
08:50:03 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
08:52:53 lottaquestions joins (~nick@104.221.24.83)
08:53:08 × lottaquestions quits (~nick@104.221.24.83) (Client Quit)
08:53:32 lottaquestions joins (~nick@104.221.24.83)
08:55:42 × lottaquestions_ quits (~nick@104.221.24.83) (Ping timeout: 268 seconds)
08:59:11 <tomsmeding> Athas: what are you maintaining
09:00:06 × sibnull[m] quits (~sibnullma@2001:470:69fc:105::1:1291) (Quit: You have been kicked for being idle)
09:08:47 titibandit1 joins (~titibandi@xdsl-85-197-0-96.nc.de)
09:13:59 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
09:15:40 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
09:22:40 mechap joins (~mechap@user/mechap)
09:22:55 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 260 seconds)
09:23:27 <int-e> composure?
09:28:01 × anpad quits (~pandeyan@user/anpad) (Read error: Connection reset by peer)
09:30:23 anpad joins (~pandeyan@user/anpad)
09:30:56 × titibandit1 quits (~titibandi@xdsl-85-197-0-96.nc.de) (Quit: Leaving.)
09:34:08 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Remote host closed the connection)
09:36:14 acidjnk joins (~acidjnk@p200300d6e715c40294afa8ac0eb9b786.dip0.t-ipconnect.de)
09:40:34 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
09:44:21 thyriaen joins (~thyriaen@2a01:aea0:dd4:5074:6245:cbff:fe9f:48b1)
09:52:12 gurkenglas joins (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de)
09:54:04 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
09:57:33 jakalx parts (~jakalx@base.jakalx.net) ()
10:04:01 × thyriaen quits (~thyriaen@2a01:aea0:dd4:5074:6245:cbff:fe9f:48b1) (Remote host closed the connection)
10:17:58 × Jon quits (jon@dow.land) (Read error: Connection reset by peer)
10:18:08 × talismanick quits (~talismani@2601:200:c181:4c40::1be2) (Ping timeout: 248 seconds)
10:18:12 Guest75 joins (~Guest75@178.141.147.162)
10:20:09 titibandit1 joins (~titibandi@85.197.0.96)
10:26:49 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
10:27:15 jakalx joins (~jakalx@base.jakalx.net)
10:27:50 ec joins (~ec@gateway/tor-sasl/ec)
10:29:26 × gurkenglas quits (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de) (Ping timeout: 268 seconds)
10:29:58 × tabaqui quits (~root@88.231.63.172) (Quit: WeeChat 3.7.1)
10:30:46 gurkenglas joins (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de)
10:31:20 thongpv87 joins (~thongpv87@123.28.243.28)
10:31:45 Jon joins (jon@dow.land)
10:34:11 × titibandit1 quits (~titibandi@85.197.0.96) (Quit: Leaving.)
10:34:37 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
10:34:54 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
10:35:02 bitdex_ joins (~bitdex@gateway/tor-sasl/bitdex)
10:36:20 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
10:37:16 × varoo quits (~varoo@117.203.246.41) (Ping timeout: 252 seconds)
10:39:20 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Ping timeout: 260 seconds)
10:46:39 × rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in)
10:48:13 Guest8275 joins (~Guest82@103.95.81.128)
10:48:47 rembo10 joins (~rembo10@main.remulis.com)
10:48:59 mc47 joins (~mc47@xmonad/TheMC47)
10:49:28 <Guest8275> vHey Everyone , My name is Utsav from india currently pursuing B.tech wants to contribute in Haskell ,Please anyone tell me how to contribute in this..
10:53:05 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Ping timeout: 246 seconds)
10:54:26 coot joins (~coot@213.134.171.3)
10:54:47 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
10:56:36 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
10:56:50 azimut joins (~azimut@gateway/tor-sasl/azimut)
10:57:40 coot_ joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba)
11:00:08 × coot quits (~coot@213.134.171.3) (Ping timeout: 246 seconds)
11:00:08 coot_ is now known as coot
11:07:00 × Guest8275 quits (~Guest82@103.95.81.128) (Quit: Client closed)
11:20:24 × bhall quits (~brunohall@195.147.207.136) (Ping timeout: 260 seconds)
11:23:01 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
11:26:56 cheater_ joins (~Username@user/cheater)
11:30:42 × cheater quits (~Username@user/cheater) (Ping timeout: 255 seconds)
11:30:43 cheater_ is now known as cheater
11:36:17 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
11:36:38 × bitdex_ quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
11:42:19 × danza quits (~francesco@151.37.135.189) (Ping timeout: 252 seconds)
11:46:53 bhall joins (~brunohall@195.147.207.136)
11:49:59 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
11:50:18 thongpv joins (~thongpv87@2402:9d80:327:1fe2:2c6c:9e9b:7d9:8af2)
11:52:04 × thongpv87 quits (~thongpv87@123.28.243.28) (Ping timeout: 268 seconds)
11:54:49 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds)
11:59:08 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 255 seconds)
12:01:45 thyriaen joins (~thyriaen@2a01:aea0:dd4:5074:6245:cbff:fe9f:48b1)
12:02:01 gmg joins (~user@user/gehmehgeh)
12:15:27 mastarija joins (~mastarija@2a05:4f46:e03:6000:bfa0:5800:8a6e:83cb)
12:16:52 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
12:17:32 gmg joins (~user@user/gehmehgeh)
12:21:05 × coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot)
12:22:16 varoo joins (~varoo@117.203.246.41)
12:26:30 varoo_ joins (~varoo@117.203.246.41)
12:28:13 Kuttenbrunzer joins (~Kuttenbru@2a02:8108:8b80:1d48::fda2)
12:29:15 × varoo quits (~varoo@117.203.246.41) (Ping timeout: 252 seconds)
12:32:18 × varoo_ quits (~varoo@117.203.246.41) (Quit: Probably got disconnect dure to unstable internet)
12:32:35 × Kuttenbrunzer quits (~Kuttenbru@2a02:8108:8b80:1d48::fda2) (Client Quit)
12:40:48 danza joins (~francesco@151.35.196.131)
12:41:13 × thongpv quits (~thongpv87@2402:9d80:327:1fe2:2c6c:9e9b:7d9:8af2) (Read error: Connection reset by peer)
12:55:44 thongpv joins (~thongpv87@123.28.243.28)
12:57:16 × acidjnk quits (~acidjnk@p200300d6e715c40294afa8ac0eb9b786.dip0.t-ipconnect.de) (Quit: Leaving)
12:58:12 × phma quits (~phma@host-67-44-208-10.hnremote.net) (Read error: Connection reset by peer)
12:58:47 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
12:59:07 phma joins (~phma@2001:5b0:210b:b598:68f:2ac5:62a2:9423)
13:07:05 <maerwald[m]> Guest8275: the language?
13:09:14 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
13:10:19 cheater_ joins (~Username@user/cheater)
13:10:41 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 255 seconds)
13:11:33 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
13:11:54 azure_vermilion joins (~azure_ver@23.106.59.29)
13:12:09 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
13:12:10 _leo___ joins (~emmanuelu@user/emmanuelux)
13:12:44 × cheater quits (~Username@user/cheater) (Ping timeout: 246 seconds)
13:12:44 cheater_ is now known as cheater
13:15:05 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Ping timeout: 252 seconds)
13:15:31 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 252 seconds)
13:20:35 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 255 seconds)
13:20:35 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 255 seconds)
13:21:19 jpds joins (~jpds@gateway/tor-sasl/jpds)
13:21:27 stiell joins (~stiell@gateway/tor-sasl/stiell)
13:22:17 × sudden quits (~cat@user/sudden) (Ping timeout: 265 seconds)
13:22:44 sudden joins (~cat@user/sudden)
13:31:45 × vgtw quits (~vgtw@user/vgtw) (Quit: ZNC - https://znc.in)
13:35:37 × bhall quits (~brunohall@195.147.207.136) (Ping timeout: 252 seconds)
13:36:52 bhall joins (~brunohall@85.255.236.5)
13:40:04 vgtw joins (~vgtw@user/vgtw)
13:43:58 <stefan-_> when I run `stack test/run` all source files will be re-compiled most of the time, even if only 1 file was changed
13:44:02 <stefan-_> I use intellij-haskell as IDE
13:44:19 <stefan-_> any ideas how the recompilation can be avoided?
13:48:33 <byorgey> stefan-_: see https://github.com/commercialhaskell/stack/issues/4977 for some workarounds
13:50:28 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
13:56:55 <stefan-_> byorgey, thanks, I also found this: https://github.com/rikvdkleij/intellij-haskell/issues/475
14:01:40 Kuttenbrunzer joins (~Kuttenbru@2a02:8108:8b80:1d48::fda2)
14:14:04 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
14:14:30 thongpv87 joins (~thongpv87@2402:9d80:327:1fe2:f13:e44c:defe:3212)
14:14:42 jpds joins (~jpds@gateway/tor-sasl/jpds)
14:15:20 × thongpv87 quits (~thongpv87@2402:9d80:327:1fe2:f13:e44c:defe:3212) (Remote host closed the connection)
14:15:59 thongpv87 joins (~thongpv87@2402:9d80:327:1fe2:f13:e44c:defe:3212)
14:16:59 × thongpv quits (~thongpv87@123.28.243.28) (Ping timeout: 268 seconds)
14:18:39 emmanuelux joins (~emmanuelu@user/emmanuelux)
14:21:03 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
14:21:48 × _leo___ quits (~emmanuelu@user/emmanuelux) (Ping timeout: 252 seconds)
14:21:56 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
14:24:43 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 248 seconds)
14:25:49 × Kuttenbrunzer quits (~Kuttenbru@2a02:8108:8b80:1d48::fda2) (Remote host closed the connection)
14:29:43 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:32:09 × bhall quits (~brunohall@85.255.236.5) (Read error: Connection reset by peer)
14:32:25 bhall joins (~brunohall@195.147.207.136)
14:34:44 <Hammdist> is Data.List.Index.imap the recommended way to map with index?
14:37:09 <Hammdist> Data.List.Index doesn't seem to be installed by default
14:39:20 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 255 seconds)
14:41:20 ec joins (~ec@gateway/tor-sasl/ec)
14:42:56 <mniip> Hammdist, zipping with [0..] is the standard way in the code bases I've seen
14:43:24 <mniip> Or you might want to zip with [1..]!
14:43:49 freeside joins (~mengwong@103.252.202.170)
14:43:50 <mniip> One of those cases where factoring out a function is not a particularly great idea
14:45:39 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
14:51:21 <yushyin> or indexed functor from one of the lens libraries
15:00:50 jakalx joins (~jakalx@base.jakalx.net)
15:09:59 <tomsmeding> going from `map f l` to `zipWith f [0..] l` is such an easy change, and the resulting code has such obvious meaning, that indeed factoring that out into a function would only be worth it if in a particular piece of code you happen to need this pattern _many_ times
15:16:45 jakalx parts (~jakalx@base.jakalx.net) ()
15:23:41 × danza quits (~francesco@151.35.196.131) (Ping timeout: 256 seconds)
15:24:33 × son0p quits (~ff@181.136.122.143) (Remote host closed the connection)
15:27:27 stef204 joins (~stef204@user/stef204)
15:30:01 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
15:30:04 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
15:30:25 [Leary] joins (~Leary]@user/Leary/x-0910699)
15:31:02 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
15:33:23 jakalx joins (~jakalx@base.jakalx.net)
15:35:42 son0p joins (~ff@181.136.122.143)
15:38:29 danza joins (~francesco@151.43.87.223)
15:39:02 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
15:39:30 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
15:39:38 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
15:43:35 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Ping timeout: 255 seconds)
15:43:50 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
15:44:19 AlexZenon_2 is now known as AlexZenon
15:44:47 L29Ah joins (~L29Ah@wikipedia/L29Ah)
15:56:34 × stef204 quits (~stef204@user/stef204) (Quit: WeeChat 3.8)
15:59:01 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
15:59:28 × gnyeki quits (~gnyeki@user/gnyeki) (Quit: leaving)
16:02:43 jero98772 joins (~jero98772@2800:484:1d80:d8ce:9815:cfda:3661:17bb)
16:03:02 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
16:05:04 gnyeki joins (~gnyeki@user/gnyeki)
16:05:20 azimut joins (~azimut@gateway/tor-sasl/azimut)
16:07:53 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
16:08:27 × Ranhir quits (~Ranhir@157.97.53.139) (Read error: Connection reset by peer)
16:10:11 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
16:10:37 OscarZ joins (~oscarz@85.194.207.103)
16:11:48 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
16:16:59 × nunggu_ quits (~q@user/nunggu) (Ping timeout: 255 seconds)
16:17:40 Ranhir joins (~Ranhir@157.97.53.139)
16:19:25 nunggu_ joins (~q@user/nunggu)
16:21:54 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
16:22:13 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
16:25:59 × meooow_ quits (~meooow@2400:6180:100:d0::ad9:e001) (Remote host closed the connection)
16:26:23 meooow joins (~meooow@165.232.184.169)
16:30:28 × mastarija quits (~mastarija@2a05:4f46:e03:6000:bfa0:5800:8a6e:83cb) (Quit: WeeChat 3.7.1)
16:33:49 coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba)
16:34:13 × jero98772 quits (~jero98772@2800:484:1d80:d8ce:9815:cfda:3661:17bb) (Ping timeout: 252 seconds)
16:34:47 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
16:35:53 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 255 seconds)
16:38:45 ec joins (~ec@gateway/tor-sasl/ec)
16:39:56 Inst_ joins (~Inst@2601:6c4:4081:54f0:d621:5cdd:9051:c240)
16:41:04 Feuermagier joins (~Feuermagi@user/feuermagier)
16:41:31 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 252 seconds)
16:42:33 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
16:42:59 × Inst quits (~Inst@2601:6c4:4081:54f0:d621:5cdd:9051:c240) (Ping timeout: 252 seconds)
16:43:18 freeside joins (~mengwong@103.252.202.170)
16:47:27 jero98772 joins (~jero98772@2800:484:1d80:d8ce:9815:cfda:3661:17bb)
16:47:59 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 260 seconds)
16:49:19 freeside joins (~mengwong@103.252.202.170)
16:54:03 × freeside quits (~mengwong@103.252.202.170) (Ping timeout: 260 seconds)
16:55:04 freeside joins (~mengwong@103.252.202.170)
16:58:02 Bocaneri joins (~sauvin@user/Sauvin)
16:58:26 Bocaneri is now known as Guest419
17:00:35 × Sauvin quits (~sauvin@user/Sauvin) (Ping timeout: 252 seconds)
17:00:40 × phma quits (~phma@2001:5b0:210b:b598:68f:2ac5:62a2:9423) (Read error: Connection reset by peer)
17:01:17 Guest419 is now known as SenFache
17:01:22 phma joins (~phma@host-67-44-208-213.hnremote.net)
17:05:00 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
17:05:08 <segfaultfizzbuzz> https://www.pcmag.com/news/chatgpt-passes-google-coding-interview-for-level-3-engineer-with-183k-salary
17:05:32 <segfaultfizzbuzz> which soup kitchens does #haskell regard as the best?
17:06:05 <L29Ah> borscht
17:06:13 <[exa]> the ones operated by chatgpt.
17:06:35 <Rembane> I wonder how good ChatGPT would do as a level three engineer at Google.
17:06:41 <[exa]> oh man I can't wait for the time when the programmers will finally be obsolete
17:07:07 <Rembane> [exa]: What are you gonna do when that happens?
17:07:15 <[exa]> operate the soup kitchen
17:07:35 <L29Ah> replace your obsolete programmers with Microsoft® AI© CodeWorkers™ now!
17:08:01 × coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot)
17:08:43 <[exa]> like, AFAIK a pretty big chunk of google's workforce is dealing with&supporting people who invest in ads, and the chatgpt may save millions there
17:08:45 oldsk00l joins (~znc@ec2-18-133-247-9.eu-west-2.compute.amazonaws.com)
17:09:13 <Rembane> That sounds good
17:09:21 <segfaultfizzbuzz> L29Ah: type error: not a soup kitchen
17:10:01 <L29Ah> segfaultfizzbuzz: ENOENT
17:10:03 <segfaultfizzbuzz> [exa]: lol
17:10:18 <[exa]> kinda reminds me of birchpunk btw, I wonder what these guys do now
17:10:26 <segfaultfizzbuzz> birchpunk?
17:10:56 <[exa]> search it on youtube, it's quite eastern but good
17:13:18 <segfaultfizzbuzz> i mean tbh i am not sure i am a better programmer than chatgpt
17:13:29 <[exa]> (OT danger: here https://www.youtube.com/watch?v=RCH2PTj93fs )
17:18:20 <Hammdist> (x where x = 7) <-- why doesn't this work? what is the syntax for where?
17:18:32 <segfaultfizzbuzz> [exa]: hedge computing is funny but unfortunately aside from that i didn't really find that funny :-/
17:19:13 <segfaultfizzbuzz> [exa]: you owe me the completion of a tutorial on how to make a graph reducer, unfortunately i am a little too busy at the moment to follow through on that
17:19:46 <[exa]> segfaultfizzbuzz: ah yeah, well I'm around, feel free to ask
17:20:40 <segfaultfizzbuzz> "ChatGPT is probably outputting at least 22x the volume of human Twitter users ever day... and the equivalent of the entire printed works of humanity every 14 days" -- lol
17:21:19 <[exa]> Hammdist: AFAIK `where` is only valid around definitions, i.e. y=x where x=7 works
17:21:33 <segfaultfizzbuzz> yeah if you do the calculations on the IO bandwith of all of humanity and the IO bandwith of a high end GPU the difference is rather stark
17:23:08 <segfaultfizzbuzz> at 96 wpm one person is producing 8 bytes per second (let's forget about compressability, the actual number is significantly lower...)
17:24:17 <segfaultfizzbuzz> so all of humanity (10^10 people) is 80 GB per second if everyone is awake simultaneously
17:24:59 <[exa]> but they also talk and make the weird faces and accents
17:25:18 <segfaultfizzbuzz> the actual sustainable rate is much lower than that, and the actual output entropy is much lower
17:25:34 <segfaultfizzbuzz> so all of humanity is probably like 1 GB per second or something like that
17:26:05 <[exa]> you should count only "externally useful output", it's gonna be quite low tbh. Anyway let's move to #-offtopic I guess
17:26:30 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
17:35:27 sefidel joins (~sefidel@user/sefidel)
17:39:07 × Henson quits (~kvirc@207.136.101.195) (Ping timeout: 252 seconds)
17:42:15 dfip^ joins (~dfip@c-24-30-76-89.hsd1.ga.comcast.net)
17:47:13 wroathe joins (~wroathe@50.205.197.50)
17:47:13 × wroathe quits (~wroathe@50.205.197.50) (Changing host)
17:47:13 wroathe joins (~wroathe@user/wroathe)
17:50:37 paulpaul1076 joins (~textual@95-29-4-222.broadband.corbina.ru)
17:52:06 × ddellacosta quits (~ddellacos@146.70.166.100) (Quit: WeeChat 3.7.1)
17:52:22 ddellacosta joins (~ddellacos@146.70.166.100)
17:52:32 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
17:54:02 × ddellacosta quits (~ddellacos@146.70.166.100) (Client Quit)
17:54:20 ddellacosta joins (~ddellacos@146.70.166.100)
17:55:26 × ddellacosta quits (~ddellacos@146.70.166.100) (Client Quit)
17:55:42 ddellacosta joins (~ddellacos@146.70.166.100)
17:57:49 <segfaultfizzbuzz> https://reviews.llvm.org/D118029 -- speak of the devil: "We are introducing branchless variants for sort3, sort4 and sort5. These sorting functions have been generated using Reinforcement Learning and aim to replace sort3, sort4 and __sort5 variants for integral types."
17:58:09 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 255 seconds)
17:59:02 <segfaultfizzbuzz> what is Random_4 in this, does that mean sorting 4 elements which come from a random distribution?
17:59:21 <segfaultfizzbuzz> like uiformly random distribution? they got like 60% speedups for that
17:59:56 <monochrom> Wrong channel?
18:01:05 econo joins (uid147250@user/econo)
18:01:05 <segfaultfizzbuzz> ok well we were just joking around about chatgpt replacing all of us, and then llvm lands some kind of reinforcement-learning originated sorting contribution
18:05:14 <int-e> ...what happened to sorting networks...
18:05:41 <int-e> (that's the keyword that *should* be in there)
18:08:03 × oldfashionedcow quits (~Rahul_San@user/oldfashionedcow) (Quit: WeeChat 3.8)
18:10:08 × thongpv87 quits (~thongpv87@2402:9d80:327:1fe2:f13:e44c:defe:3212) (Read error: Connection reset by peer)
18:11:53 Sgeo joins (~Sgeo@user/sgeo)
18:12:53 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
18:13:49 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
18:17:29 <tomsmeding> not sure what the Machine Learning (tm) produced sorting functions are, they seem to be the ones in libcxx/include/__algorithm/sort.h here? https://reviews.llvm.org/rG194d1965d2c841fa81e107d19e27fae1467e7f11
18:17:36 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 248 seconds)
18:17:49 irrgit__ joins (~irrgit@86.106.90.226)
18:17:51 <tomsmeding> if so, those are _tiny_, and indeed look like classical sorting networks
18:18:05 <tomsmeding> they're only 6 primitives long!
18:18:07 _leo___ joins (~emmanuelu@user/emmanuelux)
18:18:48 <int-e> TBH I'm inclined to believe that "reinforcement learning" is a joke here. After all that's how humans learn too.
18:19:40 <tomsmeding> I suspect it's not a joke, and it's a decent way to come up with these networks if that's your thing, but you know, superoptimisation is a field that exists
18:19:59 <tomsmeding> and surely there are less hypey ways to produce sorting networks of length 6
18:20:26 <tomsmeding> I'd expect fancy machine learning to be helpful once you get to length 20 or so
18:20:41 <tomsmeding> at that point any kind of brute-force search is hopeless
18:21:06 × irrgit_ quits (~irrgit@86.106.90.226) (Ping timeout: 255 seconds)
18:22:09 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Ping timeout: 260 seconds)
18:22:25 emmanuelux joins (~emmanuelu@user/emmanuelux)
18:22:34 × _leo___ quits (~emmanuelu@user/emmanuelux) (Ping timeout: 252 seconds)
18:23:28 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
18:28:55 × gurkenglas quits (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de) (Ping timeout: 260 seconds)
18:30:05 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
18:35:35 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 264 seconds)
18:42:44 gurkenglas joins (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de)
18:43:26 azimut_ joins (~azimut@gateway/tor-sasl/azimut)
18:43:38 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
18:47:34 <sclv> *weird al voice* "this network is ony six prims long"
18:47:54 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
18:51:12 × segfaultfizzbuzz quits (~segfaultf@108.211.201.53) (Ping timeout: 248 seconds)
18:53:51 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 265 seconds)
18:59:00 × malte quits (~malte@mal.tc) (Remote host closed the connection)
19:00:04 malte joins (~malte@mal.tc)
19:03:29 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
19:05:08 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
19:05:52 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
19:06:49 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 268 seconds)
19:12:17 wootehfoot joins (~wootehfoo@user/wootehfoot)
19:13:04 Bocaneri joins (~sauvin@user/Sauvin)
19:13:28 Bocaneri is now known as Guest8231
19:14:42 wroathe joins (~wroathe@50.205.197.50)
19:14:42 × wroathe quits (~wroathe@50.205.197.50) (Changing host)
19:14:42 wroathe joins (~wroathe@user/wroathe)
19:15:31 × SenFache quits (~sauvin@user/Sauvin) (Ping timeout: 252 seconds)
19:18:31 czy joins (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net)
19:19:09 jmdaemon joins (~jmdaemon@user/jmdaemon)
19:22:23 × danza quits (~francesco@151.43.87.223) (Read error: Connection reset by peer)
19:33:37 irrgit_ joins (~irrgit@86.106.90.226)
19:34:00 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
19:34:49 oldfashionedcow joins (~Rahul_San@user/oldfashionedcow)
19:35:30 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Remote host closed the connection)
19:36:32 × bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection)
19:36:37 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
19:37:22 × irrgit__ quits (~irrgit@86.106.90.226) (Ping timeout: 252 seconds)
19:37:52 × irrgit_ quits (~irrgit@86.106.90.226) (Ping timeout: 252 seconds)
19:38:33 danza joins (~francesco@151.44.152.227)
19:39:12 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
19:39:25 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 252 seconds)
19:40:43 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
19:40:49 × segfaultfizzbuzz quits (~segfaultf@108.211.201.53) (Ping timeout: 252 seconds)
19:49:44 mastarija joins (~mastarija@2a05:4f46:e03:6000:2641:41f8:4532:c175)
19:51:38 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:56:03 × gurkenglas quits (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de) (Ping timeout: 260 seconds)
19:56:27 cheater_ joins (~Username@user/cheater)
19:58:18 gurkenglas joins (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de)
19:59:38 × cheater quits (~Username@user/cheater) (Ping timeout: 255 seconds)
19:59:42 cheater_ is now known as cheater
20:00:32 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
20:04:08 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Quit: ZNC - https://znc.in)
20:04:18 enthropy joins (~enthropy@66.7.90.250)
20:04:41 azimut joins (~azimut@gateway/tor-sasl/azimut)
20:05:19 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 248 seconds)
20:14:01 bilegeek joins (~bilegeek@2600:1008:b015:d0b:5741:22b9:5995:c1b0)
20:16:08 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:16:14 × mastarija quits (~mastarija@2a05:4f46:e03:6000:2641:41f8:4532:c175) (Quit: WeeChat 3.7.1)
20:21:38 × ddellacosta quits (~ddellacos@146.70.166.100) (Quit: WeeChat 3.7.1)
20:22:34 ddellacosta joins (~ddellacos@146.70.166.100)
20:26:24 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
20:28:20 × mechap quits (~mechap@user/mechap) (Read error: Connection reset by peer)
20:28:22 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
20:28:51 mechap joins (~mechap@user/mechap)
20:29:03 mastarija joins (~mastarija@2a05:4f46:e03:6000:f5d:5995:2562:c584)
20:29:43 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
20:31:18 × piele_ quits (~piele@tbonesteak.creativeserver.net) (Ping timeout: 268 seconds)
20:32:34 kenran joins (~user@user/kenran)
20:41:03 × gurkenglas quits (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de) (Ping timeout: 248 seconds)
20:43:07 finsternis joins (~X@23.226.237.192)
20:47:41 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
20:47:41 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
20:47:41 wroathe joins (~wroathe@user/wroathe)
20:47:55 gurkenglas joins (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de)
20:49:32 × segfaultfizzbuzz quits (~segfaultf@108.211.201.53) (Ping timeout: 246 seconds)
20:50:23 talismanick joins (~talismani@2601:200:c181:4c40::1be2)
20:51:43 × enthropy quits (~enthropy@66.7.90.250) (Ping timeout: 260 seconds)
20:51:50 czy parts (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net) (ERC 5.4.1 (IRC client for GNU Emacs 30.0.50))
20:51:58 czy joins (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net)
20:52:34 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Quit: au revoir)
20:57:04 emmanuelux joins (~emmanuelu@user/emmanuelux)
20:57:40 × cheater quits (~Username@user/cheater) (Ping timeout: 252 seconds)
20:58:34 cheater joins (~Username@user/cheater)
21:02:55 × mechap quits (~mechap@user/mechap) (Ping timeout: 248 seconds)
21:02:56 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Read error: Connection reset by peer)
21:03:31 Guest8231 is now known as SenFache
21:04:43 mechap joins (~mechap@user/mechap)
21:07:02 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
21:08:16 × mastarija quits (~mastarija@2a05:4f46:e03:6000:f5d:5995:2562:c584) (Ping timeout: 248 seconds)
21:10:48 mastarija joins (~mastarija@2a05:4f46:e03:6000:8505:fe3c:2b67:4589)
21:16:06 emmanuelux joins (~emmanuelu@user/emmanuelux)
21:18:34 × kenran quits (~user@user/kenran) (Remote host closed the connection)
21:20:13 gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk)
21:25:49 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Remote host closed the connection)
21:26:09 chatterx joins (~paolillo@2601:801:480:9390:b4ee:d26e:a399:c497)
21:26:45 chatterx parts (~paolillo@2601:801:480:9390:b4ee:d26e:a399:c497) ()
21:27:51 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Quit: au revoir)
21:29:28 × gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (Quit: WeeChat 3.8)
21:33:30 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
21:39:09 × mastarija quits (~mastarija@2a05:4f46:e03:6000:8505:fe3c:2b67:4589) (Quit: WeeChat 3.7.1)
21:39:40 × jonathanx quits (~jonathan@178.174.176.109) (Remote host closed the connection)
21:42:29 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
21:42:29 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
21:42:29 wroathe joins (~wroathe@user/wroathe)
21:44:07 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
21:46:21 emmanuelux joins (~emmanuelu@user/emmanuelux)
21:49:36 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:53:39 __monty__ joins (~toonn@user/toonn)
21:53:42 merijn joins (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl)
21:55:26 gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk)
21:57:27 × bilegeek quits (~bilegeek@2600:1008:b015:d0b:5741:22b9:5995:c1b0) (Quit: Leaving)
22:03:08 esph joins (~weechat@user/esph)
22:07:39 × gurkenglas quits (~gurkengla@dynamic-046-114-178-186.46.114.pool.telefonica.de) (Ping timeout: 260 seconds)
22:07:54 × ddellacosta quits (~ddellacos@146.70.166.100) (Ping timeout: 260 seconds)
22:07:58 ubert1 joins (~Thunderbi@p200300ecdf13016caa4d3467f4e30a23.dip0.t-ipconnect.de)
22:08:31 × ubert quits (~Thunderbi@p200300ecdf1301b122a4f37be5c9cfb5.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
22:08:32 068AAD9K6 is now known as ubert
22:08:32 ubert is now known as 068AAD9K6
22:08:32 ubert1 is now known as 048AAGWNU
22:09:14 × tessier quits (~treed@98.171.210.130) (Ping timeout: 255 seconds)
22:10:40 tessier joins (~treed@mobile-166-170-47-107.mycingular.net)
22:15:01 caryhartline joins (~caryhartl@2600:1700:2d0:8d30:4d63:2b4e:3c7:c9ea)
22:16:58 × OscarZ quits (~oscarz@85.194.207.103) (Quit: Leaving)
22:24:09 × oldfashionedcow quits (~Rahul_San@user/oldfashionedcow) (Ping timeout: 256 seconds)
22:24:20 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:26:45 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:26:48 × merijn quits (~merijn@c-001-001-010.client.esciencecenter.eduvpn.nl) (Ping timeout: 255 seconds)
22:27:28 oldfashionedcow joins (~Rahul_San@user/oldfashionedcow)
22:35:54 × segfaultfizzbuzz quits (~segfaultf@108.211.201.53) (Ping timeout: 260 seconds)
22:42:54 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
22:43:29 × adium quits (adium@user/adium) (Ping timeout: 260 seconds)
22:44:38 <Inst_> question
22:44:51 <Inst_> why is it possible to define a class that can't be instanced into?
22:45:06 adium joins (adium@user/adium)
22:45:07 <Inst_> class Lol where; topkek = "kek"
22:50:01 <jackdk> https://reasonablypolymorphic.com/blog/abusing-constraints/
22:52:12 × danso quits (danso@danso.ca) (Quit: ZNC - https://znc.in)
22:53:28 <int-e> Inst_: Hmm you can instantiate that, once. So you could use this to declare a "global" function that is instantiated later... (it's global in the sense that you can only define it once, but you will carry Foo => constraints everywhere you use it and it will be passed as an argument as a result)
22:54:24 <int-e> Or Lol => in your case.
22:54:27 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Remote host closed the connection)
22:54:31 danso joins (danso@danso.ca)
22:58:29 × danso quits (danso@danso.ca) (Client Quit)
22:59:01 <Inst_> nice, thanks
23:00:44 danso joins (~danso@danso.ca)
23:02:28 bilegeek joins (~bilegeek@2600:1008:b098:686c:1177:15a4:77ec:44a0)
23:02:37 offtherock joins (~blurb@96.45.2.121)
23:03:19 <jackdk> Sandy also defines a couple in the link I posted
23:04:02 × rburkholder quits (~blurb@96.45.2.121) (Quit: Leaving)
23:04:04 × offtherock quits (~blurb@96.45.2.121) (Read error: Connection reset by peer)
23:04:26 rburkholder joins (~blurb@96.45.2.121)
23:04:32 <Inst_> weird, not working on ghc
23:04:37 <Inst_> erm, ghci
23:06:02 <int-e> % class Foo where foo :: Int; foo = 42
23:06:02 <yahb2> <interactive>:18:1: error: ; • No parameters for class ‘Foo’ ; (Enable MultiParamTypeClasses to allow no-parameter classes) ; • In the class declaration for ‘Foo’
23:06:18 <int-e> % :set -XMultiParamTypeClasses
23:06:18 <yahb2> <no output>
23:06:21 <int-e> % class Foo where foo :: Int; foo = 42
23:06:21 <yahb2> <no output>
23:06:28 <int-e> % instance Foo where foo = 23
23:06:28 <yahb2> <no output>
23:06:31 <int-e> % foo
23:06:31 <yahb2> 23
23:06:47 × rburkholder quits (~blurb@96.45.2.121) (Remote host closed the connection)
23:07:09 <int-e> (just `instance Foo` would pick the default implementation `foo = 42`)
23:09:28 rburkholder joins (~blurb@96.45.2.121)
23:09:55 <Inst_> no, i mean, i can't get auto constraints via type inference, but I guess Sandy McGuire points out
23:10:12 <Inst_> how nullary typeclasses aren't a misfeature
23:10:57 czy parts (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net) (ERC 5.4.1 (IRC client for GNU Emacs 30.0.50))
23:10:58 <Inst_> int-e: i was more complaining that I couldn't get ghc to type infer the constraint
23:11:19 <jackdk> see also: HasCallStack
23:11:22 <geekosaur> % :t foo
23:11:22 <yahb2> foo :: Int
23:11:27 <int-e> Ah I see, type inference doesn't work for this.
23:11:38 <int-e> geekosaur: that's after providing the instance
23:11:54 <int-e> Before that you get "No instance for Foo arising from a use of ‘foo’"
23:12:21 <int-e> But you /can/ do let x :: Foo => Int; x = foo
23:13:05 <int-e> (maybe newer ghci is better, still using 8.10 by default here)
23:14:32 <int-e> % :!ghci --version
23:15:02 × nunggu_ quits (~q@user/nunggu) (Quit: nunggu_)
23:15:46 <int-e> % :show linker
23:15:46 <yahb2> ----- Linker state ----- ; Pkgs: [base-4.14.3.0, integer-gmp-1.0.3.0, ghc-prim-0.6.1, ; rts-1.0.1] ; Objs: [] ; BCOs: [LinkableM (2022-06-14 17:45:33.292275656 UTC) Yahb2Defs ; [BC...
23:16:03 <int-e> Looks like that's ghc-8.10.7 too.
23:16:08 segfaultfizzbuzz joins (~segfaultf@108.211.201.53)
23:16:14 <int-e> based on the version of `base.
23:16:59 <int-e> % print GHC.Version.cProjectVersion
23:16:59 <yahb2> "8.10.7"
23:19:09 <Inst_> int-e: so why bother with type inference, then?
23:19:16 <Inst_> erm, the constraint, then?
23:20:10 <int-e> Inst_: I don't know; maybe this is why I've never seen this pattern used :P
23:20:33 <Inst_> i can stuff a constraint in, the utility seems to be being able to stuff comments into an arbitrary nullary constraint
23:20:35 <Inst_> weird feature
23:21:04 <int-e> In any case there's no reason for the compiler to disallow it. And evidently (see above) it can be abused to do something actually useful.
23:21:28 <geekosaur> the compiler lets you do other useless things too…
23:22:07 czy joins (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net)
23:22:19 <int-e> Inst_: I mean, compared to changing all functiont to `Int -> a`, if you have `Foo => a` instead you're (mostly; ghc's overlap check isn't perfect) guaranteed that every such function will receive the same value, statically.
23:22:31 <geekosaur> @let Just _ = Nothing -- unusable top level binding so never discovers the pattern match fails
23:22:33 <lambdabot> Defined.
23:22:50 × harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving)
23:22:58 <int-e> Inst_: maybe there's a place where this kind of thing has value
23:23:02 int-e shrugs
23:23:03 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
23:23:03 unit73e joins (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36)
23:23:08 × danza quits (~francesco@151.44.152.227) (Read error: Connection reset by peer)
23:23:17 <geekosaur> I think the only use I've seen for that was some kind of hacker contest
23:23:32 <Inst_> w/e, it's exotic, and I guess it's Haskelly to let people mess around and find ways to abuse nullary typeclasses
23:25:19 czy` joins (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net)
23:25:26 × czy` quits (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net) (Remote host closed the connection)
23:25:53 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
23:25:59 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
23:28:24 <int-e> Inst_: The fact that `:t foo` breaks when there's no instance indicates that people don't really use this feature; that smells like a bug and I would be surprised if it was super difficult to fix.
23:29:39 <Inst_> okay, posting to GHC issues now
23:29:50 stiell joins (~stiell@gateway/tor-sasl/stiell)
23:29:56 <int-e> maybe there is one already?
23:31:53 <unit73e> good thing there's a log or I'd get very confused since I just joined
23:32:18 jinsun is now known as Guest5295
23:32:19 jinsun__ joins (~jinsun@user/jinsun)
23:32:19 × Guest5295 quits (~jinsun@user/jinsun) (Killed (cadmium.libera.chat (Nickname regained by services)))
23:32:19 jinsun__ is now known as jinsun
23:33:10 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20) (Remote host closed the connection)
23:34:04 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e5a6:1cca:cd92:c20)
23:35:54 <Inst_> done
23:35:55 <Inst_> https://gitlab.haskell.org/ghc/ghc/-/issues/22907
23:36:26 <Inst_> tried nullary typeclass, nullary type parameter
23:36:44 <jackdk> int-e: That would force every caller of a HasCallStack function to add it to their context, no?
23:37:51 <int-e> Inst_: Where's the "where" keyword?
23:38:02 <Inst_> class Foo works
23:38:45 danza joins (~francesco@151.47.50.166)
23:38:54 <int-e> % :quit
23:38:54 <yahb2> <no output>
23:38:57 <int-e> % class Foo
23:38:57 <yahb2> <no output>
23:39:06 <int-e> % u :: Foo => Int; u = 3
23:39:06 <yahb2> <no output>
23:39:10 <int-e> % u
23:39:10 <yahb2> <interactive>:8:1: error: ; • No instance for Foo arising from a use of ‘u’ ; • In the expression: u ; In an equation for ‘it’: it = u
23:39:14 <int-e> % :t u
23:39:14 <yahb2> <interactive>:1:1: error: ; • No instance for Foo arising from a use of ‘u’ ; • In the expression: u
23:39:32 <Inst_> % :quit
23:39:32 <yahb2> <no output>
23:39:38 <Inst_> %: class Foo where
23:39:45 <Inst_> % u :: Foo => Int; u = 3
23:39:45 <yahb2> <interactive>:4:6: error: ; Not in scope: type constructor or class ‘Foo’
23:39:58 <Inst_> % class Foo where
23:39:58 <yahb2> <no output>
23:40:02 <Inst_> % u :: Foo => Int; u = 3
23:40:02 <yahb2> <no output>
23:40:03 <Inst_> u
23:40:05 <Inst_> % u
23:40:05 <yahb2> <interactive>:10:1: error: ; • No instance for Foo arising from a use of ‘u’ ; • In the expression: u ; In an equation for ‘it’: it = u
23:40:13 <Inst_> % instance Foo
23:40:13 <yahb2> <no output>
23:40:18 <Inst_> % u
23:40:18 <yahb2> 3
23:40:46 <int-e> all that is expected
23:40:47 × czy quits (~user@host-140-21.ilcub310.champaign.il.us.clients.pavlovmedia.net) (Remote host closed the connection)
23:40:57 <Inst_> % :quit
23:40:57 <yahb2> <no output>
23:40:58 <int-e> what isn't expected (to me) is that :t u fails
23:42:52 <int-e> and, relatedly, that defining non-monomorphic functions using Foo also fails: v () = u gives a type error instead of inferring v :: Foo => () -> Int
23:44:23 <int-e> Inst_: if you expand the "steps to reproduce" in the description, it will be a much better report.
23:44:39 × tessier quits (~treed@mobile-166-170-47-107.mycingular.net) (Ping timeout: 252 seconds)
23:47:05 <Inst_> done, as per requested

All times are in UTC on 2023-02-05.