Home liberachat/#haskell: Logs Calendar

Logs on 2022-05-01 (liberachat/#haskell)

00:00:49 <Bulby[m]> with tomland would some creative thinking be able to use hardcoded as an arbitrary extra field? https://hackage.haskell.org/package/tomland-1.3.3.1/docs/Toml-Codec-Combinator-Custom.html
00:02:35 Bulby[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/044744922a13e54e1d305aec61ab9f60ff48dd8c
00:08:24 × alp_ quits (~alp@user/alp) (Ping timeout: 248 seconds)
00:10:15 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
00:10:44 × dhil quits (~dhil@cpc103052-sgyl39-2-0-cust260.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
00:10:48 × Guest|18 quits (~Guest|18@75-164-146-210.ptld.qwest.net) (Quit: Connection closed)
00:12:35 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
00:14:18 xff0x_ joins (~xff0x@om126234061065.16.openmobile.ne.jp)
00:17:39 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
00:18:24 king_gs joins (~Thunderbi@187.201.77.157)
00:23:22 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 250 seconds)
00:30:41 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
00:32:36 <abastro[m]> What is toml?
00:32:47 <Bulby[m]> toml's obvious markup lang
00:33:03 <Bulby[m]> I think using `<*>` and friends won't work
00:33:26 <Bulby[m]> how would I combine the underlying read write functions in such a way that I can add an arbitrary field
00:35:21 tommd joins (~tommd@97-120-41-123.ptld.qwest.net)
00:35:24 <abastro[m]> Ah markup
00:35:51 <Bulby[m]> tom's obvious minimal language oopsies
00:36:08 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 248 seconds)
00:36:09 <abastro[m]> Obvious?
00:36:22 <Bulby[m]> that's it's name ok 👺
00:36:23 <Bulby[m]> wait
00:36:25 <Bulby[m]> wrong emoji
00:37:31 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
00:40:49 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
00:41:34 <abastro[m]> So this: https://toml.io/en/
00:41:37 <abastro[m]> Interesting
00:42:35 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
00:42:54 <abastro[m]> <del>Eww tables</del>
00:43:37 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
00:43:37 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
00:43:37 wroathe joins (~wroathe@user/wroathe)
00:45:47 × mxs quits (~mxs@user/mxs) (Remote host closed the connection)
00:45:59 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
00:46:14 mxs joins (~mxs@user/mxs)
00:46:39 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 276 seconds)
00:46:43 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
00:48:39 <abastro[m]> `Codec` type seems unfit for applicative operation over writing.
00:52:27 × zer0bitz quits (~zer0bitz@2001:2003:f444:8f00:c914:2e3d:9c4a:a429) (Ping timeout: 260 seconds)
00:52:32 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
00:54:55 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
00:56:05 <abastro[m]> Bidirectional one has
00:56:05 <abastro[m]> `f ()`
00:56:05 <abastro[m]> `f a -> f b -> f (a, b)`
00:56:05 <abastro[m]> But not viable applicative instance. Hmm
00:56:24 notzmv joins (~zmv@user/notzmv)
00:59:57 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
01:00:08 abastro joins (~abab9579@220.75.216.63)
01:02:13 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
01:02:24 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
01:05:29 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Remote host closed the connection)
01:05:30 × gurkenglas quits (~gurkengla@84.57.85.111) (Ping timeout: 276 seconds)
01:05:54 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
01:08:06 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
01:10:10 vicfred joins (~vicfred@user/vicfred)
01:10:20 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
01:10:34 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:11:09 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
01:12:36 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Read error: Connection reset by peer)
01:12:52 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
01:13:27 fef joins (~thedawn@user/thedawn)
01:15:58 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
01:16:40 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:16:41 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
01:18:41 cdsmith joins (~cdsmithma@2001:470:69fc:105::284)
01:20:07 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 240 seconds)
01:20:18 king_gs joins (~Thunderbi@187.201.77.157)
01:22:01 <cdsmith> I think the Foldable instance for Data.Functor.Compose should define `length`. Currently it's left to the default impl, which walks through all elements and counts them one by one. It could be something like `length (Compose xs) = getSum (foldMap (Sum . length) xs)`, which would at least avoid traversing the inner containers.
01:23:09 <cdsmith> Did I miss something here?
01:32:48 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 276 seconds)
01:33:13 <cdsmith> Okay, I found a better place to pontificate: https://github.com/haskell/core-libraries-committee/issues/57
01:33:50 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
01:38:39 × cheater quits (~Username@user/cheater) (Ping timeout: 240 seconds)
01:39:18 cheater joins (~Username@user/cheater)
01:41:44 andrey_ joins (~andrey@p200300dbcf3c2800a83cd0cefcf2e84d.dip0.t-ipconnect.de)
01:44:33 × andrey__ quits (~andrey@p508d5741.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
01:47:21 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
01:50:05 dcoutts_ joins (~duncan@host86-151-9-6.range86-151.btcentralplus.com)
01:50:19 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 240 seconds)
01:51:45 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
01:52:18 notzmv joins (~zmv@user/notzmv)
01:56:07 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
01:59:34 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
02:06:57 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
02:12:29 dyeplexer joins (~dyeplexer@user/dyeplexer)
02:13:36 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 272 seconds)
02:18:34 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:18:34 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:18:34 finn_elija is now known as FinnElija
02:20:12 razetime joins (~quassel@117.254.35.47)
02:28:41 × notzmv quits (~zmv@user/notzmv) (Remote host closed the connection)
02:29:08 × Unicorn_Princess quits (~Unicorn_P@93-103-228-248.dynamic.t-2.net) (Remote host closed the connection)
02:29:43 notzmv joins (~zmv@user/notzmv)
02:30:36 × zmt00 quits (~zmt00@user/zmt00) (Read error: Connection reset by peer)
02:30:42 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Ping timeout: 272 seconds)
02:31:57 × td_ quits (~td@muedsl-82-207-238-189.citykom.de) (Ping timeout: 276 seconds)
02:32:25 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
02:33:29 td_ joins (~td@94.134.91.80)
02:33:59 brettgilio joins (~brettgili@x-node.gq)
02:35:36 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds)
02:43:05 × xff0x_ quits (~xff0x@om126234061065.16.openmobile.ne.jp) (Read error: Connection reset by peer)
02:43:31 zmt00 joins (~zmt00@user/zmt00)
02:44:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
02:44:22 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
02:44:57 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
02:45:46 gpncarl joins (~gpncarl@120.244.220.254)
02:48:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
02:49:33 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
02:50:20 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 272 seconds)
02:54:49 <dmj`> haskell doesn't really have any OCR bindings huh
02:57:19 Kevin578_ joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
02:58:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
03:00:19 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
03:00:56 jargon joins (~jargon@174-22-206-112.phnx.qwest.net)
03:01:51 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
03:02:00 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
03:05:06 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
03:05:15 × zmt00 quits (~zmt00@user/zmt00) (Read error: Connection reset by peer)
03:14:57 king_gs joins (~Thunderbi@187.201.77.157)
03:15:53 zmt00 joins (~zmt00@user/zmt00)
03:19:35 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
03:22:55 dknite17 joins (~dknite@2405:201:800b:481f:e27b:9687:63b0:8322)
03:23:32 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Remote host closed the connection)
03:24:06 × dknite17 quits (~dknite@2405:201:800b:481f:e27b:9687:63b0:8322) (Client Quit)
03:24:12 dknite joins (~dknite@2405:201:800b:481f:e27b:9687:63b0:8322)
03:25:04 <dknite> Are there some live coding streams that use Haskell available? I have found them to be very effective for learning.
03:25:52 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
03:27:02 mvk joins (~mvk@2607:fea8:5ce3:8500::aa1d)
03:32:35 sabry joins (~sabry@197.37.67.113)
03:34:29 × dcoutts_ quits (~duncan@host86-151-9-6.range86-151.btcentralplus.com) (Ping timeout: 256 seconds)
03:34:30 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
03:36:54 king_gs joins (~Thunderbi@187.201.77.157)
03:37:50 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 272 seconds)
03:38:18 dashkal joins (~dashkal@user/dashkal)
03:38:55 worldhelloworld1 joins (uid543174@id-543174.helmsley.irccloud.com)
03:42:49 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
03:43:42 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
03:44:23 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
03:44:44 ChaiTRex joins (~ChaiTRex@user/chaitrex)
03:49:59 × tommd quits (~tommd@97-120-41-123.ptld.qwest.net) (Ping timeout: 240 seconds)
03:51:46 × sabry quits (~sabry@197.37.67.113) (Quit: Client closed)
03:55:48 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
03:56:03 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
03:56:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
03:57:47 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
04:00:26 deadmarshal_ joins (~deadmarsh@95.38.118.198)
04:03:04 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 240 seconds)
04:04:58 ChaiTRex joins (~ChaiTRex@user/chaitrex)
04:11:30 × ubert quits (~Thunderbi@p548c8d44.dip0.t-ipconnect.de) (Remote host closed the connection)
04:11:48 ubert joins (~Thunderbi@p200300ecdf158899c0f4d27fa8fbb23b.dip0.t-ipconnect.de)
04:15:12 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Ping timeout: 250 seconds)
04:17:42 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
04:23:20 mbuf joins (~Shakthi@223.178.72.113)
04:29:46 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
04:35:33 coot joins (~coot@213.134.190.95)
04:36:25 sprout_ joins (~quassel@2a02-a467-ccd6-1-ac31-dc0e-66e4-8439.fixed6.kpn.net)
04:39:19 × sprout quits (~quassel@2a02-a467-ccd6-1-ed7e-2264-bed5-6948.fixed6.kpn.net) (Ping timeout: 240 seconds)
04:39:39 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 240 seconds)
04:51:31 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
04:52:01 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Client Quit)
04:56:19 × phma quits (~phma@host-67-44-208-188.hnremote.net) (Read error: Connection reset by peer)
04:57:30 phma joins (~phma@2001:5b0:210d:d3b8:c7a1:c00e:a306:dd56)
05:01:21 king_gs joins (~Thunderbi@187.201.77.157)
05:01:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
05:02:34 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
05:03:20 × deadmarshal_ quits (~deadmarsh@95.38.118.198) (Ping timeout: 272 seconds)
05:07:22 Ether17 joins (~Ether17@45.248.151.250)
05:13:56 notzmv joins (~zmv@user/notzmv)
05:18:03 × Ether17 quits (~Ether17@45.248.151.250) (Quit: Client closed)
05:21:49 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
05:22:29 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
05:30:10 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
05:38:54 xff0x_ joins (~xff0x@om126234061065.16.openmobile.ne.jp)
05:39:01 oxide joins (~lambda@user/oxide)
05:41:00 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Ping timeout: 250 seconds)
05:43:06 gpncarl joins (~gpncarl@120.244.220.254)
05:47:19 sprout joins (~quassel@2a02-a467-ccd6-1-ac31-dc0e-66e4-8439.fixed6.kpn.net)
05:48:36 × sprout_ quits (~quassel@2a02-a467-ccd6-1-ac31-dc0e-66e4-8439.fixed6.kpn.net) (Ping timeout: 240 seconds)
05:54:04 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
05:54:09 Ether17 joins (~Ether17@45.248.151.250)
05:54:32 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
06:04:27 img joins (~img@user/img)
06:15:13 × coot quits (~coot@213.134.190.95) (Quit: coot)
06:25:02 × elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 272 seconds)
06:25:18 elkcl joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru)
06:26:48 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
06:28:34 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
06:34:43 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
06:35:10 × elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 272 seconds)
06:35:52 elkcl joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru)
06:43:40 zeenk joins (~zeenk@2a02:2f04:a004:9b00:1efc:c1cf:378d:8b3d)
06:48:51 × razetime quits (~quassel@117.254.35.47) (Ping timeout: 256 seconds)
06:49:11 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
06:54:56 Midjak joins (~Midjak@82.66.147.146)
06:58:12 × worldhelloworld1 quits (uid543174@id-543174.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
06:59:10 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
07:00:28 neceve joins (~quassel@2.29.116.221)
07:04:22 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
07:08:35 worldhelloworld1 joins (uid543174@id-543174.helmsley.irccloud.com)
07:20:10 gehmehgeh joins (~user@user/gehmehgeh)
07:20:59 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
07:22:48 razetime joins (~quassel@117.254.34.249)
07:24:12 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 240 seconds)
07:29:28 acidjnk joins (~acidjnk@p200300d0c73b4550c5e3a1b7598c6b95.dip0.t-ipconnect.de)
07:34:31 xkuru joins (~xkuru@user/xkuru)
07:42:49 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:45:47 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
07:49:34 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
07:51:03 hughjfchen[m] joins (~hughjfche@2001:470:69fc:105::c29d)
07:51:38 azimut joins (~azimut@gateway/tor-sasl/azimut)
07:52:24 × mvk quits (~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 248 seconds)
07:59:21 × dknite quits (~dknite@2405:201:800b:481f:e27b:9687:63b0:8322) (Quit: Client closed)
07:59:47 dust_ joins (~dust@2409:4071:2283:5117:f276:b047:4438:5a20)
08:00:31 king_gs joins (~Thunderbi@187.201.77.157)
08:01:32 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:04:47 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 256 seconds)
08:04:56 deadmarshal_ joins (~deadmarsh@95.38.230.97)
08:06:05 × dust_ quits (~dust@2409:4071:2283:5117:f276:b047:4438:5a20) (Quit: Konversation terminated!)
08:09:24 × deadmarshal_ quits (~deadmarsh@95.38.230.97) (Ping timeout: 246 seconds)
08:11:01 Hiring parts (~Hiring@31.222.238.38) ()
08:12:05 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
08:15:38 DNH joins (~DNH@2a02:8109:b740:2c4:c480:34a2:ac3:3d01)
08:15:39 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
08:15:50 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
08:15:56 × jargon quits (~jargon@174-22-206-112.phnx.qwest.net) (Quit: Restarting.)
08:17:54 coot joins (~coot@213.134.190.95)
08:19:55 × DNH quits (~DNH@2a02:8109:b740:2c4:c480:34a2:ac3:3d01) (Client Quit)
08:25:05 _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl)
08:31:05 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
08:32:16 × steerio quits (~steerio@aviv.kinneret.de) (Remote host closed the connection)
08:36:15 deadmarshal_ joins (~deadmarsh@95.38.230.97)
08:41:59 epolanski joins (uid312403@id-312403.helmsley.irccloud.com)
08:45:22 zer0bitz joins (~zer0bitz@2001:2003:f444:8f00:b5b8:3c41:5641:4dcb)
08:51:45 nicbk joins (~nicbk@user/nicbk)
08:58:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
09:00:14 × amesgen[m] quits (~amesgenm]@2001:470:69fc:105::82b) (Quit: You have been kicked for being idle)
09:01:01 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
09:01:01 × fef quits (~thedawn@user/thedawn) (Remote host closed the connection)
09:06:16 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
09:16:03 jargon joins (~jargon@174-22-206-112.phnx.qwest.net)
09:17:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
09:20:47 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
09:23:46 deadmars- joins (~deadmarsh@95.38.113.16)
09:24:31 × anomal quits (~anomal@87.227.196.109) (Remote host closed the connection)
09:24:39 × deadmarshal_ quits (~deadmarsh@95.38.230.97) (Ping timeout: 246 seconds)
09:27:01 nut joins (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
09:27:49 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
09:29:00 king_gs joins (~Thunderbi@187.201.77.157)
09:30:32 × deadmars- quits (~deadmarsh@95.38.113.16) (Ping timeout: 248 seconds)
09:31:26 deadmarshal_ joins (~deadmarsh@95.38.114.50)
09:31:46 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
09:32:40 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
09:33:07 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 240 seconds)
09:36:24 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 276 seconds)
09:36:47 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
09:38:43 deadmars- joins (~deadmarsh@95.38.115.128)
09:39:16 × ts3 quits (~ts@46.101.20.9) (Quit: WeeChat 3.0.1)
09:40:07 × deadmarshal_ quits (~deadmarsh@95.38.114.50) (Ping timeout: 240 seconds)
09:40:20 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
09:44:04 × nicbk quits (~nicbk@user/nicbk) (Ping timeout: 240 seconds)
09:44:28 nicbk joins (~nicbk@user/nicbk)
09:44:32 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 272 seconds)
09:45:00 schmolt joins (~schmolt@2a02:8084:26e3:d000:8d32:a9f5:d8c3:b7c)
09:47:57 × schmolt quits (~schmolt@2a02:8084:26e3:d000:8d32:a9f5:d8c3:b7c) (Client Quit)
09:49:19 gurkenglas joins (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de)
09:51:30 × zyklotomic quits (~ethan@res388d-128-61-94-44.res.gatech.edu) (Ping timeout: 272 seconds)
09:51:54 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 250 seconds)
09:52:50 zyklotomic joins (~ethan@res380d-128-61-86-203.res.gatech.edu)
09:52:53 romesrf joins (~romes@185.5.8.134)
09:54:07 abastro joins (~abab9579@192.249.26.173)
09:55:13 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
09:57:15 xaotuk joins (~sasha@2a06:5b00:15fe:9b00::3)
09:58:02 × ehamberg quits (sid18208@id-18208.hampstead.irccloud.com) ()
10:09:00 × renzhi quits (~xp@2607:fa49:6500:b100::2dea) (Ping timeout: 240 seconds)
10:21:04 renzhi joins (~xp@2607:fa49:6500:b100::5c83)
10:26:34 × nicbk quits (~nicbk@user/nicbk) (Ping timeout: 240 seconds)
10:29:56 × qwedfg quits (~qwedfg@user/qwedfg) (Read error: Connection reset by peer)
10:34:26 qwedfg joins (~qwedfg@user/qwedfg)
10:42:20 × ubert quits (~Thunderbi@p200300ecdf158899c0f4d27fa8fbb23b.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
10:42:43 ubert joins (~Thunderbi@p548c8d44.dip0.t-ipconnect.de)
10:43:45 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
10:45:18 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 276 seconds)
10:45:18 Lord_of_Life_ is now known as Lord_of_Life
10:46:23 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
11:02:09 × gurkenglas quits (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
11:03:10 × coot quits (~coot@213.134.190.95) (Quit: coot)
11:06:41 coot joins (~coot@213.134.190.95)
11:08:15 __monty__ joins (~toonn@user/toonn)
11:13:52 × zeenk quits (~zeenk@2a02:2f04:a004:9b00:1efc:c1cf:378d:8b3d) (Quit: Konversation terminated!)
11:14:05 × dextaa4 quits (~dextaa@user/dextaa) (Remote host closed the connection)
11:14:44 takuan joins (~takuan@178-116-218-225.access.telenet.be)
11:18:10 × abastro quits (~abab9579@192.249.26.173) (Remote host closed the connection)
11:19:11 gurkenglas joins (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de)
11:23:20 × razetime quits (~quassel@117.254.34.249) (Ping timeout: 272 seconds)
11:28:44 dextaa4 joins (~dextaa@user/dextaa)
11:30:16 × sprout quits (~quassel@2a02-a467-ccd6-1-ac31-dc0e-66e4-8439.fixed6.kpn.net) (Ping timeout: 250 seconds)
11:32:09 × coot quits (~coot@213.134.190.95) (Quit: coot)
11:35:01 × td_ quits (~td@94.134.91.80) (Ping timeout: 256 seconds)
11:36:31 td_ joins (~td@94.134.91.69)
11:39:40 Unicorn_Princess joins (~Unicorn_P@93-103-228-248.dynamic.t-2.net)
11:41:33 dhil joins (~dhil@cpc103052-sgyl39-2-0-cust260.18-2.cable.virginm.net)
11:43:50 jakalx parts (~jakalx@base.jakalx.net) ()
11:44:01 machinedgod joins (~machinedg@24.105.81.50)
11:46:24 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
11:56:38 coot joins (~coot@213.134.190.95)
11:58:12 × worldhelloworld1 quits (uid543174@id-543174.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
11:59:28 frost joins (~frost@user/frost)
11:59:47 sprout joins (~quassel@2a02-a45f-f170-1-886e-9296-a164-800c.fixed6.kpn.net)
12:02:31 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:05:40 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
12:05:42 × dka quits (~code-is-a@ns3059207.ip-193-70-33.eu) (Quit: My Ex-Girlfriend once told me: I'm not a slut, I'm just popular)
12:06:43 dka joins (~code-is-a@ns3059207.ip-193-70-33.eu)
12:06:56 notzmv joins (~zmv@user/notzmv)
12:08:37 razetime joins (~quassel@117.254.34.249)
12:12:17 CiaoSen joins (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
12:18:38 jakalx joins (~jakalx@base.jakalx.net)
12:27:03 mmhat joins (~mmh@2001:4090:a242:802a:ee08:6bff:fe09:5315)
12:32:22 × dhil quits (~dhil@cpc103052-sgyl39-2-0-cust260.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
12:33:46 ccntrq joins (~Thunderbi@2a01:e34:eccb:b060:8cd:5e84:febb:646f)
12:35:09 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
12:43:14 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:45:19 × acidjnk quits (~acidjnk@p200300d0c73b4550c5e3a1b7598c6b95.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
12:45:24 Andy[m]12 joins (~anparrama@2001:470:69fc:105::1:6826)
12:52:10 × grgz quits (~grgz@grgz.me) (Quit: WeeChat 2.8)
12:52:24 × dequbed quits (~dequbed@banana-new.kilobyte22.de) (Quit: byeeeeeeee)
12:54:39 × oxide quits (~lambda@user/oxide) (Ping timeout: 276 seconds)
12:56:04 oxide joins (~lambda@user/oxide)
13:00:37 dequbed joins (~dequbed@banana-new.kilobyte22.de)
13:02:50 × coot quits (~coot@213.134.190.95) (Quit: coot)
13:05:07 Pickchea joins (~private@user/pickchea)
13:05:43 × phma quits (~phma@2001:5b0:210d:d3b8:c7a1:c00e:a306:dd56) (Read error: Connection reset by peer)
13:06:33 phma joins (~phma@host-67-44-208-94.hnremote.net)
13:08:56 × yaroot quits (~yaroot@134.27.31.150.dy.iij4u.or.jp) (Remote host closed the connection)
13:12:24 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
13:22:41 × Pickchea quits (~private@user/pickchea) (Ping timeout: 256 seconds)
13:23:22 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
13:27:48 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 276 seconds)
13:33:00 barak joins (~barak@2a02:14f:1f6:7d81:3f31:17df:d367:e26c)
13:33:27 × barak quits (~barak@2a02:14f:1f6:7d81:3f31:17df:d367:e26c) (Client Quit)
13:39:19 DNH joins (~DNH@2a02:8109:b740:2c4:9cf3:f2f4:30a1:60d0)
13:40:48 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 276 seconds)
13:41:23 gpncarl joins (~gpncarl@120.244.220.254)
13:41:24 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
13:41:25 × qwedfg quits (~qwedfg@user/qwedfg) (Quit: ZNC - https://znc.in)
13:43:38 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
13:43:50 qwedfg joins (~qwedfg@user/qwedfg)
13:43:51 × DNH quits (~DNH@2a02:8109:b740:2c4:9cf3:f2f4:30a1:60d0) (Ping timeout: 260 seconds)
13:45:55 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 256 seconds)
13:48:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
13:51:01 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
13:51:20 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
13:53:25 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
13:59:00 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
14:01:22 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:02:30 qwedfg_ joins (~qwedfg@user/qwedfg)
14:02:57 × qwedfg quits (~qwedfg@user/qwedfg) (Ping timeout: 272 seconds)
14:04:12 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
14:06:06 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Ping timeout: 272 seconds)
14:06:09 mjs2600_ joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
14:06:17 jespada joins (~jespada@cpc121022-nmal24-2-0-cust171.19-2.cable.virginm.net)
14:06:19 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
14:07:02 Pickchea joins (~private@user/pickchea)
14:07:12 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:07:22 jespada_ joins (~jespada@89.238.143.238)
14:08:00 × jespada_ quits (~jespada@89.238.143.238) (Client Quit)
14:10:35 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
14:11:10 × jespada quits (~jespada@cpc121022-nmal24-2-0-cust171.19-2.cable.virginm.net) (Ping timeout: 272 seconds)
14:11:25 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:12:19 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
14:12:24 dcoutts_ joins (~duncan@host86-151-9-6.range86-151.btcentralplus.com)
14:13:07 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:15:15 dknite joins (~dknite@2405:201:800b:481f:e27b:9687:63b0:8322)
14:15:57 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
14:16:05 coot joins (~coot@213.134.190.95)
14:18:08 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds)
14:18:18 fef joins (~thedawn@user/thedawn)
14:22:19 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
14:22:52 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
14:30:41 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 256 seconds)
14:31:04 jespada joins (~jespada@194.37.96.110)
14:33:37 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
14:35:03 <raehik> is there a way for me to get the length of a type-level symbol, as a type-level nat?
14:35:17 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:35:37 <hpc> like (length String) = 6, (length Int) = 3?
14:35:56 <raehik> No, like `Length "bla" = 3`
14:37:29 <raehik> initial googling has pointed me to the generic-lens author's work -- but no Length function https://blog.csongor.co.uk/symbol-parsing-haskell/
14:37:58 cfricke joins (~cfricke@user/cfricke)
14:37:59 × mmhat quits (~mmh@2001:4090:a242:802a:ee08:6bff:fe09:5315) (Quit: WeeChat 3.5)
14:39:05 <raehik> I will gladly ignore any Unicode pitfalls etc because it's intended for ASCII only
14:39:20 <raehik> so Char = 1
14:40:00 <raehik> there is UnconsSymbol but I don't understand how to "pattern match" on it
14:42:33 × sprout quits (~quassel@2a02-a45f-f170-1-886e-9296-a164-800c.fixed6.kpn.net) (Ping timeout: 248 seconds)
14:43:00 <abastro[m]> One could make type family for that I think
14:43:12 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
14:44:49 <raehik> abastro[m]: That's what I'm trying. Can't figure out how to write this on type level: https://paste.tomsmeding.com/TP9JdYKH
14:44:56 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
14:44:56 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
14:44:56 wroathe joins (~wroathe@user/wroathe)
14:45:18 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:46:54 <abastro[m]> You need to make type family for each case statement
14:47:12 <abastro[m]> It's going to be ugly, yea
14:47:12 notzmv joins (~zmv@user/notzmv)
14:47:33 × coot quits (~coot@213.134.190.95) (Quit: coot)
14:47:41 × dextaa4 quits (~dextaa@user/dextaa) (Remote host closed the connection)
14:48:17 <raehik> oooh I think I get it
14:48:38 × frost quits (~frost@user/frost) (Ping timeout: 252 seconds)
14:50:35 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 260 seconds)
14:52:06 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
14:52:34 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:53:04 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
14:53:07 <raehik> this feels like it should work, but I'm getting "Type instead of (some kind)" errors https://paste.tomsmeding.com/t2SC6gQU
14:54:53 <abastro[m]> Typelevel plus might be different operator
14:55:08 <abastro[m]> Oh it is same operator
14:56:03 <abastro[m]> Hmm, could you post entire error
14:56:19 <raehik> Is Maybe not polykinded?
14:56:22 <tomsmeding> what's the definition of UnconsSymbol
14:56:30 <raehik> Yes to both, one sec
14:57:00 <tomsmeding> raehik: interesting, Maybe seems not polykinded
14:57:54 <raehik> https://paste.tomsmeding.com/lGwPqmPP
14:57:54 <tomsmeding> in any case, `:k Maybe` yields `* -> *` whereas e.g. `:k Proxy` yields `k -> *`
14:58:15 <tomsmeding> yeah Maybe is not kind-polymorphic here
14:58:31 <raehik> that's weird, how does UnconsSymbol work there?
14:58:42 <tomsmeding> what's the definition of UnconsSymbol
14:59:01 <raehik> type family UnconsSymbol (a :: Symbol) :: Maybe (Char, Symbol)
14:59:10 <tomsmeding> the _definition_, not its declaration :p
14:59:12 <raehik> :k UnconsSymbol
14:59:13 <lambdabot> error:
14:59:13 <lambdabot> Not in scope: type constructor or class ‘UnconsSymbol’
14:59:27 <tomsmeding> put @let before the type family
15:00:03 <raehik> sorry, what do you mean? `@let UnconsSymbol` in ghci doesn't work
15:00:09 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
15:00:17 <tomsmeding> oh I thought you intended to do it here in lambdabot
15:00:33 <raehik> ah yes please, but I dunno how to import either xd
15:00:34 <tomsmeding> oh wait, UnconsSymbol is not a closed type family?
15:00:54 <raehik> uhhh I *think* it's internal, I can't see the def in GHC.TypeLits
15:01:07 <tomsmeding> OH ITS IN BASE
15:01:15 <tomsmeding> lol sorry
15:01:38 <tomsmeding> that's super dumb
15:02:09 <raehik> is it really polykind Maybe for that func, but the exported Maybe isn't polykind?
15:02:21 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:02:38 <tomsmeding> nah it imports Maybe from Data.Maybe
15:02:52 <abastro[m]> Ugh
15:03:14 <raehik> :k 'Just
15:03:15 <abastro[m]> Why is `(_, s) :: *`
15:03:15 <lambdabot> a -> Maybe a
15:03:24 <raehik> yeah, that's where I'm confused
15:03:34 <tomsmeding> it needs to be `'(_, s)`
15:03:48 <tomsmeding> try making it `type family SymbolLength' (a :: Maybe '( Char, Symbol)) :: Natural where`
15:03:55 <tomsmeding> still errors, but the error is somewhat more expected
15:04:01 <raehik> Oh my god
15:04:08 <abastro[m]> Oh wait. tuple lol
15:04:08 <raehik> Type-level tuple needs '()
15:04:10 <raehik> LOL
15:04:50 <dknite> Are there any Haskell programming live streams available? Like current or perhaps old archived ones?
15:04:59 × Pickchea quits (~private@user/pickchea) (Ping timeout: 240 seconds)
15:05:03 <abastro[m]> Haskell messed up by having separate namespace for types and values
15:05:04 <abastro[m]> And now they are trying to merge
15:05:21 <tomsmeding> "messed up" is subjective
15:05:57 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 276 seconds)
15:06:29 <raehik> thank you very much for the help abastro[m] tomsmeding !
15:06:30 × EvanR quits (~EvanR@user/evanr) (Quit: Leaving)
15:06:38 <hpc> as much as studying computer history makes it look like all the good ideas are old and constantly reinvented, dependent types are in fact very new
15:07:08 <hpc> so back when haskell itself was still new, nobody really knew this was going to be where language design was headed
15:07:49 <tomsmeding> here's an opinion about DH that disagrees with abastro[m] :p https://ircbrowse.tomsmeding.com/day/lchaskell/2022/04/30?id=534502#trid534502
15:08:10 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
15:10:19 × razetime quits (~quassel@117.254.34.249) (Ping timeout: 240 seconds)
15:10:33 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:11:09 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
15:12:57 dhil joins (~dhil@cpc103052-sgyl39-2-0-cust260.18-2.cable.virginm.net)
15:15:15 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
15:16:02 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
15:16:53 <abastro[m]> tomsmeding: wdym? I do not mean DH would be great
15:16:56 <abastro[m]> I personally dislike DH
15:17:18 <abastro[m]> But having common namespace for both types and values is incredibly confusing for beginners
15:17:26 <tomsmeding> abastro[m]: ah I interpreted your dislike of the separate namespaces as dislike of the DH proposal
15:17:44 <tomsmeding> s/common/separate/?
15:17:49 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:19:23 <abastro[m]> Ohhhhhhhh
15:19:28 <abastro[m]> My brain lol
15:19:53 <abastro[m]> Yea, haskell having separate namespace for types and values
15:19:59 <abastro[m]> Which confuses beginners
15:20:15 <tomsmeding> the [Int] != [17] thing
15:20:15 <tomsmeding> yeah
15:21:28 <abastro[m]> [Int] and [17], indeed
15:22:02 <abastro[m]> But also extends to e.g. () :: ()
15:22:18 <abastro[m]> Would look very cryptic to beginners
15:22:39 <tomsmeding> nah, just alien face
15:22:48 <abastro[m]> I guess `(1, 3) :: (Int, Double)` is quite common among languages so that one is more forgivable
15:22:57 <abastro[m]> Xd
15:22:58 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
15:24:19 <abastro[m]> I have legit done `type List = []` couple of times
15:24:43 <tomsmeding> I guess it helps with DataKinds quoting messes
15:25:01 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:25:38 razetime joins (~quassel@117.254.35.47)
15:26:02 <abastro[m]> Indeed
15:28:02 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
15:29:17 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
15:29:49 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:32:19 × CiaoSen quits (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
15:33:00 dextaa4 joins (~dextaa@user/dextaa)
15:35:15 hrdl joins (~hrdl@mail.hrdl.eu)
15:38:07 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
15:40:35 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:42:51 × xaotuk quits (~sasha@2a06:5b00:15fe:9b00::3) (Ping timeout: 260 seconds)
15:43:01 <raehik> You can't define a Map type family without doing defunctionalization "stuff", right?
15:43:27 <raehik> you have to write lots of concrete type families instead
15:47:10 <tomsmeding> no type-level lambdas
15:47:43 <abastro[m]> No lifting to typelevel as well right
15:47:51 <tomsmeding> of lambdas?
15:47:58 <tomsmeding> DataKinds lifting is of data types, not expressions ;)
15:48:04 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
15:48:08 <abastro[m]> I wanted to lift arbitrary function to typelevel.. oh wait there is no way such thing would work
15:48:25 <raehik> that's fine thought so, singletons all the more impressive
15:48:38 <abastro[m]> Wish reification was easier, in that case I could go opposite
15:48:42 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:49:53 mvk joins (~mvk@2607:fea8:5ce3:8500::aa1d)
15:50:35 king_gs joins (~Thunderbi@187.201.77.157)
15:51:54 × mbuf quits (~Shakthi@223.178.72.113) (Quit: Leaving)
15:53:51 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
15:53:57 × ubert quits (~Thunderbi@p548c8d44.dip0.t-ipconnect.de) (Quit: ubert)
15:56:07 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
15:56:17 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:56:30 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
16:00:14 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Client Quit)
16:01:15 × dhil quits (~dhil@cpc103052-sgyl39-2-0-cust260.18-2.cable.virginm.net) (Quit: Leaving)
16:06:00 × xff0x_ quits (~xff0x@om126234061065.16.openmobile.ne.jp) (Read error: Connection reset by peer)
16:10:37 econo joins (uid147250@user/econo)
16:14:02 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 272 seconds)
16:19:44 segfaultfizzbuzz joins (~segfaultf@192-184-223-90.static.sonic.net)
16:20:07 <segfaultfizzbuzz> quick question: i have this: data Game = Game [Move] deriving (Show, Eq)
16:20:26 <segfaultfizzbuzz> and then play :: Move -> Game -> Game play m (Game g) = g ++ [m]
16:20:57 <int-e> segfaultfizzbuzz: that's missing a Game constructor
16:21:34 <segfaultfizzbuzz> ah thaks
16:21:44 <int-e> (and I'd consider reversing that list... m : g is constant time while g ++ [m] has to traverse all of g
16:21:47 <int-e> )
16:22:19 <segfaultfizzbuzz> are : and ++ equivalent ?
16:22:33 <int-e> [m] ++ g = m : g
16:22:43 <segfaultfizzbuzz> and, as a rule of thumb, it's best to grow lists from the end to the beginning...?
16:22:48 <int-e> so as I said, the list would be reversed.
16:23:18 <int-e> it's usually better to prepend than to append to lists
16:23:28 <segfaultfizzbuzz> i see
16:23:34 <segfaultfizzbuzz> ok thanks
16:23:41 <segfaultfizzbuzz> bye
16:23:50 × segfaultfizzbuzz quits (~segfaultf@192-184-223-90.static.sonic.net) (Client Quit)
16:25:42 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 246 seconds)
16:27:05 Sgeo joins (~Sgeo@user/sgeo)
16:27:16 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
16:27:19 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
16:27:38 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
16:27:58 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Ping timeout: 272 seconds)
16:32:32 vicfred joins (~vicfred@user/vicfred)
16:33:37 × mjs2600_ quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
16:33:46 coot joins (~coot@213.134.190.95)
16:34:11 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
16:35:46 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
16:43:52 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
16:45:36 king_gs joins (~Thunderbi@187.201.77.157)
16:49:30 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
16:49:44 gpncarl joins (~gpncarl@120.244.220.254)
16:50:01 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
16:50:10 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
16:52:30 danso joins (danso@danso.ca)
16:58:03 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:03:32 <raehik> I've got a void datatype I'm using for Stuff and a typeclass instance for it that takes a value of it (and only uses the type info). Is there any way I can be really explicit that there's no value to bind, other than writing _ ?
17:03:54 <raehik> I ask because I was kinda surprised I could bind it to a name in the first place
17:05:46 <monochrom> The Proxy type.
17:06:12 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 276 seconds)
17:06:54 × razetime quits (~quassel@117.254.35.47) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
17:07:25 <monochrom> For example Storable's "size :: a -> Int" is "a -> Int" for historical reason (back when people hadn't thought of Proxy). If redesigned today, it might be "size :: p a -> Int" such that the user can say "size ([] :: [Foo])" or "size (Proxy :: Proxy Foo)".
17:08:03 <raehik> yeah, I get that. this typeclass is for term-level stuff, but this special case sees no need to store a value
17:08:12 <monochrom> The Proxy type can be found in Data.Proxy
17:08:13 <raehik> I was thinking something along the lines of EmptyCase, or however Void works
17:08:41 <raehik> to be clear, the function needs to take an `a`. but I'm making an (safe) instance for a type which has no values
17:09:46 <raehik> I can do `classFunc _ = ...`. but I'm new to this part of Haskell and wasn't sure if there was some extra explicit syntax for empty datatypes
17:11:30 yaroot joins (~yaroot@2409:12:ac0:2300:680e:dbff:fe1e:4953)
17:16:09 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 248 seconds)
17:18:39 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
17:19:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
17:20:36 lainon joins (~lainon@2601:7c0:c500:4d20:6c54:36f3:d81b:1dd6)
17:21:16 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
17:21:19 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
17:21:19 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
17:21:19 wroathe joins (~wroathe@user/wroathe)
17:24:13 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
17:25:04 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
17:31:04 × yaroot quits (~yaroot@2409:12:ac0:2300:680e:dbff:fe1e:4953) (Ping timeout: 248 seconds)
17:33:39 × lainon quits (~lainon@2601:7c0:c500:4d20:6c54:36f3:d81b:1dd6) (Ping timeout: 240 seconds)
17:33:45 Guest4981 joins (~Guest49@cpe-74-71-248-39.nyc.res.rr.com)
17:33:56 yaroot joins (~yaroot@134.27.31.150.dy.iij4u.or.jp)
17:34:30 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
17:34:38 × coot quits (~coot@213.134.190.95) (Quit: coot)
17:35:06 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
17:36:36 dcoutts__ joins (~duncan@host86-151-9-6.range86-151.btcentralplus.com)
17:39:09 alp_ joins (~alp@user/alp)
17:39:28 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 250 seconds)
17:40:10 × dcoutts_ quits (~duncan@host86-151-9-6.range86-151.btcentralplus.com) (Ping timeout: 272 seconds)
17:41:28 × dcoutts__ quits (~duncan@host86-151-9-6.range86-151.btcentralplus.com) (Ping timeout: 260 seconds)
17:41:29 vicfred joins (~vicfred@user/vicfred)
17:42:48 <Guest4981> question - working through "haskell programming from first principles", I came across this in the currying chapter
17:42:49 <Guest4981> Prelude> let curry f a b = f (a, b)
17:42:49 <Guest4981> Prelude> :t curry
17:42:50 <Guest4981> curry :: ((t1, t2) -> t) -> t1 -> t2 -> t
17:42:50 <Guest4981> Prelude> :t fst
17:42:51 <Guest4981> fst :: (a, b) -> a
17:42:51 <Guest4981> Prelude> :t curry fst
17:42:52 <Guest4981> curry fst :: t -> b -> t
17:42:52 <Guest4981> Prelude> fst (1, 2)
17:42:53 <Guest4981> 1
17:42:53 <Guest4981> Prelude> curry fst 1 2
17:42:54 <Guest4981> 1
17:42:54 <Guest4981> How does ghci know that the first argument of the curry function is of type ((t1,t2)->t)? Is it through pattern matching?
17:43:27 × deadmars- quits (~deadmarsh@95.38.115.128) (Ping timeout: 240 seconds)
17:44:08 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
17:45:30 <[exa]> Guest4981: the types get "compared" and completely matched before any code is executed, so that it's clear that the types of everyting are okay
17:45:33 <davean> ts through inference, the type system has rules, theres one one way that those rules could be followed with that code
17:45:38 <monochrom> Type inference notices that "f (a,b)" means f has to be a function, and it must accept a tuple argument.
17:46:06 <davean> well thats 3 of us saying the same thing in different ways, can we get a fourth?
17:46:32 <monochrom> Yes. http://www.vex.net/~trebla/haskell/type-inference.html :)
17:46:46 gpncarl joins (~gpncarl@120.244.220.254)
17:46:51 stomper_ joins (~stomper_@186.188.140.232)
17:47:02 <davean> Thats just someone not getting to the point
17:47:08 <Guest4981> haha ok so it is pattern matching - very cool
17:47:19 <davean> pattern matching is a specific thing
17:47:22 <Guest4981> oh
17:47:27 <Guest4981> so this falls under type inference?
17:47:34 <davean> yes
17:47:43 <Guest4981> whats the difference between this and pattern matching
17:48:17 <davean> pattern matching deconstructs data at runtime and dispatches on the deconstruction.
17:48:39 king_gs joins (~Thunderbi@187.201.77.157)
17:48:42 <Guest4981> so it needs data constructors to be pattern matching?
17:48:55 <Guest4981> or rather concrete values
17:49:05 <davean> basicly.
17:49:18 × wroathe quits (~wroathe@user/wroathe) (Quit: Lost terminal)
17:49:23 <Guest4981> aha cool thanks
17:49:42 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
17:50:52 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
17:51:33 × jlamothe quits (~jlamothe@198.251.61.229) (Remote host closed the connection)
17:51:40 Pickchea joins (~private@user/pickchea)
17:51:50 × Guest4981 quits (~Guest49@cpe-74-71-248-39.nyc.res.rr.com) (Quit: Client closed)
17:52:07 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
17:53:07 jakalx joins (~jakalx@base.jakalx.net)
17:53:26 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
17:54:14 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
17:54:34 mmhat joins (~mmh@2001:4090:a242:802a:ee08:6bff:fe09:5315)
17:56:43 deadmarshal_ joins (~deadmarsh@95.38.115.128)
17:58:17 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
18:00:50 × alp_ quits (~alp@user/alp) (Remote host closed the connection)
18:01:14 alp_ joins (~alp@user/alp)
18:02:01 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
18:04:30 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:04:58 anomal joins (~anomal@87.227.196.109)
18:05:35 mikoto-chan joins (~mikoto-ch@213.177.151.239)
18:06:46 × deadmarshal_ quits (~deadmarsh@95.38.115.128) (Ping timeout: 272 seconds)
18:06:48 jlamothe joins (~jlamothe@198.251.61.229)
18:07:57 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.5)
18:07:57 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
18:09:06 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
18:11:12 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 276 seconds)
18:11:50 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds)
18:15:00 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
18:15:03 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
18:23:28 × stomper_ quits (~stomper_@186.188.140.232) (Quit: Ping timeout (120 seconds))
18:24:42 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Remote host closed the connection)
18:26:05 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
18:26:41 × turlando quits (~turlando@user/turlando) (Quit: turlando)
18:27:28 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
18:27:54 turlando joins (~turlando@93-42-250-112.ip89.fastwebnet.it)
18:27:54 × turlando quits (~turlando@93-42-250-112.ip89.fastwebnet.it) (Changing host)
18:27:54 turlando joins (~turlando@user/turlando)
18:28:59 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
18:30:33 jmdaemon joins (~jmdaemon@user/jmdaemon)
18:31:30 xaotuk joins (~sasha@2a06:5b00:15fe:9b00::3)
18:32:24 × dolio quits (~dolio@130.44.130.54) (Ping timeout: 246 seconds)
18:34:36 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 276 seconds)
18:43:44 zeenk joins (~zeenk@2a02:2f04:a004:9b00:1efc:c1cf:378d:8b3d)
18:49:22 sprout joins (~quassel@2a02-a467-ccd6-1-c813-76d4-6151-9389.fixed6.kpn.net)
18:51:21 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:51:54 benin joins (~benin@183.82.204.110)
18:52:25 coot joins (~coot@213.134.190.95)
18:52:28 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
18:54:16 × sprout quits (~quassel@2a02-a467-ccd6-1-c813-76d4-6151-9389.fixed6.kpn.net) (Ping timeout: 248 seconds)
18:55:56 × cheater quits (~Username@user/cheater) (Read error: Connection reset by peer)
18:56:40 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
18:56:40 cheater joins (~Username@user/cheater)
18:57:53 × kimjetwav quits (~user@2607:fea8:2362:b400:bc31:2c26:50a2:8acd) (Read error: Connection reset by peer)
19:00:19 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:00:36 dolio joins (~dolio@130.44.130.54)
19:01:18 kimjetwav joins (~user@2607:fea8:2362:b400:7fd7:cde8:d843:e695)
19:04:35 × dknite quits (~dknite@2405:201:800b:481f:e27b:9687:63b0:8322) (Quit: Client closed)
19:06:25 machinedgod joins (~machinedg@24.105.81.50)
19:12:07 CiaoSen joins (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
19:15:55 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
19:18:10 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
19:22:12 sprout joins (~quassel@2a02-a467-ccd6-1-c813-76d4-6151-9389.fixed6.kpn.net)
19:24:51 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
19:25:18 × dextaa4 quits (~dextaa@user/dextaa) (Remote host closed the connection)
19:27:21 × sprout quits (~quassel@2a02-a467-ccd6-1-c813-76d4-6151-9389.fixed6.kpn.net) (Ping timeout: 248 seconds)
19:28:36 thyriaen joins (~thyriaen@ip5f5af2d7.dynamic.kabel-deutschland.de)
19:29:45 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
19:29:48 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
19:33:46 × kimjetwav quits (~user@2607:fea8:2362:b400:7fd7:cde8:d843:e695) (Remote host closed the connection)
19:34:04 kimjetwav joins (~user@2607:fea8:2362:b400:32f6:ad39:28b3:1653)
19:38:40 sprout joins (~quassel@2a02-a467-ccd6-1-c813-76d4-6151-9389.fixed6.kpn.net)
19:41:46 shapr joins (~user@148.59.24.23)
19:41:46 × Vajb quits (~Vajb@2001:999:40:1ac3:ad36:85eb:10b3:b81b) (Read error: Connection reset by peer)
19:42:18 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
19:44:15 acidjnk joins (~acidjnk@p200300d0c73b4550c5e3a1b7598c6b95.dip0.t-ipconnect.de)
19:45:02 × coot quits (~coot@213.134.190.95) (Quit: coot)
19:53:28 Pickchea joins (~private@user/pickchea)
19:58:52 × jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Ping timeout: 272 seconds)
19:59:06 × ccntrq quits (~Thunderbi@2a01:e34:eccb:b060:8cd:5e84:febb:646f) (Remote host closed the connection)
20:00:27 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Quit: king_gs)
20:01:52 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
20:04:27 × zyklotomic quits (~ethan@res380d-128-61-86-203.res.gatech.edu) (Ping timeout: 256 seconds)
20:05:01 × _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection)
20:06:26 zyklotomic joins (~ethan@res380d-128-61-87-118.res.gatech.edu)
20:08:47 EvanR joins (~EvanR@user/evanr)
20:08:49 × thyriaen quits (~thyriaen@ip5f5af2d7.dynamic.kabel-deutschland.de) (Quit: Leaving)
20:11:52 notzmv joins (~zmv@user/notzmv)
20:13:24 × dsrt^ quits (~dsrt@50.227.69.228) (Ping timeout: 276 seconds)
20:14:26 dsrt^ joins (~dsrt@50.227.69.228)
20:14:35 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
20:15:38 × oxide quits (~lambda@user/oxide) (Quit: oxide)
20:23:09 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 276 seconds)
20:25:40 pretty_d1 joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
20:27:03 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 276 seconds)
20:28:37 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
20:36:36 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
20:36:43 [_] joins (~itchyjunk@user/itchyjunk/x-7353470)
20:38:37 × pretty_d1 quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
20:38:54 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
20:40:34 × fef quits (~thedawn@user/thedawn) (Ping timeout: 240 seconds)
20:48:25 stackdroid18 joins (14094@user/stackdroid)
20:49:29 × CiaoSen quits (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
20:52:49 coot joins (~coot@213.134.190.95)
20:58:31 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
21:03:11 <exarkun> Which stdin-reading API will handle a BOM at the start?
21:05:11 × Kevin578_ quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Remote host closed the connection)
21:05:27 <hpc> https://hackage.haskell.org/package/base-4.16.1.0/docs/System-IO.html#t:TextEncoding
21:06:39 <hpc> there's some encodings you can explicitly set on the handle, or it looks like the encodings that matter have bom-aware variants
21:06:59 <hpc> like utf16 will use what bom says, or you can set utf16le or utf16be explicitly
21:10:39 <exarkun> ah, so just hSetEncoding first, ok (yea seems to work)
21:10:41 <exarkun> thanks
21:11:22 × shapr quits (~user@148.59.24.23) (Ping timeout: 250 seconds)
21:13:11 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Remote host closed the connection)
21:14:10 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.5)
21:14:30 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
21:14:57 × coot quits (~coot@213.134.190.95) (Quit: coot)
21:15:23 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
21:18:02 pavonia joins (~user@user/siracusa)
21:20:04 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 240 seconds)
21:21:38 ChaiTRex joins (~ChaiTRex@user/chaitrex)
21:21:53 gpncarl joins (~gpncarl@120.244.220.254)
21:23:56 × Pickchea quits (~private@user/pickchea) (Ping timeout: 250 seconds)
21:25:26 eggplantade joins (~Eggplanta@108.201.191.115)
21:26:37 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 256 seconds)
21:33:19 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 260 seconds)
21:36:26 × Tuplanolla quits (~Tuplanoll@91-159-68-39.elisa-laajakaista.fi) (Quit: Leaving.)
21:36:27 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
21:36:39 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
21:38:03 <jackdk> https://hackage.haskell.org/package/with-utf8 may be useful?
21:42:06 koz is now known as koz_
21:42:08 koz_ is now known as koz
21:42:16 <koz> @unmtl WriterT w Maybe
21:42:17 <lambdabot> err: `WriterT w Maybe' is not applied to enough arguments, giving `/\A. Maybe (A, w)'
21:42:22 <koz> @unmtl WriterT w Maybe a
21:42:22 <lambdabot> Maybe (a, w)
21:42:31 <koz> @unmtl MaybeT (Writer w) a
21:42:32 <lambdabot> (Maybe a, w)
21:43:23 <exarkun> withHandle does look like a pretty nice bit of functionality
21:43:53 <exarkun> it doesn't explicitly say what it does with BOMs though
21:46:10 machinedgod joins (~machinedg@24.105.81.50)
21:48:00 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Quit: king_gs)
21:48:16 king_gs joins (~Thunderbi@187.201.77.157)
21:51:37 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:53:35 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
21:59:56 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
22:00:13 jhagborg joins (~jhagborg@068-187-237-099.res.spectrum.com)
22:03:31 × romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1)
22:04:08 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 248 seconds)
22:07:02 mikoto-chan joins (~mikoto-ch@213.177.151.239)
22:08:00 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
22:09:56 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
22:10:21 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
22:12:59 nicbk joins (~nicbk@user/nicbk)
22:13:07 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 240 seconds)
22:16:31 × jhagborg quits (~jhagborg@068-187-237-099.res.spectrum.com) (Quit: Leaving)
22:17:07 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
22:17:55 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Client Quit)
22:21:47 × epolanski quits (uid312403@id-312403.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
22:24:19 × acidjnk quits (~acidjnk@p200300d0c73b4550c5e3a1b7598c6b95.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
22:30:40 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
22:34:25 × tcard quits (~tcard@p2878075-ipngn18701hodogaya.kanagawa.ocn.ne.jp) (Remote host closed the connection)
22:34:32 × nut quits (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 248 seconds)
22:34:42 tcard joins (~tcard@p2878075-ipngn18701hodogaya.kanagawa.ocn.ne.jp)
22:41:22 × anomal quits (~anomal@87.227.196.109) (Remote host closed the connection)
22:41:27 ec joins (~ec@gateway/tor-sasl/ec)
22:42:40 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:45:48 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
22:49:00 × AkechiShiro quits (~licht@user/akechishiro) (Ping timeout: 240 seconds)
22:49:02 tswett joins (~androirc@72.138.180.115)
22:50:08 AkechiShiro joins (~licht@user/akechishiro)
22:50:40 <tswett> Hey everyone. Are there any guidelines or documentation for how to implement showsPrec?
22:52:42 <hpc> mostly just "don't"
22:52:56 <tswett> That's one option :D
22:53:06 <hpc> use deriving if you can
22:53:21 <hpc> or some more suitable mechanism if you're going to be outputting json or whatever
22:54:03 <hpc> you can try looking at existing instances in base
22:54:13 <hpc> there might be something there
22:54:59 × Teacup quits (~teacup@user/teacup) (Quit: Teacup)
22:55:22 <tswett> Aha, I
22:55:30 <jackdk> Show should be considered debugging information IMHO, so `deriving Show` is fine for almost everything. If you're showing something unshowable, you're gonna generate nonsense anyway so I don't worry about `showsPrec` in such instances
22:55:41 Teacup joins (~teacup@user/teacup)
22:55:55 <tswett> *I just noticed that the documentation for showsPrec does in fact contain an example that seems pretty informative.
22:56:23 × Teacup quits (~teacup@user/teacup) (Client Quit)
22:56:48 Teacup joins (~teacup@user/teacup)
22:57:12 <tswett> That said, I'm implementing the SKI combinator calculus, and I'd like a function which produces output like "S (K S)" instead of "Apply (EAtom S) (Apply (EAtom K) (EAtom S))".
22:57:32 <tswett> Maybe using that function as my Show instance is not a good idea.
22:59:08 <jackdk> I generally call those functions `renderFoo :: Foo -> Text`
23:00:01 <EvanR> make a pretty printer
23:00:25 <EvanR> ghci may have a way to use your pretty printer instead of show?
23:01:03 <geekosaur> https://downloads.haskell.org/ghc/9.0.2/docs/html/users_guide/ghci.html#using-a-custom-interactive-printing-function
23:01:08 <jackdk> Though you may need to write something like showsPrec if you want minimal bracketing. Gonzales has a neat trick for making simple pretty printers that get parentheses right: https://www.haskellforall.com/2020/11/pretty-print-syntax-trees-with-this-one.html
23:02:19 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
23:02:24 <tswett> By the way, I haven't been in #haskell much since around 2004. Are emoji discouraged in this channel?
23:02:55 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Remote host closed the connection)
23:04:53 <monochrom> No, feel free to use emojis
23:05:15 king_gs joins (~Thunderbi@187.201.77.157)
23:06:04 <EvanR> emoji's a lot different now than in 2004, for instance we have :success_baby:, various animated rainbow memes, and that frog guy
23:06:21 <EvanR> oops that's discord
23:06:52 <tswett> 👍
23:08:22 <jackdk> I don't particularly like 'em, but I'm in the minority and there's no official rule against them or anything. Besides, I'm just one guy.
23:15:25 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 256 seconds)
23:16:22 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
23:21:56 <tswett> In any case, thanks for the help, talk to y'all later 👋
23:24:58 king_gs1 joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
23:24:58 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
23:24:58 king_gs1 is now known as king_gs
23:25:05 <exarkun> is it still an emoji if you just type out :slightly_smiling_face:
23:26:43 <jackdk> Doesn't render that way for me, though other chat services seem to do taht
23:28:03 × zeenk quits (~zeenk@2a02:2f04:a004:9b00:1efc:c1cf:378d:8b3d) (Quit: Konversation terminated!)
23:30:53 <monochrom> I guess I should have said "yes we discourage it".
23:32:35 <monochrom> People take "not discouraged" to mean "use as much as possible" as opposed to "when it makes sense".
23:36:06 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 272 seconds)
23:36:57 × xaotuk quits (~sasha@2a06:5b00:15fe:9b00::3) (Ping timeout: 248 seconds)
23:39:27 × alp_ quits (~alp@user/alp) (Ping timeout: 240 seconds)
23:41:52 <dons> morning all
23:42:00 <EvanR> is it still an emoji, ask wittgenstein
23:42:06 <dons> i note ghc 9.4.x is ready for testing. exciting
23:42:34 <jackdk> I look forward to taking my work repo beyond 8.10.7 one day
23:42:56 <geekosaur> exciting unless you're a little tired of getting whipsawed by new releases (then again 9.4 doesn't seem to have much new)
23:43:11 <abastro[m]> Will 9.4.x be more stable than 9.2.x
23:43:34 <geekosaur> it shoukld be on windows in particular
23:44:23 <abastro[m]> Ah, I wanted general stability :/
23:44:38 <abastro[m]> Perhaps the bug I am experiencing might magically fix itself
23:46:53 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Remote host closed the connection)
23:48:12 king_gs joins (~Thunderbi@187.201.77.157)
23:52:07 <EvanR> is the opposite of general stability colonel panic
23:53:23 <dons> yeah i'm pondering using 9.4.x as the step off 8.10.7
23:54:24 <Axman6> time to rip the bandaid off
23:54:36 irfan joins (~irfan@user/irfan)
23:57:34 <abastro[m]> Anyway high hopes for 9.4.x :D
23:59:32 × eggplantade quits (~Eggplanta@108.201.191.115) (Remote host closed the connection)
23:59:40 gpncarl joins (~gpncarl@120.244.220.254)

All times are in UTC on 2022-05-01.