Home freenode/#haskell: Logs Calendar

Logs on 2020-10-15 (freenode/#haskell)

00:00:02 × ermau quits (~ermau@s91904426.blix.com) ()
00:01:48 × oisdk quits (~oisdk@2001:bb6:3329:d100:2427:ffab:82d7:d76a) (Quit: oisdk)
00:03:49 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 246 seconds)
00:04:50 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
00:04:51 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
00:04:51 GyroW joins (~GyroW@unaffiliated/gyrow)
00:05:35 × pjb quits (~t@2a01cb04063ec50000393c8482ae9564.ipv6.abo.wanadoo.fr) (Ping timeout: 272 seconds)
00:08:43 × nshepperd_ quits (nshepperd@gateway/vpn/mullvad/nshepperd) (Ping timeout: 246 seconds)
00:12:25 × nineonine quits (~nineonine@216.81.48.202) (Remote host closed the connection)
00:14:49 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
00:15:14 × minne quits (~minne@4e69b241.skybroadband.com) (Ping timeout: 260 seconds)
00:17:01 nshepperd_ joins (nshepperd@gateway/vpn/mullvad/nshepperd)
00:17:09 minne joins (~minne@4e69b241.skybroadband.com)
00:17:49 elliott_ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net)
00:21:53 zyga joins (~zyga@185.163.110.116)
00:25:45 nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net)
00:26:58 × nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Read error: Connection reset by peer)
00:27:12 nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net)
00:28:30 × spew quits (uid195861@gateway/web/irccloud.com/x-dvgldqlsrlwtfayn) (Quit: Connection closed for inactivity)
00:32:32 <larou> im not sure, maybe there is some way of using the parameters to provide the lower parts
00:33:07 <larou> like, the constructor would be self referential, but that one of the parameters gave a variable that then you could also pass down the other branch
00:33:13 × larou quits (5201f2b7@gateway/web/cgi-irc/kiwiirc.com/ip.82.1.242.183) (Quit: Connection closed)
00:36:09 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
00:39:16 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 272 seconds)
00:42:29 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
00:42:31 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
00:43:39 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:d49a:a728:b92:c358) (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:46:19 nbloomf joins (~nbloomf@2600:1700:83e0:1f40:e531:b955:8b3c:f641)
00:46:28 snakemas1 joins (~snakemast@213.100.206.23)
00:48:53 whatisRT joins (~whatisRT@2002:5b41:6a33:0:68f3:8b8f:f492:c19a)
00:50:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
00:50:45 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds)
00:51:55 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 265 seconds)
00:52:55 × ensyde quits (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253) (Ping timeout: 240 seconds)
00:53:08 × frdg quits (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) (Remote host closed the connection)
00:54:28 × ystael quits (~ystael@209.6.50.55) (Ping timeout: 272 seconds)
00:59:33 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
00:59:38 × jalumar quits (uid392211@gateway/web/irccloud.com/x-pyjvlyahgokzopwq) (Quit: Connection closed for inactivity)
01:00:27 hackage co-log-polysemy-formatting 0.1.0.0 - A Polysemy logging effect for high quality (unstructured) logs. https://hackage.haskell.org/package/co-log-polysemy-formatting-0.1.0.0 (AlexChapman)
01:06:23 × xff0x quits (~fox@2001:1a81:531c:4c00:c40a:58bd:2676:630d) (Ping timeout: 272 seconds)
01:07:08 × unlink2 quits (~unlink2@p57b852f3.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
01:07:59 xff0x joins (~fox@2001:1a81:5350:d900:c40a:58bd:2676:630d)
01:08:26 pjb joins (~t@2a01cb04063ec500259c126a59c35166.ipv6.abo.wanadoo.fr)
01:11:17 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Remote host closed the connection)
01:11:34 × Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 272 seconds)
01:14:30 machinedgod joins (~machinedg@24.105.81.50)
01:16:38 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
01:19:37 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
01:20:28 falafel joins (~falafel@2605:e000:1527:d491:c9d2:9986:8bf7:dec8)
01:21:21 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:24:34 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
01:26:08 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Read error: Connection reset by peer)
01:26:23 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
01:30:11 × dddddd quits (~dddddd@unaffiliated/dddddd) (Ping timeout: 240 seconds)
01:30:47 × nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Remote host closed the connection)
01:31:38 × m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 260 seconds)
01:32:46 goepsilongo joins (~textual@2604:2000:1201:442c:cd68:73db:804e:6df0)
01:36:49 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
01:38:25 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
01:39:56 dddddd joins (~dddddd@unaffiliated/dddddd)
01:41:32 MattMareo joins (~mattl@unaffiliated/mattmareo)
01:43:25 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Quit: WeeChat 2.9)
01:45:09 × mirrorbird quits (~psutcliff@m83-187-163-53.cust.tele2.se) (Quit: Leaving)
01:45:29 tabemann joins (~tabemann@172-13-49-137.lightspeed.milwwi.sbcglobal.net)
01:45:59 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
01:46:32 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
01:49:15 × tzh quits (~tzh@2601:448:c500:5300::d4be) (Remote host closed the connection)
01:49:38 tzh joins (~tzh@2601:448:c500:5300::d4be)
01:50:39 proofofm_ joins (~proofofme@184-96-74-65.hlrn.qwest.net)
01:54:09 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:00:28 nineonine joins (~nineonine@216.81.48.202)
02:02:44 × twk- quits (~thewormki@unaffiliated/twk-) (Ping timeout: 246 seconds)
02:03:27 × marek quits (~mmahut@209.250.249.245) (Ping timeout: 265 seconds)
02:04:01 × TheScoop quits (~TheScoop@unaffiliated/tryte) (Ping timeout: 272 seconds)
02:06:38 dmiles joins (dmiles@c-73-67-179-188.hsd1.wa.comcast.net)
02:12:15 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
02:12:55 lagothrix is now known as Guest64940
02:12:55 × Guest64940 quits (~lagothrix@unaffiliated/lagothrix) (Killed (rothfuss.freenode.net (Nickname regained by services)))
02:13:02 lagothrix joins (~lagothrix@unaffiliated/lagothrix)
02:18:43 marek joins (~mmahut@209.250.249.245)
02:20:16 Saukk joins (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4)
02:20:33 × proofofm_ quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
02:22:11 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
02:23:25 × raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Ping timeout: 258 seconds)
02:24:34 plutoniix joins (~q@175.176.222.7)
02:24:43 × theDon quits (~td@94.134.91.134) (Ping timeout: 265 seconds)
02:25:40 × acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 272 seconds)
02:26:11 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:68f3:8b8f:f492:c19a) (Ping timeout: 246 seconds)
02:26:32 theDon joins (~td@muedsl-82-207-238-240.citykom.de)
02:28:25 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
02:30:13 × shailangsa quits (~shailangs@host165-120-169-97.range165-120.btcentralplus.com) (Ping timeout: 264 seconds)
02:31:04 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
02:34:02 × tzh quits (~tzh@2601:448:c500:5300::d4be) (Ping timeout: 260 seconds)
02:34:38 snakemas1 joins (~snakemast@213.100.206.23)
02:35:32 × emmanuel_erc quits (~user@2604:2000:1382:ce03:4cd9:b90b:27ea:9c15) (Ping timeout: 260 seconds)
02:35:47 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
02:37:46 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 265 seconds)
02:39:16 × nados quits (~dan@107-190-41-58.cpe.teksavvy.com) (Quit: Leaving)
02:39:20 sleblanc joins (~sleblanc@unaffiliated/sebleblanc)
02:39:29 × Amras quits (~Amras@unaffiliated/amras0000) (Ping timeout: 272 seconds)
02:39:36 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 272 seconds)
02:41:07 emmanuel_erc joins (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1)
02:41:48 × da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:42:23 tzh joins (~tzh@c-73-94-222-143.hsd1.mn.comcast.net)
02:45:02 × elliott_ quits (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 260 seconds)
02:45:49 × ericsagnes quits (~ericsagne@2405:6580:0:5100:c0a:1139:7023:580f) (Ping timeout: 272 seconds)
02:49:07 Stanley00 joins (~stanley00@unaffiliated/stanley00)
02:49:25 ransom joins (~c4264035@c-73-243-2-10.hsd1.co.comcast.net)
02:50:16 da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com)
02:50:49 × tzh quits (~tzh@c-73-94-222-143.hsd1.mn.comcast.net) (Ping timeout: 265 seconds)
02:50:51 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:e531:b955:8b3c:f641) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:53:36 tzh joins (~tzh@c-73-94-222-143.hsd1.mn.comcast.net)
02:53:37 gawen_ joins (~gawen@movzbl.root.sx)
02:53:38 × gawen quits (~gawen@movzbl.root.sx) (Ping timeout: 256 seconds)
02:53:38 × hodapp quits (~hodapp@react-ams-119225.antiddos.solutions) (Ping timeout: 256 seconds)
02:53:38 × Uniaika quits (~uniaika@163.172.211.189) (Ping timeout: 256 seconds)
02:53:38 × samebchase quits (~samebchas@51.15.68.182) (Ping timeout: 256 seconds)
02:53:45 Uniaika joins (~uniaika@163.172.211.189)
02:54:07 samebchase joins (~samebchas@51.15.68.182)
02:54:12 × nekomune quits (~nekomune@comfy.moe) (Ping timeout: 256 seconds)
02:55:03 × da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Ping timeout: 260 seconds)
02:55:43 nbloomf joins (~nbloomf@2600:1700:83e0:1f40:e531:b955:8b3c:f641)
02:56:46 twk- joins (~thewormki@unaffiliated/twk-)
02:58:01 ericsagnes joins (~ericsagne@2405:6580:0:5100:1953:d20a:d6bd:698)
02:58:31 × stree quits (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net) (Quit: Caught exception)
02:58:41 × goepsilongo quits (~textual@2604:2000:1201:442c:cd68:73db:804e:6df0) (Quit: Textual IRC Client: www.textualapp.com)
02:58:49 stree joins (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net)
02:59:20 danso joins (~dan@107-190-41-58.cpe.teksavvy.com)
02:59:52 × tzh quits (~tzh@c-73-94-222-143.hsd1.mn.comcast.net) (Ping timeout: 246 seconds)
03:00:01 × zyga quits (~zyga@185.163.110.116) ()
03:00:03 × haasn quits (~nand@mpv/developer/haasn) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
03:00:16 ensyde joins (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253)
03:01:42 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:03:01 × max_ quits (~max@bzq-110-168-31-106.red.bezeqint.net) (Ping timeout: 246 seconds)
03:04:00 nekomune joins (~nekomune@comfy.moe)
03:04:00 × danso quits (~dan@107-190-41-58.cpe.teksavvy.com) (Read error: Connection reset by peer)
03:04:29 hodapp joins (~hodapp@react-ams-119225.antiddos.solutions)
03:04:39 danso joins (~dan@107-190-41-58.cpe.teksavvy.com)
03:05:27 × ensyde quits (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253) (Ping timeout: 272 seconds)
03:06:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
03:06:31 × jgt quits (~jgt@77-255-14-254.adsl.inetia.pl) (Read error: Connection reset by peer)
03:07:19 jgt joins (~jgt@77-255-14-254.adsl.inetia.pl)
03:09:25 × djellemah quits (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54) (Ping timeout: 240 seconds)
03:09:58 tzh joins (~tzh@c-73-94-222-143.hsd1.mn.comcast.net)
03:16:22 × tzh quits (~tzh@c-73-94-222-143.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
03:18:15 × Saukk quits (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4) (Remote host closed the connection)
03:22:45 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 240 seconds)
03:26:04 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
03:29:45 tzh joins (~tzh@2601:448:c500:5300::691b)
03:31:12 × falafel quits (~falafel@2605:e000:1527:d491:c9d2:9986:8bf7:dec8) (Ping timeout: 260 seconds)
03:37:27 × tzh quits (~tzh@2601:448:c500:5300::691b) (Remote host closed the connection)
03:37:31 conal_ joins (~conal@64.71.133.70)
03:40:05 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 240 seconds)
03:41:24 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:46:00 tzh joins (~tzh@2601:448:c500:5300::c7f6)
03:48:23 unlink2 joins (~unlink2@p200300ebcf17c500f1cd4c5efbdddd1e.dip0.t-ipconnect.de)
03:51:45 Tario joins (~Tario@201.192.165.173)
03:57:39 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
03:57:42 xerox_ joins (~xerox@unaffiliated/xerox)
03:57:49 × renzhi quits (~renzhi@modemcable070.17-177-173.mc.videotron.ca) (Ping timeout: 264 seconds)
04:02:16 × solonarv quits (~solonarv@anancy-651-1-202-101.w109-217.abo.wanadoo.fr) (Ping timeout: 256 seconds)
04:02:23 Rudd0 joins (~Rudd0@185.189.115.103)
04:06:29 drbean joins (~drbean@TC210-63-209-70.static.apol.com.tw)
04:06:45 × joeytwiddle quits (~joeytwidd@162.243.115.31) (Quit: ZNC - http://znc.in)
04:06:45 plast1k_ joins (~plast1k@196.207.181.246)
04:07:57 × polyrain quits (~polyrain@2001:8003:e501:6901:65d3:a281:acef:914d) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:09:03 joeytwiddle joins (~joeytwidd@162.243.115.31)
04:09:25 × polyphem quits (~p0lyph3m@2a02:810d:640:776c:76d7:55f6:f85b:c889) (Ping timeout: 240 seconds)
04:09:29 × Buntspecht quits (~user@unaffiliated/siracusa) (Quit: Bye!)
04:10:01 × ryjm_matrix quits (~matrixirc@pool-74-105-197-68.nwrknj.fios.verizon.net) (Quit: killed)
04:10:13 × balbirs quits (~balbirs__@ozlabs.org) (Ping timeout: 246 seconds)
04:10:45 balbirs joins (~balbirs__@bilbo.ozlabs.org)
04:11:12 × christo quits (516071d5@81.96.113.213) (Remote host closed the connection)
04:11:12 × Guest34530 quits (~chris@81.96.113.213) (Read error: Connection reset by peer)
04:12:21 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
04:12:54 alp joins (~alp@2a01:e0a:58b:4920:4dc1:e34a:e4c0:3af7)
04:13:01 chris joins (~chris@81.96.113.213)
04:13:24 chris is now known as Guest34369
04:13:25 × ddellacosta quits (~dd@86.106.121.168) (Ping timeout: 240 seconds)
04:13:55 × Guest34369 quits (~chris@81.96.113.213) (Remote host closed the connection)
04:15:33 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
04:16:07 × ransom quits (~c4264035@c-73-243-2-10.hsd1.co.comcast.net) (Ping timeout: 258 seconds)
04:16:18 Sanchayan joins (~Sanchayan@171.61.90.104)
04:19:06 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
04:20:20 × nyaomi quits (~naomi@cpe-74-75-6-125.maine.res.rr.com) (Ping timeout: 256 seconds)
04:20:28 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
04:20:59 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
04:24:17 × tzh quits (~tzh@2601:448:c500:5300::c7f6) (Ping timeout: 260 seconds)
04:27:47 chendo_ joins (~chendo_@217.146.82.202)
04:28:06 day_ joins (~Unknown@unaffiliated/day)
04:28:08 × eruditass quits (uid248673@gateway/web/irccloud.com/x-kedemcdusxhenall) (Quit: Connection closed for inactivity)
04:29:48 <plast1k_> /msg NickServ VERIFY REGISTER plast1k_ rdynhuxvqnec
04:29:58 <plast1k_> oop
04:30:22 <Stanley00> oops :3
04:31:18 × day quits (~Unknown@unaffiliated/day) (Ping timeout: 260 seconds)
04:31:19 day_ is now known as day
04:31:39 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:32:24 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
04:33:55 × emmanuel_erc quits (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1) (Ping timeout: 240 seconds)
04:35:14 nyaomi joins (~naomi@cpe-74-75-6-125.maine.res.rr.com)
04:37:05 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
04:37:24 emmanuel_erc joins (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1)
04:41:54 tzh joins (~tzh@2601:448:c500:5300::c7f6)
04:43:13 <proofofme> https://pastebin.com/E97L9507 How do I make sense of these error files? Everything was working until I tried to add imap to my cabal file. I messed around with versions of base ... but no success
04:43:49 plast1k joins (~plast1k@196.207.181.246)
04:43:59 × plast1k quits (~plast1k@196.207.181.246) (Remote host closed the connection)
04:43:59 × plast1k_ quits (~plast1k@196.207.181.246) (Quit: Leaving)
04:44:50 <lemmih> proofofme: Looks like the 'imap' package is broken.
04:45:01 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:45:18 <proofofme> which part do you look at to know this?
04:45:40 <lemmih> rejecting: base-4.12.0.0/installed-4.12.0.0 (conflict: imap => base>=4.8
04:45:40 <lemmih> && <4.9)
04:46:15 <lemmih> This means it can't use base-4.12 (which is the base library for 8.6.5) because 'imap' depends on base-4.8.
04:46:44 <proofofme> should I change base versions, and if so, how?
04:46:54 <proofofme> I tried, without any success earlier
04:47:12 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
04:47:24 <koz_> proofofme: base is tied closely to compiler version.
04:47:30 <koz_> So you can't really change it.
04:47:36 <koz_> What're you after from imap?
04:47:40 <lemmih> proofofme: No, the problem is with the version of 'imap' that you're using. There are more recent versions, though.
04:47:52 <proofofme> getting and index inside a map function
04:47:57 <proofofme> getting an index*
04:48:10 <lemmih> proofofme: I don't see the dependency for 'imap' in your cabal file.
04:48:41 <koz_> Wait, this imap? http://hackage.haskell.org/package/imap
04:48:53 <koz_> That doesn't gel with what you've just said, proofofme .
04:50:07 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
04:50:50 <proofofme> I tried several versions of imap in the cabal before I removed it ... forgot that I did actually
04:50:57 <proofofme> koz_ in which way?
04:51:10 <koz_> You said you wanted 'getting an index inside a map function'.
04:51:20 <koz_> If you meant http://hackage.haskell.org/package/imap, then I don't see how that helps.
04:51:47 <proofofme> hmm ... wow, good point ...
04:51:49 <proofofme> one sec
04:52:52 × nineonine quits (~nineonine@216.81.48.202) (Remote host closed the connection)
04:53:22 tanuki_ joins (~quassel@173.168.154.189)
04:53:36 <proofofme> how would y'all do it?
04:53:37 × tanuki quits (~quassel@173.168.154.189) (Ping timeout: 264 seconds)
04:53:45 <lemmih> I think you forgot to save the cabal file after removing the 'imap' dependency. The pasted error message doesn't match the pasted cabal file.
04:53:47 × ezzieyguywuf quits (~Unknown@unaffiliated/ezzieyguywuf) (Ping timeout: 240 seconds)
04:54:06 jlamothe joins (~jlamothe@dev.jlamothe.net)
04:54:12 <proofofme> yeah, the cabal file was after I removed imap dependency
04:54:34 × nshepperd_ quits (nshepperd@gateway/vpn/mullvad/nshepperd) (Quit: bye)
04:54:47 plast1k_ joins (~plast1k@196.207.181.246)
04:55:28 <lemmih> Well, then run your executable again and see if it works.
04:55:55 ezzieyguywuf joins (~Unknown@unaffiliated/ezzieyguywuf)
04:56:12 <proofofme> well that works ... but how would y'all get an index inside a map function?
04:56:42 <lemmih> I'm not sure what that means. What are you trying to do?
04:57:33 nyd joins (~lpy@unaffiliated/elysian)
04:57:58 polyrain joins (~polyrain@2001:8003:e501:6901:65d3:a281:acef:914d)
04:58:04 × nyd quits (~lpy@unaffiliated/elysian) (Client Quit)
04:58:13 <proofofme> find the numeric index of an element inside a map of elements
04:58:28 nyd joins (~lpy@unaffiliated/elysian)
04:59:19 <lemmih> > zip [0..] "Hello world" -- Like this?
04:59:21 <lambdabot> [(0,'H'),(1,'e'),(2,'l'),(3,'l'),(4,'o'),(5,' '),(6,'w'),(7,'o'),(8,'r'),(9,...
05:00:00 <lemmih> > elemIndex 'o' "Hello world" -- Or maybe like this?
05:00:04 <lambdabot> Just 4
05:00:57 <proofofme> https://pastebin.com/RPLNgZ03
05:01:18 <proofofme> get which index the needle is in actualDivs
05:02:57 <lemmih> I still don't understand what you want but I can assure you that you won't get it from the 'imap' package. :)
05:03:40 zq joins (~zq@xorshift.org)
05:03:42 <proofofme> return '2', because that's the first index that contains one element of the needle ... for this example, at least
05:05:02 <zq> how to go about proving that reverse . concat == concat . reverse . map reverse ?
05:05:17 × conal_ quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
05:13:28 × plast1k_ quits (~plast1k@196.207.181.246) (Quit: Leaving)
05:13:47 plast1k_ joins (~plast1k_@196.207.181.246)
05:17:53 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
05:20:05 × drbean quits (~drbean@TC210-63-209-70.static.apol.com.tw) (Ping timeout: 240 seconds)
05:20:11 lucid_0x80 joins (~lucid_0x8@188.253.225.49)
05:20:17 × acidjnk_new quits (~acidjnk@p200300d0c7237896b056d7f56d23f214.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
05:22:45 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Ping timeout: 240 seconds)
05:28:09 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:e531:b955:8b3c:f641) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:28:45 bahamas joins (~lucian@unaffiliated/bahamas)
05:29:26 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
05:30:16 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
05:31:38 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
05:32:42 falafel joins (~falafel@2605:e000:1527:d491:c9d2:9986:8bf7:dec8)
05:33:24 snakemas1 joins (~snakemast@213.100.206.23)
05:34:47 <c_wraith> zq: start by proving reverse (xs ++ ys) == reverse ys ++ reverse xs
05:37:04 aqd joins (~aqd@87-92-145-87.rev.dnainternet.fi)
05:37:11 <zq> c_wraith: how would i do that? would dependent lists need to get involved?
05:37:19 <koz_> proofofme: So you want to find the poisition at which a certain predicate holds?
05:37:22 <c_wraith> just work definitionally
05:37:36 <c_wraith> use the definitions of reverse and (++)
05:38:06 <koz_> proofofme: So like http://hackage.haskell.org/package/vector-0.12.1.2/docs/Data-Vector.html#v:findIndex ?
05:39:29 <proofofme> just like findIndex! so I can pass a vector into it for the predicates, yeah?
05:39:35 zacts joins (~zacts@dragora/developer/zacts)
05:39:59 × alp quits (~alp@2a01:e0a:58b:4920:4dc1:e34a:e4c0:3af7) (Ping timeout: 272 seconds)
05:40:01 <zq> oh right, equational reasoning works in haskell
05:40:05 <koz_> proofofme: I don't understand what the statement 'pass a vector into it for the predicates' means in this context.
05:40:31 <koz_> You are correct in that findIndex takes a Vector as an argument.
05:40:37 <koz_> It has nothing to do with the predicate aspect of this.
05:41:06 <proofofme> ah ok
05:42:02 <koz_> So, once again, what exactly do you want to do?
05:42:05 <koz_> Be as specific as possible.
05:43:10 Guest88073 is now known as lep-delete
05:43:11 lep-delete is now known as Guest88073
05:43:11 Guest88073 is now known as lep-delete
05:43:15 lep-delete is now known as Guest88073
05:44:04 × zacts quits (~zacts@dragora/developer/zacts) (Client Quit)
05:44:13 <proofofme> So if the needle is [a,b,c], and the array to search is [z,y,x,a], it should return 3 because the first instance of the needle found in the "haystack" is the 3rd element (counting 0)
05:44:29 <koz_> proofofme: [z, y, x, a] is not an array.
05:44:31 <koz_> It's a list.
05:44:55 × xff0x quits (~fox@2001:1a81:5350:d900:c40a:58bd:2676:630d) (Ping timeout: 240 seconds)
05:45:00 <proofofme> ok, list, I mean
05:45:05 <koz_> OK, so you have osmething like
05:45:25 <koz_> whatProofofmeWants :: (Eq a) => [a] -> [a] -> Maybe Int
05:45:26 <koz_> Right?
05:45:58 <proofofme> yup!
05:46:08 xff0x joins (~fox@2001:1a81:5350:d900:f51f:ced4:4c46:54ba)
05:46:14 <koz_> OK, so, this is best written by starting with the more restricted version of it, which is
05:46:20 Saukk joins (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4)
05:46:28 <koz_> whatKozSuggestsYouWriteFirst :: (Eq a) => a -> [a] -> Maybe Int
05:46:37 <koz_> One thing that may help you:
05:46:41 <koz_> :t zip [0 ..]
05:46:42 <lambdabot> (Num a, Enum a) => [b] -> [(a, b)]
05:46:54 <koz_> Try and write that first.
05:48:07 <proofofme> hmm
05:48:25 <koz_> There is a function that'll do this, but I think it'd be very instructional for you to try and write this yourself first.
05:49:12 <proofofme> ok give me a little bit of time to think about this one. how long do you think it should take me?
05:49:20 × Saukk quits (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4) (Remote host closed the connection)
05:49:25 × taurux quits (~taurux@net-93-151-203-230.cust.vodafonedsl.it) (Read error: Connection reset by peer)
05:49:29 <koz_> I don't think setting a time limit on a learning task is productive.
05:49:31 <koz_> Or useful.
05:49:42 <koz_> Take whatever time your understanding, and your learning pace, needs.
05:49:44 <proofofme> yeah ... what's the function btw?
05:49:45 <koz_> If you need help, ask for it.
05:49:56 <koz_> proofofme: Telling you this would defeat the purpose of this exercise.
05:50:01 <proofofme> haha ok
05:50:37 taurux joins (~taurux@net-188-152-14-176.cust.dsl.teletu.it)
05:51:42 <dminuoso> hekkaidekapus: Heh, turns out this is an unfortunate consequence https://gitlab.haskell.org/ghc/ghc/-/issues/18836
05:51:43 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
05:52:35 <koz_> dminuoso: Yay, bugs!
05:54:24 chele joins (~chele@5.53.222.202)
05:54:41 <dminuoso> Putting us back to "Overlapping instances are just bad"
05:58:34 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
06:00:02 × chendo_ quits (~chendo_@217.146.82.202) ()
06:03:29 dhouthoo joins (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be)
06:06:54 × howdoi quits (uid224@gateway/web/irccloud.com/x-llljiaghhgnypdze) (Quit: Connection closed for inactivity)
06:09:41 zacts joins (~zacts@dragora/developer/zacts)
06:11:37 × Nik05 quits (~Nik05@unaffiliated/nik05) (Ping timeout: 256 seconds)
06:12:25 × lucid_0x80 quits (~lucid_0x8@188.253.225.49) (Ping timeout: 240 seconds)
06:12:26 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
06:15:08 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 260 seconds)
06:17:46 × falafel quits (~falafel@2605:e000:1527:d491:c9d2:9986:8bf7:dec8) (Remote host closed the connection)
06:18:45 × plast1k_ quits (~plast1k_@196.207.181.246) (Ping timeout: 240 seconds)
06:20:25 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
06:20:39 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
06:20:40 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
06:20:40 GyroW joins (~GyroW@unaffiliated/gyrow)
06:21:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:22:32 larsivi joins (~larsivi@s91904426.blix.com)
06:25:29 snakemas1 joins (~snakemast@213.100.206.23)
06:26:01 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
06:26:35 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
06:28:56 Nik05 joins (~Nik05@85.150.134.175)
06:29:21 Nik05 is now known as Guest17792
06:30:39 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
06:33:37 × Sanchayan quits (~Sanchayan@171.61.90.104) (Read error: No route to host)
06:35:05 × dave_uy quits (~david@108.61.193.26) (Quit: The Lounge - https://thelounge.chat)
06:37:13 maier joins (~maier@b2b-37-24-119-190.unitymedia.biz)
06:37:29 maier is now known as kenran
06:38:40 dave_uy joins (~david@108.61.193.26)
06:41:49 coot joins (~coot@37.30.50.102.nat.umts.dynamic.t-mobile.pl)
06:42:47 kritzefitz joins (~kritzefit@fw-front.credativ.com)
06:43:35 plast1k_ joins (~plast1k_@196.207.181.246)
06:45:10 × mirrorbird quits (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1) (Remote host closed the connection)
06:45:30 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
06:45:31 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
06:45:39 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer)
06:45:42 × zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving)
06:45:46 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
06:45:47 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
06:45:47 GyroW joins (~GyroW@unaffiliated/gyrow)
06:47:13 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 260 seconds)
06:47:47 × tzh quits (~tzh@2601:448:c500:5300::c7f6) (Ping timeout: 260 seconds)
06:49:18 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
06:50:31 × lagothrix quits (~lagothrix@unaffiliated/lagothrix) (Killed (tolkien.freenode.net (Nickname regained by services)))
06:50:37 lagothrix joins (~lagothrix@unaffiliated/lagothrix)
06:52:56 p-core joins (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515)
06:53:11 <kenran> How can I create haddock documentation for a multi-package cabal-new project such that it's "all in one page"? Is that even possible?
06:53:19 danvet_ joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
06:54:17 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Quit: bitmagie)
06:55:09 <kenran> It might have to do with the --doc-index-file option, but I don't see how I'd use it yet.
06:56:20 × nyd quits (~lpy@unaffiliated/elysian) (Read error: Connection reset by peer)
06:56:31 <kenran> I'd probably need something like https://downloads.haskell.org/~ghc/latest/docs/html/libraries/
06:57:47 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:58:53 tzh joins (~tzh@c-73-94-222-143.hsd1.mn.comcast.net)
07:00:40 ensyde joins (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253)
07:00:42 × mirrorbird quits (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1) (Quit: Leaving)
07:01:27 × xff0x quits (~fox@2001:1a81:5350:d900:f51f:ced4:4c46:54ba) (Ping timeout: 244 seconds)
07:02:36 Sanchayan joins (~Sanchayan@171.61.90.104)
07:02:58 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
07:05:17 × ensyde quits (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253) (Ping timeout: 260 seconds)
07:06:17 × tzh quits (~tzh@c-73-94-222-143.hsd1.mn.comcast.net) (Quit: zzz)
07:07:22 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
07:07:31 snakemas1 joins (~snakemast@213.100.206.23)
07:09:50 alp joins (~alp@88.126.45.36)
07:09:54 Ariakenom joins (~Ariakenom@h-155-4-221-253.NA.cust.bahnhof.se)
07:10:21 danvet joins (~danvet@2a02:168:57f4:0:5f80:650d:c6e6:3453)
07:14:36 × wagle quits (~wagle@quassel.wagle.io) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
07:14:36 × jgt quits (~jgt@77-255-14-254.adsl.inetia.pl) (Read error: Connection reset by peer)
07:14:45 × daGrevis quits (~daGrevis@unaffiliated/dagrevis) (Read error: Connection reset by peer)
07:15:07 wagle joins (~wagle@quassel.wagle.io)
07:15:28 daGrevis joins (~daGrevis@unaffiliated/dagrevis)
07:15:30 jgt joins (~jgt@77-255-14-254.adsl.inetia.pl)
07:16:47 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) ()
07:18:02 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
07:18:12 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
07:18:13 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
07:18:13 GyroW joins (~GyroW@unaffiliated/gyrow)
07:18:27 hackage mmsyn2 0.2.0.0 - The library that can be used for multiple (Ord a) => a -> b transformations https://hackage.haskell.org/package/mmsyn2-0.2.0.0 (OleksandrZhabenko)
07:18:45 × danvet quits (~danvet@2a02:168:57f4:0:5f80:650d:c6e6:3453) (Quit: Leaving)
07:20:08 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
07:20:54 chaosmasttter joins (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de)
07:21:56 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
07:21:58 hackage nri-prelude 0.1.0.4 - A Prelude inspired by the Elm programming language https://hackage.haskell.org/package/nri-prelude-0.1.0.4 (JasperWoudenberg)
07:25:04 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
07:26:13 × outerpassage quits (~outerpass@li1196-30.members.linode.com) (Quit: ZNC 1.8.1 - https://znc.in)
07:26:27 hackage bugsnag-hs 0.2.0.3 - A Bugsnag client for Haskell. https://hackage.haskell.org/package/bugsnag-hs-0.2.0.3 (JasperWoudenberg)
07:27:06 is_null joins (~jpic@pdpc/supporter/professional/is-null)
07:27:58 hackage fakedata-quickcheck 0.1.0 - Fake a -> Gen a https://hackage.haskell.org/package/fakedata-quickcheck-0.1.0 (Jappie)
07:31:27 toorevitimirp joins (~tooreviti@117.182.180.0)
07:33:06 xff0x joins (~fox@217.110.198.158)
07:36:11 polyrain_ joins (~polyrain@2001:8003:e501:6901:5438:7f7:706e:c9b0)
07:37:29 × danso quits (~dan@107-190-41-58.cpe.teksavvy.com) (Quit: WeeChat 2.9)
07:37:57 × polyrain quits (~polyrain@2001:8003:e501:6901:65d3:a281:acef:914d) (Ping timeout: 260 seconds)
07:40:02 × plast1k_ quits (~plast1k_@196.207.181.246) (Remote host closed the connection)
07:40:25 × aarvar quits (~foewfoiew@c.24.56.239.179.static.broadstripe.net) (Ping timeout: 264 seconds)
07:43:36 × lortabac quits (~lortabac@51.158.65.124) (Ping timeout: 272 seconds)
07:44:48 fendor joins (~fendor@e237-037.eduroam.tuwien.ac.at)
07:44:52 × devalot quits (~ident@mail.pmade.com) (Ping timeout: 272 seconds)
07:45:24 × gentauro quits (~gentauro@unaffiliated/gentauro) (Quit: leaving)
07:45:41 gentauro joins (~gentauro@unaffiliated/gentauro)
07:45:43 lortabac joins (~lortabac@51.158.65.124)
07:46:48 Tuplanolla joins (~Tuplanoll@91.159.68.239)
07:46:48 Aquazi joins (uid312403@gateway/web/irccloud.com/x-vrmickywrfnlobks)
07:50:47 × emmanuel_erc quits (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1) (Ping timeout: 260 seconds)
07:51:49 devalot joins (~ident@mail.pmade.com)
07:53:22 zacts joins (~zacts@dragora/developer/zacts)
07:55:33 cfricke joins (~cfricke@unaffiliated/cfricke)
08:01:00 oisdk joins (~oisdk@2001:bb6:3329:d100:2427:ffab:82d7:d76a)
08:07:14 lemmih_ joins (~lemmih@218.186.157.57)
08:10:02 × lemmih quits (~lemmih@2406:3003:2072:44:3922:9cb3:b566:fd8) (Ping timeout: 260 seconds)
08:13:08 jonathanx joins (~jonathan@dyn-8-sc.cdg.chalmers.se)
08:15:25 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
08:17:50 × rotaerk quits (~rotaerk@ender.afternet.org) (Ping timeout: 256 seconds)
08:20:28 hackage cobot-io 0.1.3.7 - Biological data file formats and IO https://hackage.haskell.org/package/cobot-io-0.1.3.7 (ozzzzz)
08:22:56 × datajerk quits (~datajerk@sense.net) (Ping timeout: 256 seconds)
08:24:07 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
08:25:03 × cyphase quits (~cyphase@unaffiliated/cyphase) (Read error: Connection reset by peer)
08:25:47 cyphase joins (~cyphase@unaffiliated/cyphase)
08:30:00 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
08:30:44 hvr_ joins (~hvr@haskell/developer/hvr)
08:30:47 MrSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
08:30:55 jgt1 joins (~jgt@77-255-14-254.adsl.inetia.pl)
08:32:20 datajerk joins (~datajerk@sense.net)
08:32:21 × dirediresalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Read error: Connection reset by peer)
08:32:21 × hvr quits (~hvr@haskell/developer/hvr) (Read error: Connection reset by peer)
08:32:21 × jgt quits (~jgt@77-255-14-254.adsl.inetia.pl) (Read error: Connection reset by peer)
08:33:38 × fii quits (~Dykomii@kyoto.mii.moe) (Ping timeout: 272 seconds)
08:33:43 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 258 seconds)
08:33:54 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
08:34:17 Iroha joins (~Dykomii@2607:5300:60:336a::1)
08:35:08 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
08:35:13 lucid_0x80 joins (~lucid_0x8@85.132.73.6)
08:35:34 cosimone joins (~cosimone@2001:b07:ae5:db26:9217:95c7:973d:d0ad)
08:37:26 da39a3ee5e6b4b0d joins (~textual@67.23.55.162)
08:38:37 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
08:38:39 __monty__ joins (~toonn@unaffiliated/toonn)
08:39:01 × hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-kgagngiamjqbxyjw) (Quit: Connection closed for inactivity)
08:41:24 thc202 joins (~thc202@unaffiliated/thc202)
08:41:39 × MrSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
08:44:42 <merijn> @remember RobRix I’m a theoretical computer scientist, in that my programs run best on theoretical computers
08:44:42 <lambdabot> It is stored.
08:44:46 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
08:45:11 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 256 seconds)
08:45:15 kuribas joins (~user@ptr-25vy0i8gfnrq7cvfnez.18120a2.ip6.access.telenet.be)
08:46:53 qiu3344 joins (~qiu3344@91.246.215.182)
08:48:33 rotaerk joins (~rotaerk@ender.afternet.org)
08:49:52 <maerwald> merijn: how convenient for you :p
08:49:56 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
08:53:28 × rotaerk quits (~rotaerk@ender.afternet.org) (Ping timeout: 256 seconds)
08:54:40 × DataComputist quits (~lumeng@static-50-43-26-251.bvtn.or.frontiernet.net) (Quit: Leaving...)
08:55:19 <dminuoso> Does lens come with some Fold for a maps keys?
08:55:46 <dminuoso> Or is `to keys . each` the way to go?
08:55:48 × lucid_0x80 quits (~lucid_0x8@85.132.73.6) (Ping timeout: 256 seconds)
08:55:53 <phadej> ifolded
08:56:12 <dminuoso> Ah, cheers phadej.
08:58:33 × zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving)
08:58:36 bahamas joins (~lucian@188.24.181.166)
08:58:36 × bahamas quits (~lucian@188.24.181.166) (Changing host)
08:58:36 bahamas joins (~lucian@unaffiliated/bahamas)
09:00:02 × larsivi quits (~larsivi@s91904426.blix.com) ()
09:03:32 × Guest17792 quits (~Nik05@85.150.134.175) (Changing host)
09:03:32 Guest17792 joins (~Nik05@unaffiliated/nik05)
09:03:37 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 258 seconds)
09:04:00 Guest17792 is now known as Nik05
09:04:10 × ericsagnes quits (~ericsagne@2405:6580:0:5100:1953:d20a:d6bd:698) (Quit: WeeChat 2.7.1)
09:05:32 <dminuoso> phadej: Is there an equivalent of asIndex in optics?
09:05:32 xff0x joins (~fox@217.110.198.158)
09:06:14 ubert joins (~Thunderbi@2a02:8109:9880:303c:ca5b:76ff:fe29:f233)
09:08:07 <phadej> i don't remember
09:08:38 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
09:09:12 × daGrevis quits (~daGrevis@unaffiliated/dagrevis) (Remote host closed the connection)
09:09:26 <phadej> looks like https://github.com/well-typed/optics/issues/321 no
09:10:58 ericsagnes joins (~ericsagne@2405:6580:0:5100:548b:75ef:7d3b:2917)
09:12:21 daGrevis joins (~daGrevis@unaffiliated/dagrevis)
09:13:40 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 246 seconds)
09:15:43 xff0x joins (~fox@217.110.198.158)
09:18:34 whatisRT joins (~whatisRT@2002:5b41:6a33:0:68f3:8b8f:f492:c19a)
09:21:19 ClaudiusMaximus joins (~claude@198.123.199.146.dyn.plus.net)
09:21:19 × ClaudiusMaximus quits (~claude@198.123.199.146.dyn.plus.net) (Changing host)
09:21:19 ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus)
09:23:23 GyroW_ joins (~GyroW@d54C03E98.access.telenet.be)
09:23:23 × GyroW_ quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
09:23:23 GyroW_ joins (~GyroW@unaffiliated/gyrow)
09:24:03 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds)
09:25:29 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
09:30:04 × iomonad quits (~iomonad@unaffiliated/iomonad) (Ping timeout: 258 seconds)
09:31:31 Zetagon joins (~leo@c151-177-52-233.bredband.comhem.se)
09:33:40 iomonad joins (~iomonad@unaffiliated/iomonad)
09:34:19 iomonad parts (~iomonad@unaffiliated/iomonad) ()
09:34:45 iomonad joins (~iomonad@unaffiliated/iomonad)
09:35:18 iomonad parts (~iomonad@unaffiliated/iomonad) ()
09:36:49 haasn joins (~nand@mpv/developer/haasn)
09:38:58 × da39a3ee5e6b4b0d quits (~textual@67.23.55.162) (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:40:25 × Rudd0 quits (~Rudd0@185.189.115.103) (Ping timeout: 240 seconds)
09:41:27 chris joins (~chris@81.96.113.213)
09:41:51 chris is now known as Guest93680
09:45:05 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds)
09:46:48 emmanuel_erc joins (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1)
09:47:43 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:48:28 m0rphism joins (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de)
09:50:55 × emmanuel_erc quits (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1) (Ping timeout: 244 seconds)
09:51:45 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
09:53:57 <fendor> I want multiple modules per file :(
09:54:39 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
09:55:05 Alleria joins (~AllahuAkb@mskresolve-a.mskcc.org)
09:55:25 × taurux quits (~taurux@net-188-152-14-176.cust.dsl.teletu.it) (Ping timeout: 240 seconds)
09:55:29 Alleria is now known as Guest72657
09:55:42 BjarniRunar1 joins (~BjarniRun@185.163.110.116)
09:56:05 × alp quits (~alp@88.126.45.36) (Ping timeout: 240 seconds)
09:56:05 ulidtko joins (~ulidtko@193.111.48.79)
09:56:44 <ulidtko> hi all
09:56:47 <ulidtko> cabal question :/
09:57:04 <Zetagon> hello there!
09:57:15 <ulidtko> I'm setting executable-stripping: True -- but the built binaries are still with debuginfo
09:57:22 <ulidtko> Cabal 2.4.0.1
09:57:34 <ulidtko> > foobar/dist-newstyle/build/x86_64-linux/ghc-8.6.5/foobar-0.1.0.0/x/foobar/build/foobar/foobar: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, with debug_info, not stripped
09:57:36 taurux joins (~taurux@net-93-144-64-237.cust.dsl.teletu.it)
09:57:37 <lambdabot> <hint>:1:121: error: <hint>:1:121: error: parse error on input ‘,’
09:58:18 <ulidtko> I've checked that the strip program is there (it's a docker container)
09:58:27 zacts joins (~zacts@dragora/developer/zacts)
09:58:34 shailangsa joins (~shailangs@host86-186-133-58.range86-186.btcentralplus.com)
10:00:13 <ulidtko> even with explicit cmdline flag, i.e. cabal new-build --executable-stripping -- the built executable is non-stripped
10:01:22 Rudd0 joins (~Rudd0@185.189.115.103)
10:02:37 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
10:02:53 <ulidtko> here, quick demo https://asciinema.org/a/365563?speed=2
10:04:28 × daGrevis quits (~daGrevis@unaffiliated/dagrevis) (Remote host closed the connection)
10:05:28 × Guest93680 quits (~chris@81.96.113.213) (Remote host closed the connection)
10:05:55 daGrevis joins (~daGrevis@unaffiliated/dagrevis)
10:07:47 acidjnk_new joins (~acidjnk@p200300d0c7237816a89fd387a81e29da.dip0.t-ipconnect.de)
10:08:33 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
10:08:45 × stree quits (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net) (Quit: Caught exception)
10:09:02 stree joins (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net)
10:09:27 <ulidtko> ahhhhh I'm dumb, sorry never mind
10:09:48 <ulidtko> should've read the docs more carefully
10:10:05 <ulidtko> - When installing binary executable programs, run the strip program on the binary.
10:11:25 <[exa]> stripping is usually done by the system install, see `man 1 install`
10:11:47 <[exa]> (for various fun reasons)
10:11:53 <ulidtko> yeah, the doc says *when installing* which I missed
10:12:33 <ulidtko> now I wonder how that will work with Stack's concept of "installing"
10:13:02 knupfer1 joins (~Thunderbi@mue-88-130-61-082.dsl.tropolys.de)
10:13:04 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
10:13:37 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
10:13:38 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
10:13:38 GyroW joins (~GyroW@unaffiliated/gyrow)
10:13:40 <[exa]> not sure, but brace for surprises :]
10:13:59 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds)
10:14:18 <ulidtko> hah, it's a boring day when computers don't surprise me :}
10:15:14 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
10:15:57 hackage hlint 3.2.1 - Source code suggestions https://hackage.haskell.org/package/hlint-3.2.1 (NeilMitchell)
10:16:29 <[exa]> you know there are nice surprises with lots of added education value, and then the other kind... :D
10:16:40 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 246 seconds)
10:17:47 × Jajik quits (xchlup2@gateway/shell/fi.muni.cz/x-xjevhnrltftutzdj) (Ping timeout: 240 seconds)
10:17:47 × xsarnik0 quits (xsarnik@gateway/shell/fi.muni.cz/x-jrprcpcmxxiihrwy) (Ping timeout: 240 seconds)
10:18:17 chris joins (~chris@81.96.113.213)
10:18:40 chris is now known as Guest24584
10:19:45 alp joins (~alp@2a01:e0a:58b:4920:7568:f452:5628:f3c5)
10:20:21 Tops2 joins (~Tobias@dyndsl-095-033-092-130.ewe-ip-backbone.de)
10:22:45 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:68f3:8b8f:f492:c19a) (Read error: Connection reset by peer)
10:27:06 × oxide quits (~lambda@unaffiliated/mclaren) (Quit: oxide)
10:27:22 oxide joins (~lambda@unaffiliated/mclaren)
10:29:09 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
10:33:24 perdent joins (~blah@101.175.98.122)
10:33:25 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
10:35:52 × ggVGc quits (~ggVGc@unaffiliated/walt) (Ping timeout: 244 seconds)
10:39:51 ggVGc joins (~ggVGc@a.lowtech.earth)
10:40:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
10:48:07 × acidjnk_new quits (~acidjnk@p200300d0c7237816a89fd387a81e29da.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
10:56:09 nyd joins (~lpy@unaffiliated/elysian)
10:57:07 dhil joins (~dhil@195.213.192.122)
11:00:23 raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net)
11:00:38 acidjnk_new joins (~acidjnk@p200300d0c7237816a89fd387a81e29da.dip0.t-ipconnect.de)
11:01:07 ensyde joins (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253)
11:01:22 × cosimone quits (~cosimone@2001:b07:ae5:db26:9217:95c7:973d:d0ad) (Quit: cosimone)
11:03:42 Jajik joins (xchlup2@gateway/shell/fi.muni.cz/x-hhrtkuzapztvvdpl)
11:03:43 × jedws quits (~jedws@121.209.161.98) (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:06:09 × ensyde quits (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253) (Ping timeout: 272 seconds)
11:07:45 × jophish quits (~jophish@2400:8901::f03c:91ff:fe39:7a9) (Quit: WeeChat 2.4)
11:12:33 <tinga> f :: Complex Int -> Complex Int ;; f x = x + (1 :+ 0)
11:12:39 <tinga> Why does this give No instance for (RealFloat Int) arising from a use of ‘+’ ?
11:13:42 <phadej> % :t (+) @(Complex _)
11:13:42 <yahb> phadej: RealFloat _ => Complex _ -> Complex _ -> Complex _
11:13:54 <phadej> RealFloat a => Num (Complex a)
11:14:08 <phadej> check the source, probably because of abs
11:16:21 xsarnik0 joins (xsarnik@gateway/shell/fi.muni.cz/x-atyswzwjgcedayoa)
11:19:01 × xwvvvvwx quits (~xwvvvvwx@185.213.155.160) (Quit: ZNC 1.8.1 - https://znc.in)
11:19:11 xwvvvvwx joins (~xwvvvvwx@185.213.155.160)
11:19:24 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:22:51 <tinga> Class Num does not have any type restrictions (I'm still a newbie, maybe class declarations never can have type restrictions anyway?) https://hackage.haskell.org/package/base-4.14.0.0/docs/src/GHC.Num.html#Num
11:23:08 <tinga> Whereas the instance declarations all have the type restriction https://hackage.haskell.org/package/base-4.14.0.0/docs/src/Data.Complex.html
11:23:52 <phadej> yes, to use an instance, you have to satisfy its constraints
11:24:14 machinedgod joins (~machinedg@24.105.81.50)
11:24:20 <phadej> "Complex a is an instance of class Num when a is an instance of RealFloat"
11:24:43 <tinga> yep, but I don't see why
11:24:50 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 256 seconds)
11:25:42 <tinga> "I just want to add a real 1 to a complex number", and it appears that I can only do that if I instantiate Complex with Float, or write my own real number type?
11:25:50 <phadej> https://hackage.haskell.org/package/base-4.14.0.0/docs/Data-Complex.html#t:Complex, whe nyou click Source next to Num (Complex a)
11:25:53 <phadej> you are taken to https://hackage.haskell.org/package/base-4.14.0.0/docs/src/Data.Complex.html#line-132
11:26:01 <phadej> and as I expected
11:26:02 <phadej> abs z = magnitude z :+ 0
11:26:04 jophish joins (~jophish@2400:8901::f03c:91ff:fe39:7a9)
11:26:05 Guest_39 joins (92c79265@101.146.199.146.dyn.plus.net)
11:26:29 <Guest_39> Hi, im having trouple installing haskell on my mac
11:26:30 <phadej> and magnitude has type
11:26:30 <phadej> magnitude :: (RealFloat a) => Complex a -> a
11:26:34 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Remote host closed the connection)
11:26:46 <phadej> tinga: yes, Num is suboptimal type-class
11:26:56 <Guest_39> is someone able to help?
11:27:02 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
11:27:46 <Guest_39> im getting a digest error when installing ghcup
11:28:07 <maerwald> Guest_39: which one
11:28:17 <phadej> using Complex to play with gaussian integers would need you to write own "Complex"
11:28:22 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
11:28:23 <tinga> OK, thanks phadej
11:28:33 <Guest_39> [ Info ] verifying digest of: ghc-8.8.4-x86_64-apple-darwin.tar.xz[ Error ] DigestError "24a6bdab3fc845b2605b951d8160d8d02d34dbb81600f3d0aabbbb8d8e8fd4fd" "e80a789e9d8cfb41dd87f3284b75432427c4461c1731d220d04ead8733ccdb5e"
11:28:40 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
11:28:41 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
11:28:41 GyroW joins (~GyroW@unaffiliated/gyrow)
11:28:55 <phadej> maerwald, bgamari ^ do you now what happened?
11:30:23 <maerwald> e80a789e9d8cfb41dd87f3284b75432427c4461c1731d220d04ead8733ccdb5e is the hash from https://downloads.haskell.org/~ghc/8.8.4/SHA256SUMS
11:30:32 × alp quits (~alp@2a01:e0a:58b:4920:7568:f452:5628:f3c5) (Remote host closed the connection)
11:30:49 alp joins (~alp@2a01:e0a:58b:4920:184a:1b71:3e52:bd7e)
11:31:03 × plutoniix quits (~q@175.176.222.7) (Quit: Leaving)
11:31:15 <maerwald> so the thing you downloaded is indeed not valid
11:32:19 <Guest_39> is also says:
11:32:27 hackage th-lego 0.1.0.4 - Template Haskell construction utilities https://hackage.haskell.org/package/th-lego-0.1.0.4 (NikitaVolkov)
11:32:33 <Guest_39> [ Error ] Also check the logs in "/Users/Guest_39/.ghcup/logs"
11:33:08 <phadej> I downloaded the tarball and i got the same e80... hash so it's not changed on the server :)
11:33:40 <phadej> and what the logs say? :)
11:34:45 <Guest_39> im not sure how to check the logs -_-
11:34:47 <maerwald> Guest_39: you can try to use wget instead: ~/.ghcup/bin/ghcup --downloader wget install ghc 8.8.4
11:37:59 × rprije quits (~rprije@14-203-72-60.tpgi.com.au) (Ping timeout: 260 seconds)
11:38:57 hackage aeson-commit 1.0 - Parse Aeson data with commitment https://hackage.haskell.org/package/aeson-commit-1.0 (jonascarpay)
11:40:10 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
11:44:52 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
11:45:23 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 258 seconds)
11:47:10 xff0x joins (~fox@217.110.198.158)
11:49:08 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
11:49:26 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
11:52:26 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
11:56:45 × Guest24584 quits (~chris@81.96.113.213) (Remote host closed the connection)
11:57:04 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
12:00:01 × BjarniRunar1 quits (~BjarniRun@185.163.110.116) ()
12:01:49 bahamas joins (~lucian@unaffiliated/bahamas)
12:03:42 comorbid_enflori is now known as guy_lombardo
12:05:37 × oisdk quits (~oisdk@2001:bb6:3329:d100:2427:ffab:82d7:d76a) (Quit: oisdk)
12:07:37 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Quit: bitmagie)
12:08:27 urodna joins (~urodna@unaffiliated/urodna)
12:11:28 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 256 seconds)
12:11:46 × Guest_39 quits (92c79265@101.146.199.146.dyn.plus.net) (Remote host closed the connection)
12:12:09 djellemah joins (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54)
12:12:18 chris joins (~chris@81.96.113.213)
12:12:41 chris is now known as Guest58695
12:14:33 × chaosmasttter quits (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
12:14:46 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
12:14:48 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
12:15:08 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Client Quit)
12:15:33 nbloomf joins (~nbloomf@2600:1700:83e0:1f40:e531:b955:8b3c:f641)
12:16:25 × Guest58695 quits (~chris@81.96.113.213) (Ping timeout: 240 seconds)
12:16:27 hackage aeson-commit 1.1 - Parse Aeson data with commitment https://hackage.haskell.org/package/aeson-commit-1.1 (jonascarpay)
12:19:27 hackage ptr-poker 0.1 - Pointer poking action construction and composition toolkit https://hackage.haskell.org/package/ptr-poker-0.1 (NikitaVolkov)
12:21:38 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 272 seconds)
12:21:40 <dminuoso> What am I to make of this diagnostic? https://gist.github.com/dminuoso/a1767ce83e8ff645dfdae7d29aed51e4
12:22:03 <dminuoso> That seems like a buggy GHC heuristic.
12:22:41 <dminuoso> % data Foo = Foo1 Foo1
12:22:41 <yahb> dminuoso: ; <interactive>:14:17: error:; * Data constructor `Foo1' cannot be used here (it is defined and used in the same recursive group); * In the type `Foo1'; In the definition of data constructor `Foo1'; In the data declaration for `Foo'
12:23:13 <dminuoso> This should emit: Not in scope: type constructor or class `Foo1'; Perhaps you meant `Foo' (line 15)
12:23:20 xff0x joins (~fox@217.110.198.158)
12:23:27 <dminuoso> Or is there some weird Haskell semantics that justify the above diagnostic?
12:24:41 elliott_ joins (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net)
12:25:49 × nyd quits (~lpy@unaffiliated/elysian) (Quit: nyd)
12:26:27 <Ariakenom> tinga, maybe im misunderstanding but. "I just want to add a real 1 to a complex number" your code does that if u change the type to "f :: RealFloat a => Complex a -> Complex a"
12:27:00 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:e531:b955:8b3c:f641) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:28:21 <merijn> dminuoso: heh, which GHC is that?
12:28:35 <merijn> dminuoso: eh, wait
12:28:47 <merijn> dminuoso: Is there an actual V_3GPP type anywhere?
12:28:58 <dminuoso> merijn: No, I forgot to import it.
12:28:59 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
12:29:10 <Ariakenom> but that doesnt work if u want Int in particular
12:29:15 <merijn> Do you have DataKinds enabled?
12:29:38 <dminuoso> % :set -XNoDataKinds
12:29:38 <yahb> dminuoso:
12:29:41 <dminuoso> % data Foo = Foo1 Foo1
12:29:41 <yahb> dminuoso: ; <interactive>:17:17: error:; Not in scope: type constructor or class `Foo1'; A data constructor of that name is in scope; did you mean DataKinds?; Perhaps you meant `Foo' (line 17)
12:29:47 <dminuoso> merijn: That's it! Thanks!
12:29:48 <merijn> oom
12:29:51 <merijn> *boom
12:29:53 <dminuoso> Good catch. :)
12:30:08 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Client Quit)
12:30:08 <merijn> I'm a genius at debugging intuition ;)
12:30:15 <dminuoso> heh
12:30:22 <dminuoso> I mean it was obvious the moment you mentioned it
12:30:37 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
12:31:49 <dminuoso> I have a pretty cool usecase of data kinds now. :)
12:32:13 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
12:33:10 dyeplexer joins (~lol@unaffiliated/terpin)
12:35:22 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
12:35:23 <merijn> Inscrutable errors? :p
12:35:26 × fryguybob quits (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com) (Remote host closed the connection)
12:36:46 nbloomf joins (~nbloomf@2600:1700:83e0:1f40:ece1:4d72:7859:59d1)
12:36:50 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 272 seconds)
12:37:01 chaosmasttter joins (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de)
12:38:54 AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl)
12:39:40 <dminuoso> merijn: Nah. So I have lots of nullary sum types. To avoid name clashing, they are prefixed by the attribute name
12:39:57 <dminuoso> So I have `ASA_WebVPN_SSL_VPN_Client_Keep_Installation_Enabled` `ASA_WebVPN_Port_Forwarding_Exchange_Proxy_Enable_Enabled` etc
12:40:07 <dminuoso> It's much easier to just say #Enabled instead. :)
12:40:31 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
12:41:02 <dminuoso> And use generated IsLabel instances
12:41:24 <AWizzArd> In Snap I can encode variable parts of a route via colon: `:id`. Are query parameters also encoded in the route? Or are they exclusively captured via rqQueryParams?
12:41:27 <dminuoso> Or `fromLabel @"Foo-Bar"` if you dont want to use OverloadedLabels, or can it
12:41:31 <dminuoso> *or cant
12:42:01 <dminuoso> So that gives rise to some cool combinators together with the optics library
12:42:03 <dminuoso> like
12:42:30 <dminuoso> whenM (Acct_Authentic ./= #RADIUS) (...)
12:43:10 <dminuoso> Err, that should start with an understore. :)
12:43:23 <merijn> dminuoso: I'm a luddite who is still not using optics :p
12:44:03 <phadej> Kowainik :)
12:44:30 OmegaDoug joins (8e750cd2@lnsm3-torontoxn-142-117-12-210.internet.virginmobile.ca)
12:44:51 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:ece1:4d72:7859:59d1) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:45:08 <phadej> merijn: are you using lens?
12:45:21 <merijn> phadej: I meant no optics at all
12:45:39 <merijn> regardless of package
12:45:48 <phadej> then it's fine.
12:46:07 <merijn> I mean, I think I have 5 lines of microlens to interact with persistent, but that's it :p
12:46:43 <phadej> interacting with swagger2 using OverloadedLabels and optics is very nice
12:47:01 <phadej> specifically after I fixed the VIM highlighting for overloadedlabels :)
12:47:01 <dminuoso> Indeed, we use that as well. :)
12:47:34 <merijn> phadej: Out of curiosity, are you secretly a bunch of androids who don't need sleep?
12:47:37 <dminuoso> But I didn't start optics/lens them until we started working on this SDN compiler. That project had very deeply nested data, and there were very repeating pattern themes.
12:48:00 <dminuoso> Though, I must admit, ever since I started, optics has appeared popping up in some projects here
12:48:05 <phadej> merijn: I in fact sleep 9+ hours a day
12:48:22 <merijn> phadej: At this rate you're outputting more code than edwardk >.>
12:48:48 <dminuoso> merijn: edwardk's capacitity to put out code is limited by the influx of articles on ncatlab.
12:49:06 <merijn> :p
12:49:52 <merijn> my capacity is limited by "cat petting" having priority over coding >.>
12:50:01 ensyde joins (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253)
12:50:02 <dminuoso> since when do you have a cat?
12:50:06 nbloomf joins (~nbloomf@2600:1700:83e0:1f40:1d95:d5fb:2f0c:fa1f)
12:50:17 <merijn> mid-2016?
12:50:41 <merijn> Ironically, most of my Haskell is after mid-2016
12:51:01 <merijn> OTOH, before this year I spent most of my day at work, where there's no cat... :p
12:51:11 <phadej> is your cat named Haskell
12:51:34 <phadej> or Hask
12:52:16 <merijn> Usually she just gets called panther princess :p
12:53:27 <absence> what's the right way to deal with duplicate record fields across modules? https://repl.it/repls/GruesomeTrustyLocation
12:54:03 <merijn> 1) don't have those, 2) only import them qualified, 3) some complicated mess of extensions and voodoo
12:54:37 <merijn> oh, 4) don't have record field accessors at all (not implemented yet, afaik)
12:54:42 × ensyde quits (~ensyde@2600:1702:2e30:1a40:f09c:a012:516e:b253) (Ping timeout: 260 seconds)
12:55:22 <absence> merijn: the thing is that if i put everything in the same module, it just works, so i thought maybe i was missing something "obvious"
12:55:33 <phadej> enable DuplicateRecordFields in a module you use them too?
12:55:51 <absence> phadej: i tried that, but it doesn't make a difference unfortunately
12:56:20 <merijn> having accesors was a mistake, -XNoFieldSelectors + -XNamedFieldPuns is the way forward!
12:56:40 <merijn> (you know, once NoFieldSelectors finally ships...)
12:56:56 <phadej> also naming types.hs Types.hs will help GHC find it
12:57:04 <hpc> -XBasicallyJustRustADTs
12:57:44 <merijn> hpc: I dunno how those work? how do they differ from ADTs in haskell?
13:00:01 <hpc> mechanically they're practically the same as strict haskell would be, but that combination of extensions makes pattern matching syntax on them very similar as well
13:00:29 <tinga> Ariakenom, yes, I was imprecise, I just meant a non-complex number (add 1 to the real part) and I wanted to write a function that would work for any `a` in `Complex a`
13:01:33 <tinga> Why is it that with type classes the type restriction holds for the whole class instead of just the methods where the restriction is relevant?
13:01:51 <merijn> tinga: What do you mean?
13:02:00 × Gerula quits (~Gerula@unaffiliated/gerula) (Quit: Leaving)
13:02:42 <tinga> Num covers (+), (-), abs, etc., but the RealFloat restriction only exists because of `abs`.
13:02:43 <phadej> because if you would want different restrictons, you'd rather have separate classes :)
13:02:53 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 260 seconds)
13:03:15 <phadej> better question is "wnhy Num has abs", which has a very boring question: Because in '90s that sounded like a good idea
13:03:22 <tinga> merijn, So if I wanted to only ever use + and - from Num, the RealFloat restriction doesn't matter for me.
13:03:36 <phadej> sorry, boring answer
13:03:37 <merijn> Which RealFloat restriction?
13:03:48 <phadej> merijn: RealFloat a => Num (Complex a)
13:04:09 <merijn> ah
13:04:12 <phadej> see discussion ~100 messages prior
13:04:31 xff0x joins (~fox@217.110.198.158)
13:04:46 <merijn> tinga: Simple answer: because arbitrarily fine-grained splitting requires tons of manual work with very little to no pay off
13:04:56 <tinga> My question is towards: would type reasoning become impossible or computationally more complex if type classes would be "splittable" according to use,
13:04:56 <merijn> tinga: In short, nobody cares enough
13:05:02 jneira_ joins (~jneira@211.red-176-87-17.dynamicip.rima-tde.net)
13:05:23 <tinga> I mean, automatic splitting.
13:05:40 <tinga> Maybe I'm being stupid, not sure.
13:05:44 <merijn> tinga: Well, you'd first have to invent a semantics for what "splittable" even means, then you'd have to implement it, then you'd have to update all existing code
13:05:52 invaser joins (~Thunderbi@46-133-205-72.mobile.vf-ua.net)
13:05:53 <merijn> tinga: Many people hate the Num hierarchy for many reasons
13:05:59 <merijn> A lot of them even valid reasons
13:06:19 <tinga> Since it would only allow more code to be valid, not restrict existing code, no code would have to be changed.
13:06:30 <phadej> bold clam
13:06:32 <phadej> claim
13:06:34 <merijn> tinga: But every proposed alternative has either required: 1) tons of extensions, 2) made code dramatically harder to understand, 3) not much practical use
13:06:55 <tinga> :) Ok, that sounds like a reasonable answer.
13:07:43 <merijn> tinga: Like, sure, Num is broken in all sorts of mathematical ways, but most of the proposed fixes are "more correct", but also 10 times more annoying to use to write, you know, actual code :)
13:08:14 <tinga> Is there a somewhat widely accepted alternative for Num ?
13:08:22 <merijn> No
13:08:34 <merijn> There's about 20 *not* widely accepted alternatives, though!
13:08:50 lucid_0x80 joins (~lucid_0x8@85.132.73.6)
13:09:00 <merijn> All they cost you is "all interoperability with the rest of Hackage" ;)
13:12:37 acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net)
13:13:15 <kuribas> merijn: there is the purescript type class hierarchy
13:13:21 <phadej> I don't think anyone tried hard enough to satisfy "algebraists" and "float-pointers" at the same time
13:13:30 Thompson joins (~Thompson@cpe-72-129-144-92.new.res.rr.com)
13:13:33 geekosaur joins (82659a0e@host154-014.vpn.uakron.edu)
13:13:37 <phadej> kuribas: purescript hierarchy lies about floats :)
13:14:12 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 256 seconds)
13:14:15 emmanuel_erc joins (~user@cpe-67-243-153-99.nyc.res.rr.com)
13:14:21 <kuribas> https://pursuit.purescript.org/packages/purescript-numerics/0.1.2/docs/Data.Num
13:15:40 <phadej> as concrete example, IMO having CommutativeRing like no-members but extra laws class is antipattern in Haskell (and fwiw in PS as well)
13:15:43 xff0x joins (~fox@217.110.198.158)
13:15:45 DavidEichmann joins (~david@43.240.198.146.dyn.plus.net)
13:15:48 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
13:15:51 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 258 seconds)
13:15:58 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
13:15:59 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
13:15:59 GyroW joins (~GyroW@unaffiliated/gyrow)
13:16:06 <phadej> if you want to have such, you would need to have a member which has extra laws attached to it
13:16:08 × bitmapper quits (uid464869@gateway/web/irccloud.com/x-eumwksferfqxnztz) (Quit: Connection closed for inactivity)
13:16:12 <phadej> e.g. + is commutative and .+ isn't
13:16:36 <phadej> ... and we can debate whether that or single + is better to the end of the universe :)
13:18:17 raichoo joins (~raichoo@dslb-088-077-024-025.088.077.pools.vodafone-ip.de)
13:20:26 <dminuoso> kuribas: You asked why no newtype around Int, because not all integers are permissable.
13:20:47 <dminuoso> But to be perfectly blunt, the vendor who was responsible for this is an idiot, as integer would have been the right thing here.
13:21:00 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
13:22:21 <kuribas> dminuoso: newtype with smart constructor?
13:25:17 × geekosaur quits (82659a0e@host154-014.vpn.uakron.edu) (Remote host closed the connection)
13:25:38 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Ping timeout: 260 seconds)
13:26:50 geekosaur joins (82659a0e@host154-014.vpn.uakron.edu)
13:27:12 Stanley00 joins (~stanley00@unaffiliated/stanley00)
13:28:42 <Ariakenom> > [0.5, 1.5 .. 2] -- we hating on numbers?
13:28:46 <lambdabot> [0.5,1.5,2.5]
13:28:59 <merijn> the Enum instance for Float and Double can go die in a fire
13:29:01 <merijn> Stupid ass idea
13:29:04 × kritzefitz quits (~kritzefit@fw-front.credativ.com) (Remote host closed the connection)
13:31:27 doomas joins (~doomas@94.229.74.91)
13:32:03 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 260 seconds)
13:32:25 invaser1 joins (~Thunderbi@31.148.23.125)
13:33:10 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 265 seconds)
13:34:18 × Thompson quits (~Thompson@cpe-72-129-144-92.new.res.rr.com) (Quit: Thompson)
13:35:01 × geekosaur quits (82659a0e@host154-014.vpn.uakron.edu) (Remote host closed the connection)
13:35:40 × invaser quits (~Thunderbi@46-133-205-72.mobile.vf-ua.net) (Ping timeout: 256 seconds)
13:35:41 invaser1 is now known as invaser
13:43:56 snakemas1 joins (~snakemast@213.100.206.23)
13:48:47 × jneira_ quits (~jneira@211.red-176-87-17.dynamicip.rima-tde.net) (Read error: Connection reset by peer)
13:49:19 jneira_ joins (~jneira@80.30.100.250)
13:52:07 Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
13:56:50 bitmapper joins (uid464869@gateway/web/irccloud.com/x-dkvrjjnwvljgfxqg)
13:58:11 zwarag joins (~zwarag@2a02:8388:a80:d380:a0f0:b686:a197:d627)
13:59:27 × p-core quits (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515) (Ping timeout: 260 seconds)
14:00:44 × qiu3344 quits (~qiu3344@91.246.215.182) (Quit: WeeChat 2.9)
14:01:15 <zwarag> I'm looking for a `[Int] -> String` which would: `[1,2,3] -> '[1,2,3]'`. According to the following Link `intsToDigits` should do that but I might confuse something :https://hackage.haskell.org/package/percent-format-0.0.1/docs/Text-PercentFormat-Utils.html#v:intsToDigits
14:01:43 × ixlun quits (~matthew@213.205.241.94) (Read error: Connection reset by peer)
14:02:00 <Taneb> > show [1, 2, 3]
14:02:01 × jneira_ quits (~jneira@80.30.100.250) (Ping timeout: 264 seconds)
14:02:03 <[exa]> zwarag: why not just combine show and reverse?
14:02:03 <lambdabot> "[1,2,3]"
14:02:21 × jrm quits (~jrm@freebsd/developer/jrm) (Quit: ciao)
14:03:14 jneira_ joins (~jneira@211.red-176-87-17.dynamicip.rima-tde.net)
14:03:21 <[exa]> zwarag: or perhaps `intercalate`, if you want to do it extra manually
14:03:51 Guest23693 joins (~urdh@h77-53-54-187.cust.a3fiber.se)
14:04:07 Achylles joins (~Achylles@191.17.181.222)
14:04:38 <zwarag> My function actually is: `testFactorize x l = it (printf "factors of %d should be %s", x l ) $ l == factorize x` where x is 10 and l is [1,2,5,10] printf is from `import Text.Printf (printf)`
14:05:25 <merijn> zwarag: Presumably that should be "show l"?
14:06:01 <dminuoso> kuribas: 2000 smart constructors? What's the benefit here? And how are you gonna pattern match against smart constructors?
14:06:18 <kuribas> dminuoso: a single one of course :)
14:06:27 <dminuoso> well at any case
14:06:42 <dminuoso> The ADT is gonna stay! :P
14:07:19 vismaya joins (d03b9e15@208.59.158.21)
14:07:23 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Ping timeout: 240 seconds)
14:08:29 <zwarag> mhmm, I cannot figure out how to do `show l` right. I get this syntax error: https://imgur.com/a/fqpkkeS
14:08:48 × bliminse quits (~bliminse@host217-42-95-37.range217-42.btcentralplus.com) (Ping timeout: 260 seconds)
14:09:11 <[exa]> can you please use pastebin for text?
14:09:34 bliminse joins (~bliminse@host217-42-95-37.range217-42.btcentralplus.com)
14:10:28 <zwarag> sure. https://pastebin.com/gBzTdsH1
14:11:05 × alp quits (~alp@2a01:e0a:58b:4920:184a:1b71:3e52:bd7e) (Ping timeout: 272 seconds)
14:11:05 <dminuoso> zwarag: You probably want to invoke that as `it (printf "..." x (show l)) $ ...
14:11:26 <zwarag> here is also Factorize.hs if it is needed: https://pastebin.com/StUee5Da
14:12:27 hackage flashblast 0.0.1.0 - Generate lanuage learning flashcards from video. https://hackage.haskell.org/package/flashblast-0.0.1.0 (locallycompact)
14:12:36 <zwarag> dminuoso: I did try that, but I still get an error: https://imgur.com/a/pkUXthG
14:12:50 <dminuoso> Can you please not use imgur to share textual information?
14:13:00 <dminuoso> Also, that looks unchanged.
14:13:17 ystael joins (~ystael@209.6.50.55)
14:13:18 <dminuoso> zwarag: essentially, the comma is out of place.
14:13:30 <dminuoso> It doesnt do what you think it does.
14:14:12 Gerula joins (~Gerula@unaffiliated/gerula)
14:14:13 <zwarag> ahh now I see. Thank you dminuoso. Is it better/preferred to post errors in pastebin too?
14:14:54 <dminuoso> Yes.
14:15:15 <dminuoso> You can use tools such as https://paste.tomsmeding.com/ that allow you to submit multiple files.
14:15:36 <dminuoso> that way you can split code and GHC output, or other data, into separate blocks that can be syntax highlighted appropriately
14:16:01 × foldr quits (~foldr@90.248.57.181) (Remote host closed the connection)
14:16:32 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 256 seconds)
14:16:33 × jgt1 quits (~jgt@77-255-14-254.adsl.inetia.pl) (Read error: Connection reset by peer)
14:16:37 GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
14:16:37 × GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
14:16:37 GyroW_ joins (~GyroW@unaffiliated/gyrow)
14:16:53 × lucid_0x80 quits (~lucid_0x8@85.132.73.6) (Remote host closed the connection)
14:17:06 jgt1 joins (~jgt@77-255-14-254.adsl.inetia.pl)
14:17:06 <AWizzArd> io-streams. When I have an `InputStream ByteString` and want to read JSON objects out of it, how should I do it? Will I have to read byte-wise from this stream and check when a closing `}` is found?
14:18:09 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:21:01 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 265 seconds)
14:21:22 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Client Quit)
14:21:40 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
14:21:41 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
14:21:41 GyroW joins (~GyroW@unaffiliated/gyrow)
14:21:49 polyphem joins (~p0lyph3m@2a02:810d:640:776c:76d7:55f6:f85b:c889)
14:22:33 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
14:23:25 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 240 seconds)
14:23:47 chris joins (~chris@81.96.113.213)
14:24:10 da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com)
14:24:10 chris is now known as Guest37184
14:24:30 × aqd quits (~aqd@87-92-145-87.rev.dnainternet.fi) (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:25:00 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
14:26:40 oisdk joins (~oisdk@2001:bb6:3329:d100:11d5:8dc1:169a:e187)
14:26:55 × berberman_ quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.7.5 - https://znc.in)
14:27:11 lucasb joins (uid333435@gateway/web/irccloud.com/x-qhpgfsleurzdehfq)
14:27:18 berberman joins (~berberman@unaffiliated/berberman)
14:28:54 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:29:24 berberman joins (~berberman@unaffiliated/berberman)
14:29:30 × Sanchayan quits (~Sanchayan@171.61.90.104) (Quit: leaving)
14:30:29 × OmegaDoug quits (8e750cd2@lnsm3-torontoxn-142-117-12-210.internet.virginmobile.ca) (Ping timeout: 245 seconds)
14:30:55 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:31:06 jrm joins (~jrm@freebsd/developer/jrm)
14:31:16 × jonathanx quits (~jonathan@dyn-8-sc.cdg.chalmers.se) (Remote host closed the connection)
14:31:28 hackage haskellish 0.2.3.1 - For parsing Haskell-ish languages https://hackage.haskell.org/package/haskellish-0.2.3.1 (dktr0)
14:31:32 berberman joins (~berberman@unaffiliated/berberman)
14:32:38 × Guest23693 quits (~urdh@h77-53-54-187.cust.a3fiber.se) (Quit: Boom!)
14:32:55 × acidjnk_new quits (~acidjnk@p200300d0c7237816a89fd387a81e29da.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
14:32:59 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:33:33 berberman joins (~berberman@unaffiliated/berberman)
14:33:48 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
14:34:16 Buntspecht joins (~user@unaffiliated/siracusa)
14:35:02 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:35:14 urdh joins (~urdh@h77-53-54-187.cust.a3fiber.se)
14:35:38 urdh is now known as Guest76130
14:35:47 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
14:36:05 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
14:36:06 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
14:36:06 GyroW joins (~GyroW@unaffiliated/gyrow)
14:36:09 berberman joins (~berberman@unaffiliated/berberman)
14:36:58 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
14:37:35 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:38:09 berberman joins (~berberman@unaffiliated/berberman)
14:39:20 × Guest76130 quits (~urdh@h77-53-54-187.cust.a3fiber.se) (Client Quit)
14:39:39 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:39:52 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 246 seconds)
14:40:07 berberman joins (~berberman@unaffiliated/berberman)
14:41:27 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
14:41:59 xff0x joins (~fox@217.110.198.158)
14:42:06 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:42:37 berberman joins (~berberman@unaffiliated/berberman)
14:44:10 × berberman quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
14:44:11 × raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Read error: Connection reset by peer)
14:44:36 berberman joins (~berberman@unaffiliated/berberman)
14:44:48 raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net)
14:45:01 × pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Ping timeout: 256 seconds)
14:45:23 × polyrain_ quits (~polyrain@2001:8003:e501:6901:5438:7f7:706e:c9b0) (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:45:26 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
14:47:12 pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
14:47:21 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
14:48:59 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 256 seconds)
14:50:28 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 272 seconds)
14:50:28 × Guest37184 quits (~chris@81.96.113.213) (Remote host closed the connection)
14:51:07 alp joins (~alp@2a01:e0a:58b:4920:68d6:ac21:2986:7340)
14:52:04 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-ritgaqlnctnhotjj)
14:52:05 × poljar quits (~poljar@93-139-70-179.adsl.net.t-com.hr) (Ping timeout: 240 seconds)
14:52:09 xff0x joins (~fox@217.110.198.158)
14:53:08 fryguybob joins (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com)
14:54:37 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
14:54:51 solonarv joins (~solonarv@anancy-651-1-202-101.w109-217.abo.wanadoo.fr)
14:54:55 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
14:54:56 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
14:54:56 GyroW joins (~GyroW@unaffiliated/gyrow)
14:55:41 × chele quits (~chele@5.53.222.202) (Quit: Leaving)
14:57:31 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
14:58:05 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
14:58:14 poljar joins (~poljar@93-139-70-179.adsl.net.t-com.hr)
14:59:29 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
15:00:01 × doomas quits (~doomas@94.229.74.91) ()
15:03:19 × carlomagno quits (~cararell@inet-hqmc02-o.oracle.com) (Remote host closed the connection)
15:03:23 × ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Quit: ->)
15:04:31 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
15:04:31 <dminuoso> lens/optics question: I have some [(10,Just "abc"), (20, Just "cde"), (30, Nothing)] -- is there a way to take some `each . _Just . each` and combine it with the Int in the tuple as its "Ix"?
15:05:17 <phadej> what you mean by combine
15:05:39 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 260 seconds)
15:05:51 <dminuoso> So I want to fold over each character, while having access to the number.
15:05:52 w1gz[m] joins (w1gzmatrix@gateway/shell/matrix.org/x-ymbhwxurjlfoxjnq)
15:05:53 <dminuoso> Sort of like
15:06:05 <dminuoso> Fold [(Int, Maybe String)] (Int, Char)
15:06:07 <phadej> :t <.
15:06:09 <lambdabot> error: parse error on input ‘<.’
15:06:13 <phadej> :t (<.)
15:06:16 <lambdabot> Indexable i p => (Indexed i s t -> r) -> ((a -> b) -> s -> t) -> p a b -> r
15:06:22 <phadej> lookup it on lens docs
15:06:43 <dminuoso> phadej: That's spot on! Thanks. :)
15:07:02 w1gz[m] is now known as wi[m]
15:07:20 xff0x joins (~fox@217.110.198.158)
15:09:30 ixlun joins (~matthew@213.205.241.94)
15:10:18 × kenran quits (~maier@b2b-37-24-119-190.unitymedia.biz) (Ping timeout: 256 seconds)
15:10:55 × djellemah quits (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54) (Ping timeout: 240 seconds)
15:12:30 <ixlun> Ugh, got disconnected... did my previous question get through?
15:13:43 invaser joins (~Thunderbi@31.148.23.125)
15:13:59 nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net)
15:14:05 <monochrom> I think no.
15:14:07 <tomsmeding> ixlun: https://ircbrowse.tomsmeding.com/browse/haskell?events_page=656
15:14:55 dansho joins (~dansho@ip68-108-167-185.lv.lv.cox.net)
15:15:51 <ixlun> Ah, I shall ask again in that case: I was just wondering if anyone knew if there was a way to kill a haskell thread off that was in the middle of a long pure computation?
15:16:03 <merijn> ixlun: Did you create the thread?
15:16:09 <ixlun> Yes
15:16:14 <ixlun> I've tried killThread
15:16:23 <merijn> That doesn't work?
15:16:43 <ixlun> It does but after a significant delay
15:16:48 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
15:17:13 <ixlun> (although what is strange is that the whole program terminates with SIGKILL)
15:17:18 <merijn> I dunno when async exceptions are checked/handled. Naively I'd guess like pre-emption at GC time
15:17:43 <ixlun> I was wondering if they could only
15:17:59 <ixlun> only be handled in between IO actions
15:18:12 <merijn> So if you have a tight pure loop that doesn't allocate much, that could take some time
15:18:18 × nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Ping timeout: 256 seconds)
15:18:21 <ixlun> My only other thought was to pepper my pure computation with `yield' but I don't really like that solution
15:18:31 <monochrom> No other way. Short story: Think of cooperative multitasking but automatic insertion of yield points at heap allocation points.
15:18:36 <merijn> ixlun: Oh, wait
15:18:42 <merijn> ixlun: Is this the single-threaded runtime?
15:18:45 <ixlun> Yes
15:18:52 <merijn> Try the multithreaded one
15:18:54 × knupfer1 quits (~Thunderbi@mue-88-130-61-082.dsl.tropolys.de) (Quit: knupfer1)
15:19:00 knupfer joins (~Thunderbi@200116b82c60f7003cd017e9657aa011.dip.versatel-1u1.de)
15:19:06 <Ariakenom> async exceptions are checked when allocating
15:19:13 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
15:19:15 <ixlun> How do I do that, use forkOS rather than forkIO?
15:19:16 × knupfer quits (~Thunderbi@200116b82c60f7003cd017e9657aa011.dip.versatel-1u1.de) (Client Quit)
15:19:17 <merijn> Sounds like the 1 thread is taking a long time to yield, so the killThread just doesn't get thrown until way later :p
15:19:24 <merijn> ixlun: No, it's a compiletime flag
15:19:26 knupfer joins (~Thunderbi@200116b82c60f7009c37b4c844721161.dip.versatel-1u1.de)
15:19:30 <monochrom> No, use "ghc ... -threaded ..."
15:19:32 <merijn> ixlun: Use "ghc -threaded"
15:19:41 × knupfer quits (~Thunderbi@200116b82c60f7009c37b4c844721161.dip.versatel-1u1.de) (Client Quit)
15:19:45 <merijn> (and run with "+RTS -N2")
15:19:51 <monochrom> forkOS is an orthogonal concern.
15:19:51 knupfer joins (~Thunderbi@200116b82c60f7003045c598d524f05b.dip.versatel-1u1.de)
15:19:59 × knupfer quits (~Thunderbi@200116b82c60f7003045c598d524f05b.dip.versatel-1u1.de) (Client Quit)
15:20:08 knupfer joins (~Thunderbi@200116b82c60f7003045c598d524f05b.dip.versatel-1u1.de)
15:20:14 × knupfer quits (~Thunderbi@200116b82c60f7003045c598d524f05b.dip.versatel-1u1.de) (Client Quit)
15:20:19 <merijn> ixlun: The default runtime only runs one OS thread of Haskell code, regardless of how many forkIO threads you have
15:20:23 knupfer joins (~Thunderbi@200116b82c60f700c426196ed47f12f7.dip.versatel-1u1.de)
15:20:40 <merijn> ixlun: -threaded lets you use multiple OS threads in parallel to run forkIO threads simultaneously
15:20:59 <merijn> (if you use "+RTS -N2" to actually run it with 2 OS threads, that is)
15:21:00 × knupfer quits (~Thunderbi@200116b82c60f700c426196ed47f12f7.dip.versatel-1u1.de) (Client Quit)
15:21:00 <Ariakenom> with -fno-omit-yields the checks are more often. every function call perhaps
15:21:03 <Ariakenom> https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/using-optimisation.html#ghc-flag--fomit-yields
15:21:08 knupfer joins (~Thunderbi@200116b82c60f700c426196ed47f12f7.dip.versatel-1u1.de)
15:21:22 acidjnk_new joins (~acidjnk@200116b8676f9500dd470071dd3fdc09.dip.versatel-1u1.de)
15:21:28 × knupfer quits (~Thunderbi@200116b82c60f700c426196ed47f12f7.dip.versatel-1u1.de) (Client Quit)
15:21:41 knupfer joins (~Thunderbi@200116b82c60f700cd92708e2a651f21.dip.versatel-1u1.de)
15:21:46 djellemah joins (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54)
15:21:57 UpstreamSalmon joins (uid12077@gateway/web/irccloud.com/x-zuuxycbtcmkanyjf)
15:22:54 snakemas1 joins (~snakemast@213.100.206.23)
15:22:59 hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net)
15:23:01 × knupfer quits (~Thunderbi@200116b82c60f700cd92708e2a651f21.dip.versatel-1u1.de) (Read error: Connection reset by peer)
15:23:13 knupfer joins (~Thunderbi@200116b82c60f700f44d5e777945b361.dip.versatel-1u1.de)
15:23:16 × knupfer quits (~Thunderbi@200116b82c60f700f44d5e777945b361.dip.versatel-1u1.de) (Client Quit)
15:23:47 knupfer joins (~Thunderbi@200116b82c60f700005600c5dd5502a6.dip.versatel-1u1.de)
15:24:01 × knupfer quits (~Thunderbi@200116b82c60f700005600c5dd5502a6.dip.versatel-1u1.de) (Client Quit)
15:24:12 knupfer joins (~Thunderbi@200116b82c60f700005600c5dd5502a6.dip.versatel-1u1.de)
15:24:16 kenran joins (~maier@b2b-37-24-119-190.unitymedia.biz)
15:24:20 <hyperisco> I need to take template files, instantiate variables, and evaluate… any template language with conditionals will do. Suggestions?
15:24:38 chris joins (~chris@81.96.113.213)
15:25:02 chris is now known as Guest95313
15:25:15 <ixlun> Hmm, both of those solutions didn't seem to work unfortunetly :-(
15:25:51 <hyperisco> https://hackage.haskell.org/package/doctemplates looks promising
15:26:01 <tomsmeding> hyperisco: mustache has is-not-null conditionals
15:26:30 <hyperisco> am looking for equality at least on integers
15:26:34 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Quit: bitmagie)
15:26:51 <hyperisco> well I guess I can do is-not-null and just set variables carefully :P
15:26:55 × Achylles quits (~Achylles@191.17.181.222) (Remote host closed the connection)
15:27:31 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 256 seconds)
15:27:43 × jgt1 quits (~jgt@77-255-14-254.adsl.inetia.pl) (Ping timeout: 265 seconds)
15:27:57 <ixlun> Here is the code in question: https://pastebin.com/wfnsY3pC
15:28:13 nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net)
15:28:25 Stanley00 joins (~stanley00@unaffiliated/stanley00)
15:29:06 × kenran quits (~maier@b2b-37-24-119-190.unitymedia.biz) (Ping timeout: 272 seconds)
15:29:24 <ixlun> `search' is the long operation
15:30:06 <ixlun> thing is. it's not a particularly tight loop either... it's expanding a game tree to depth n... there will be plenty of allocs happening
15:30:23 carlomagno joins (~cararell@inet-hqmc02-o.oracle.com)
15:30:24 Kaeipi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
15:31:25 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
15:31:38 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 260 seconds)
15:33:31 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 265 seconds)
15:33:37 xff0x joins (~fox@217.110.198.158)
15:34:41 × chaosmasttter quits (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
15:34:49 vicfred joins (~vicfred@unaffiliated/vicfred)
15:38:51 × alp quits (~alp@2a01:e0a:58b:4920:68d6:ac21:2986:7340) (Remote host closed the connection)
15:39:17 alp joins (~alp@2a01:e0a:58b:4920:a4ff:54f4:66b6:7a92)
15:39:45 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 240 seconds)
15:42:31 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
15:45:26 conal joins (~conal@64.71.133.70)
15:45:29 × jchia quits (~jchia@58.32.38.34) (Read error: Connection reset by peer)
15:46:53 jchia joins (~jchia@58.32.34.43)
15:48:27 hackage byteslice 0.2.4.0 - Slicing managed and unmanaged memory https://hackage.haskell.org/package/byteslice-0.2.4.0 (andrewthad)
15:50:05 × conal quits (~conal@64.71.133.70) (Ping timeout: 240 seconds)
15:50:15 kritzefitz joins (~kritzefit@212.86.56.80)
15:53:12 × acidjnk_new quits (~acidjnk@200116b8676f9500dd470071dd3fdc09.dip.versatel-1u1.de) (Ping timeout: 260 seconds)
15:53:43 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 246 seconds)
15:55:49 xff0x joins (~fox@217.110.198.158)
15:56:11 nineonin_ joins (~nineonine@50.216.62.2)
15:56:24 yost3d joins (~yost3d@195.206.169.184)
15:57:07 chaosmasttter joins (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de)
15:57:17 <monochrom> Interesting, https://github.com/folidota/GSoC2020 (they only did multiple polynomial quadratic sieve)
15:59:37 × nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Ping timeout: 265 seconds)
16:01:22 × xff0x quits (~fox@217.110.198.158) (Ping timeout: 256 seconds)
16:01:27 snakemas1 joins (~snakemast@213.100.206.23)
16:06:47 × nineonin_ quits (~nineonine@50.216.62.2) (Ping timeout: 260 seconds)
16:12:28 hackage launchdarkly-server-sdk 2.0.2 - Server-side SDK for integrating with LaunchDarkly https://hackage.haskell.org/package/launchdarkly-server-sdk-2.0.2 (launchdarkly)
16:13:03 xerox_ joins (~xerox@unaffiliated/xerox)
16:13:25 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
16:13:28 hackage ptr-poker 0.1.1 - Pointer poking action construction and composition toolkit https://hackage.haskell.org/package/ptr-poker-0.1.1 (NikitaVolkov)
16:14:22 × ubert quits (~Thunderbi@2a02:8109:9880:303c:ca5b:76ff:fe29:f233) (Quit: ubert)
16:15:58 hackage stack 2.5.1 - The Haskell Tool Stack https://hackage.haskell.org/package/stack-2.5.1 (borsboom)
16:16:34 geekosaur joins (ac3a5370@172.58.83.112)
16:17:46 × da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:19:36 ddellacosta joins (~dd@86.106.121.168)
16:22:01 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
16:23:36 jgt1 joins (~jgt@77-255-14-254.adsl.inetia.pl)
16:24:05 × alp quits (~alp@2a01:e0a:58b:4920:a4ff:54f4:66b6:7a92) (Ping timeout: 272 seconds)
16:25:15 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
16:25:22 aarvar joins (~foewfoiew@c.24.56.239.179.static.broadstripe.net)
16:25:25 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
16:25:25 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
16:25:25 GyroW joins (~GyroW@unaffiliated/gyrow)
16:26:25 nineonine joins (~nineonine@50.216.62.2)
16:27:07 johnw joins (~johnw@haskell/developer/johnw)
16:36:33 <monochrom> \∩/ tomsmeding's pastebin is in Haskell Weekly News's Show & Tell
16:36:50 <tomsmeding> \o/
16:36:50 <monochrom> and the new ircbrowse too
16:40:51 <Uniaika> \o/
16:41:02 <Uniaika> Taylor is amongst us!
16:41:40 conal joins (~conal@64.71.133.70)
16:42:09 × reallymemorable quits (~quassel@ip68-9-215-56.ri.ri.cox.net) (Ping timeout: 265 seconds)
16:43:19 max__ joins (~max@bzq-110-168-31-106.red.bezeqint.net)
16:44:45 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 240 seconds)
16:45:37 <AWizzArd> I have a ByteString with possibly incorrect JSON, but I want to read as much out of it as possible. ["{'a':1}", ",{'b':1}", ",{'c':1}", ",{'d' this should give me a, b and c, and let me know at which position no correct parsing was possible anymore. Any suggestion?
16:46:37 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
16:46:37 <phadej> if using unreleased libraries is fine, then https://github.com/phadej/saison can give you the prefix
16:46:40 LKoen joins (~LKoen@81.255.219.130)
16:47:04 <phadej> (you'll get a structured stream of tokens with error lingering at the end)
16:47:32 alp joins (~alp@2a01:e0a:58b:4920:4caa:69b1:bc4a:b2ee)
16:47:42 <phadej> but IIRC I don't count bytes, so you don't get absolute position of error
16:47:44 × Kaeipi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
16:47:53 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
16:48:50 <AWizzArd> phadej: I might be able to re-construct this.
16:49:15 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 260 seconds)
16:49:38 <AWizzArd> phadej: the highlevel goal here is to have a route in Snap that may receive some gigabytes of json objects {} inside a list. I want to insert them into my DB without needing 256 GB of RAM.
16:49:54 <phadej> that's the use case for saison, yes.
16:49:58 <phadej> it's a streaming parser
16:50:08 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
16:50:18 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
16:50:23 <AWizzArd> phadej: so currently I read chunks from the InputStream and with those resulting (smallish) ByteStrings I wanna see what I’ve got so far.
16:50:26 <phadej> but I hadn't time (or need) to polish it beyond basic PoC
16:50:32 <AWizzArd> phadej: good, so I can have a look.
16:50:47 <phadej> hmm, and in fact, I don't have "feed me more input" system either
16:50:53 <phadej> so there's a lot to do :)
16:51:20 <phadej> I have an employer though :)
16:51:30 <phadej> (who likes when people need unwritten Haskell code!)
16:51:39 <phadej> yet*
16:51:49 × Guest95313 quits (~chris@81.96.113.213) (Remote host closed the connection)
16:52:13 <AWizzArd> (:
16:54:10 nineonine joins (~nineonine@50.216.62.2)
16:54:11 × jneira_ quits (~jneira@211.red-176-87-17.dynamicip.rima-tde.net) (Read error: Connection reset by peer)
16:54:15 × sdx32 quits (~sdx23@unaffiliated/sdx23) (Remote host closed the connection)
16:54:20 jneira_ joins (~jneira@80.30.100.250)
16:55:09 sdx23 joins (~sdx23@unaffiliated/sdx23)
16:58:27 hackage clckwrks 0.26.2.2 - A secure, reliable content management system (CMS) and blogging platform https://hackage.haskell.org/package/clckwrks-0.26.2.2 (JeremyShaw)
16:58:57 × geekosaur quits (ac3a5370@172.58.83.112) (Remote host closed the connection)
17:00:58 conal_ joins (~conal@64.71.133.70)
17:07:57 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:10:03 × toorevitimirp quits (~tooreviti@117.182.180.0) (Remote host closed the connection)
17:10:19 × alp quits (~alp@2a01:e0a:58b:4920:4caa:69b1:bc4a:b2ee) (Ping timeout: 272 seconds)
17:10:37 thir joins (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de)
17:10:51 × thir quits (~thir@p200300f27f02580060eb7dde324e54c8.dip0.t-ipconnect.de) (Remote host closed the connection)
17:13:54 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
17:15:45 Achylles joins (~Achylles@191.17.181.222)
17:16:26 × sdx23 quits (~sdx23@unaffiliated/sdx23) (Remote host closed the connection)
17:19:31 xff0x joins (~fox@port-92-195-124-5.dynamic.as20676.net)
17:21:29 sdx23 joins (~sdx23@unaffiliated/sdx23)
17:22:03 × sdx23 quits (~sdx23@unaffiliated/sdx23) (Remote host closed the connection)
17:22:47 Codaraxis__ joins (~Codaraxis@ip68-5-90-227.oc.oc.cox.net)
17:23:12 sdx23 joins (~sdx23@unaffiliated/sdx23)
17:24:53 Sheilong joins (uid293653@gateway/web/irccloud.com/x-xesqnwopwcihzfhi)
17:25:10 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 256 seconds)
17:25:22 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
17:25:23 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
17:25:23 GyroW joins (~GyroW@unaffiliated/gyrow)
17:25:42 × knupfer quits (~Thunderbi@200116b82c60f700005600c5dd5502a6.dip.versatel-1u1.de) (Remote host closed the connection)
17:25:50 knupfer joins (~Thunderbi@200116b82c60f70075665c7ca0e03cf0.dip.versatel-1u1.de)
17:25:58 × Codaraxis_ quits (~Codaraxis@ip68-5-90-227.oc.oc.cox.net) (Ping timeout: 260 seconds)
17:26:53 × knupfer quits (~Thunderbi@200116b82c60f70075665c7ca0e03cf0.dip.versatel-1u1.de) (Client Quit)
17:27:01 knupfer joins (~Thunderbi@200116b82c60f70075665c7ca0e03cf0.dip.versatel-1u1.de)
17:29:34 Stanley00 joins (~stanley00@unaffiliated/stanley00)
17:31:21 foldr joins (~foldr@90.248.57.181)
17:34:30 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 272 seconds)
17:36:17 snakemas1 joins (~snakemast@213.100.206.23)
17:37:48 × SupaYoshii quits (~supayoshi@213-10-140-13.fixed.kpn.net) (Quit: Goodbye!)
17:38:04 <yushyin> https://twitter.com/_julesh_/status/1316756695440293888 :)
17:38:18 × max__ quits (~max@bzq-110-168-31-106.red.bezeqint.net) (Ping timeout: 272 seconds)
17:38:32 <monochrom> haha
17:38:46 tanguy58 joins (b0bb9ec1@176.187.158.193)
17:39:00 × Achylles quits (~Achylles@191.17.181.222) (Quit: Leaving)
17:39:21 × fendor quits (~fendor@e237-037.eduroam.tuwien.ac.at) (Remote host closed the connection)
17:39:23 × raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Ping timeout: 260 seconds)
17:39:34 <monochrom> titForTatState
17:40:30 untseac joins (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291)
17:40:35 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Remote host closed the connection)
17:42:02 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
17:42:45 raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net)
17:45:31 <int-e> wild arrows
17:46:25 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
17:47:00 bahamas joins (~lucian@unaffiliated/bahamas)
17:47:13 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
17:49:57 hackage flashblast 0.0.1.1 - Generate language learning flashcards from video. https://hackage.haskell.org/package/flashblast-0.0.1.1 (locallycompact)
17:50:14 × GyroW quits (~GyroW@unaffiliated/gyrow) (Remote host closed the connection)
17:50:27 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
17:50:27 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
17:50:27 GyroW joins (~GyroW@unaffiliated/gyrow)
17:51:24 × tanguy58 quits (b0bb9ec1@176.187.158.193) (Remote host closed the connection)
17:52:38 alp joins (~alp@2a01:e0a:58b:4920:650c:2dd8:d1c6:e413)
17:55:04 geekosaur joins (ac3a3b82@172.58.59.130)
17:58:31 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
17:59:21 × chaosmasttter quits (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
17:59:28 hackage lsp-types 1.0.0.0 - Haskell library for the Microsoft Language Server Protocol, data types https://hackage.haskell.org/package/lsp-types-1.0.0.0 (luke_)
18:00:01 × yost3d quits (~yost3d@195.206.169.184) ()
18:00:28 hackage lsp 1.0.0.0 - Haskell library for the Microsoft Language Server Protocol https://hackage.haskell.org/package/lsp-1.0.0.0 (luke_)
18:01:19 urdh joins (~urdh@h77-53-54-187.cust.a3fiber.se)
18:01:42 urdh is now known as Guest4171
18:02:08 × ishutin_ quits (~Ishutin@178-164-207-98.pool.digikabel.hu) (Write error: Connection reset by peer)
18:02:08 × shailangsa quits (~shailangs@host86-186-133-58.range86-186.btcentralplus.com) (Write error: Connection reset by peer)
18:02:15 ishutin joins (~Ishutin@178-164-207-98.pool.digikabel.hu)
18:03:38 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
18:03:38 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 272 seconds)
18:05:26 × vismaya quits (d03b9e15@208.59.158.21) (Remote host closed the connection)
18:06:44 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
18:07:04 tzh joins (~tzh@2601:448:c500:5300::8e04)
18:09:01 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 256 seconds)
18:11:19 × quintasan quits (~quassel@ubuntu/member/quintasan) (Write error: Connection reset by peer)
18:11:25 quintasan joins (~quassel@quintasan.pl)
18:11:25 × quintasan quits (~quassel@quintasan.pl) (Changing host)
18:11:25 quintasan joins (~quassel@ubuntu/member/quintasan)
18:13:20 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 256 seconds)
18:13:25 × knupfer quits (~Thunderbi@200116b82c60f70075665c7ca0e03cf0.dip.versatel-1u1.de) (Ping timeout: 240 seconds)
18:13:27 hackage stm-incremental 0.1.0.2 - A library for constructing incremental computations https://hackage.haskell.org/package/stm-incremental-0.1.0.2 (sgschlesinger)
18:14:00 pera joins (~pera@unaffiliated/pera)
18:14:27 max__ joins (~max@bzq-110-168-31-106.red.bezeqint.net)
18:15:40 × xff0x quits (~fox@port-92-195-124-5.dynamic.as20676.net) (Ping timeout: 256 seconds)
18:16:06 × Guest4171 quits (~urdh@h77-53-54-187.cust.a3fiber.se) (Quit: Boom!)
18:16:33 × bind quits (~bind@unaffiliated/bind) (Read error: Connection reset by peer)
18:16:33 × nisstyre quits (~wes@python-zero/conduct-committee/nisstyre) (Write error: Connection reset by peer)
18:16:35 larou joins (5201f2b7@gateway/web/cgi-irc/kiwiirc.com/ip.82.1.242.183)
18:16:46 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 258 seconds)
18:16:52 nisstyre joins (~wes@python-zero/conduct-committee/nisstyre)
18:16:59 <larou> ok, i think the thing with cycles can be possible
18:17:17 bind joins (~bind@unaffiliated/bind)
18:17:19 <larou> i think basically the problem is encoding at type level "where a datatype originates"
18:17:37 <larou> so that you can constrain it to be "the one above" in a recursive datatype
18:17:45 <larou> to establish a backwards link
18:17:57 <larou> i think this can be done with "a let binding class"
18:18:14 <larou> that, by class instance uniqueness, is guarantied to be only one
18:18:42 <larou> then you impose the "where it originates" as a constraint, which is parametric over this position in code
18:18:52 <larou> right?
18:18:59 urdh joins (~urdh@unaffiliated/urdh)
18:19:07 × aarvar quits (~foewfoiew@c.24.56.239.179.static.broadstripe.net) (Quit: Leaving.)
18:19:17 chris joins (~chris@81.96.113.213)
18:19:40 chris is now known as Guest47732
18:20:15 <johnw> how do you specify "position in the code"?
18:21:16 Lthere joins (~Lthere@185.204.1.185)
18:22:30 jsynacek joins (~jsynacek@ip-185-149-130-112.kmenet.cz)
18:23:05 knupfer joins (~Thunderbi@200116b82c60f7000c4226fffe43b3db.dip.versatel-1u1.de)
18:23:07 plast1k_ joins (~plast1k_@196.207.181.246)
18:23:20 knupfer1 joins (~Thunderbi@mue-88-130-61-082.dsl.tropolys.de)
18:24:36 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
18:24:48 × dyeplexer quits (~lol@unaffiliated/terpin) (Remote host closed the connection)
18:24:49 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 258 seconds)
18:24:49 chaosmasttter joins (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de)
18:25:05 deviantfero joins (~deviantfe@190.99.48.231)
18:25:47 shailangsa joins (~shailangs@host86-186-133-58.range86-186.btcentralplus.com)
18:26:17 <jsynacek> Hi! I'm having a problem understanding State and >>= together.
18:26:22 <jsynacek> I have this: foo :: State Int [Int]
18:26:27 <jsynacek> foo = get >>= \s -> pure [s+10] >>= \s' -> pure $ s' ++ [7,8,9]
18:26:54 <jsynacek> Can anyone please explain to me how the s' suddenly changes from Int to [Int]? I can't figure it out.
18:27:11 isovector1 joins (~isovector@172.103.216.166)
18:27:13 <jsynacek> I mean it's still supposed to be of the same type as the state, right?
18:27:25 × knupfer quits (~Thunderbi@200116b82c60f7000c4226fffe43b3db.dip.versatel-1u1.de) (Ping timeout: 240 seconds)
18:27:25 knupfer1 is now known as knupfer
18:28:03 xff0x joins (~fox@2001:1a81:5350:d900:f51f:ced4:4c46:54ba)
18:28:13 × dansho quits (~dansho@ip68-108-167-185.lv.lv.cox.net) (Quit: Leaving)
18:28:13 <jsynacek> So I would suppose that s and s' should both be Int. But s is Int and s' is [Int].
18:28:14 <verement> :t \s -> pure [s+10]
18:28:15 <lambdabot> (Applicative f, Num a) => a -> f [a]
18:28:40 acidjnk_new joins (~acidjnk@p200300d0c723781658597087ca157dd5.dip0.t-ipconnect.de)
18:29:23 <monochrom> I don't understand the "change" mental model. There is no change.
18:29:59 <monochrom> "pure x >>= \y -> ..." necessarily satisfies y=x therefore y has the same type as x.
18:30:18 <larou> johnw: it would be some arbitrary label, probably a Symbol, to accompany the instance - that way allowing many such instances, that otherwise would clash
18:30:20 <monochrom> Oh, x is a list this time? Then it is a list this time.
18:30:20 <dolio> You named the variables to confuse yourself. :)
18:31:05 <johnw> larou: I suppose if you used a Nat and yourself ensured monotonicity, you could impose a type-level ordering constraint
18:31:11 <larou> then you would have the downstream reference constrained to reference the corresponding label
18:31:27 <larou> johnw: hmm, good idea
18:31:57 <larou> maybe that aswell as a label
18:32:22 <larou> otherwise you would only be able to make one value of the datatype
18:32:43 <larou> or, have to use arbitrarily large first Nat for all the subsequent values
18:33:07 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
18:33:09 <geekosaur> jsynacek, note that the only thing that does anything with the state is the `get`; you then produce a list, and then consume a list, and produce another list, carrying the state along without touching it
18:33:23 <larou> or maybe not a Nat
18:33:28 <larou> but like f ()
18:33:33 <larou> for the linked container f
18:33:50 <larou> like, if it were a doubly linked list, a Nat would be ok - but not if it were a tree
18:34:03 <larou> erm, a pointer on (f ())
18:34:22 <jsynacek> geekosaur: Yes, that's it. I totally confused myself.
18:34:28 <jsynacek> geekosaur++
18:34:40 <larou> so the "name" label, has to be the same for every constructor used sequentially to construct the container
18:34:55 <larou> they are all just different bits of the "same container"
18:35:20 <larou> and the pointer to the position of the part being referenced would be like the Nat
18:35:32 <larou> not sure how your monotonicity constraint works then..
18:36:05 <larou> i think the doubly linked list example has "the immediately preceding value" expressed via the constraint
18:36:16 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
18:36:21 <larou> not anything less than the current index
18:36:39 <larou> or did you mean monotinic position, like successive "forwards" positions of a zipper?
18:37:04 <larou> indexing at type level *each* of the positions, not just the cyclic references
18:37:06 <hyperisco> so with the Haskell VSCode extension... 1) any way to insert a suitable import given an identifier? 2) any way to have ctrl+shift+b build the project?
18:37:45 <hyperisco> so far the error underlining hasn't exploded so that is progress
18:37:58 <larou> i guess then you would have something like a tree zipper, and the constraint would be that you would only be able to navigate down and forwards, not upwards and backwards... thats kind of like the ordering of a Nat...
18:39:01 <hyperisco> I hate knowing a name like getArgs but not knowing what module it is in
18:39:07 <hyperisco> if the IDE could help me with that it would be a godsend
18:41:05 <monochrom> Tranditionally, people install hoogle locally for that. They probably also get their IDEs to call hoogle.
18:41:27 <jsynacek> hyperisco: vscode has a feature called Tasks. You can use it to run 'cabal build' on ctrl+shift+b.
18:41:34 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
18:41:36 <monochrom> Me, I just crack open a web browser tab and use the haddock index.
18:42:14 <jsynacek> hyperisco: Check out https://code.visualstudio.com/docs/editor/tasks#vscode
18:42:37 <hyperisco> monochrom, when you have to import hundreds of things a day that adds up hugely
18:43:18 fendor joins (~fendor@178.115.131.201.wireless.dyn.drei.com)
18:43:21 <hyperisco> jsynacek, okay thanks
18:43:40 <hyperisco> how about tabs… I have VSCode set to width 2 but for whatever reason in .hs files it is back to 4
18:44:45 × sleblanc quits (~sleblanc@unaffiliated/sebleblanc) (Ping timeout: 258 seconds)
18:45:31 × jneira_ quits (~jneira@80.30.100.250) (Ping timeout: 258 seconds)
18:46:22 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Client Quit)
18:46:45 jneira_ joins (~jneira@80.30.100.250)
18:47:04 <hyperisco> just need a file-extension-specific override... okay
18:47:28 hackage implicit-hie 0.1.2.0 - Auto generate hie-bios cradles & hie.yaml https://hackage.haskell.org/package/implicit-hie-0.1.2.0 (Avi_Dessauer)
18:49:40 bitmagie joins (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de)
18:50:32 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
18:51:09 <hyperisco> would be nice if you could get the type of a term
18:51:24 <hyperisco> seems you can only get types for imported names
18:51:53 × bitmagie quits (~Thunderbi@200116b806495000583b859276a8aad8.dip.versatel-1u1.de) (Client Quit)
18:51:55 <hyperisco> oh nvm it is working now... now I just wish there was a hotkey instead of hovering
18:52:02 <hyperisco> because going to the mouse is no good
18:53:27 <hyperisco> apparently is a vscode thing if you do ctrl+k+i ... hope this helps someone
18:54:32 × conal_ quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
18:54:52 <hyperisco> oh damnnnnnn it will auto import names
18:56:14 <hyperisco> ctrl+. while cursored on the name... gives several import options
18:56:41 <hyperisco> Haskell officially has good IDE support in my eyes… well done. where do I insert my money?
18:57:09 <larou> i guess the problem would then be that every version of the container would still have this label
18:57:29 <larou> maybe a synonym with a quantification would allow it to be polymorphic in this label
18:58:07 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
18:58:11 <larou> well, this is why it was called a "Let" class anyway, so that it binds the "name of the value" as a type parameter
18:58:36 <larou> then you can at least constrain the cyclic references to be to the same container
18:58:45 <larou> but im not sure what would happen when modifying it
18:59:01 <larou> like, i guess you would have to give it a new type label and Let instance
18:59:07 <larou> this seems impossible
18:59:29 <larou> its these kind of considerations that makes it seem like it would be better as a language feature than as a library
18:59:32 × kuribas quits (~user@ptr-25vy0i8gfnrq7cvfnez.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
19:00:00 <larou> you would have all the knot tying stuff being done under the hood then too
19:00:22 × xff0x quits (~fox@2001:1a81:5350:d900:f51f:ced4:4c46:54ba) (Remote host closed the connection)
19:00:42 xff0x joins (~fox@2001:1a81:5350:d900:f127:8532:42d4:579b)
19:01:25 × dhil quits (~dhil@195.213.192.122) (Ping timeout: 240 seconds)
19:02:14 conal joins (~conal@64.71.133.70)
19:03:31 berberman_ joins (~berberman@unaffiliated/berberman)
19:03:46 × taurux quits (~taurux@net-93-144-64-237.cust.dsl.teletu.it) (Ping timeout: 256 seconds)
19:04:19 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 272 seconds)
19:04:25 × max__ quits (~max@bzq-110-168-31-106.red.bezeqint.net) (Ping timeout: 264 seconds)
19:04:54 taurux joins (~taurux@net-93-144-64-237.cust.vodafonedsl.it)
19:05:08 SupaYoshi joins (~supayoshi@213-10-140-13.fixed.kpn.net)
19:06:09 × conal quits (~conal@64.71.133.70) (Client Quit)
19:06:43 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Quit: Goodbye)
19:08:35 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
19:08:57 hackage git-brunch 1.4.2.0 - git checkout command-line tool https://hackage.haskell.org/package/git-brunch-1.4.2.0 (andys8)
19:09:48 conal joins (~conal@64.71.133.70)
19:10:26 <larou> anyway, having all the tails as different Let instances seems basically impossible to write!
19:10:46 <larou> i guess there is some reflection/local instances magic that could take care of that
19:11:06 <larou> but i dont think you can use implicit params in the same way as actual classes
19:11:17 <larou> seems like a total madness tbh
19:11:43 whatisRT joins (~whatisRT@2002:5b41:6a33:0:68f3:8b8f:f492:c19a)
19:11:54 × DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Remote host closed the connection)
19:13:31 × Lowl3v3l quits (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de) (Remote host closed the connection)
19:13:49 × geekosaur quits (ac3a3b82@172.58.59.130) (Ping timeout: 245 seconds)
19:14:02 Lowl3v3l joins (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de)
19:14:38 × Lowl3v3l quits (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de) (Remote host closed the connection)
19:14:52 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
19:14:56 Lowl3v3l joins (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de)
19:14:56 dhil joins (~dhil@78.156.97.38)
19:15:01 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
19:15:03 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 260 seconds)
19:15:40 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Client Quit)
19:17:15 × Guest47732 quits (~chris@81.96.113.213) (Remote host closed the connection)
19:18:12 DavidEichmann joins (~david@43.240.198.146.dyn.plus.net)
19:18:28 kritzefitz joins (~kritzefit@212.86.56.80)
19:18:55 × kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection)
19:19:04 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:19:45 chris joins (~chris@81.96.113.213)
19:20:10 chris is now known as Guest1848
19:21:56 × knupfer quits (~Thunderbi@mue-88-130-61-082.dsl.tropolys.de) (Quit: knupfer)
19:21:59 knupfer1 joins (~Thunderbi@200116b82c60f700a5f8893018fc9251.dip.versatel-1u1.de)
19:23:32 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
19:24:23 knupfer1 is now known as knupfer
19:25:03 geekosaur joins (ac3a3b82@172.58.59.130)
19:26:24 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
19:27:34 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 246 seconds)
19:27:38 c0c0 joins (~coco@212-51-137-149.fiber7.init7.net)
19:28:05 × Zetagon quits (~leo@c151-177-52-233.bredband.comhem.se) (Remote host closed the connection)
19:28:30 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
19:29:21 × oisdk quits (~oisdk@2001:bb6:3329:d100:11d5:8dc1:169a:e187) (Quit: oisdk)
19:30:37 Stanley00 joins (~stanley00@unaffiliated/stanley00)
19:31:51 × Guest1848 quits (~chris@81.96.113.213) (Remote host closed the connection)
19:32:41 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Ping timeout: 244 seconds)
19:34:22 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
19:35:37 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 264 seconds)
19:35:47 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
19:36:42 Amras joins (~Amras@unaffiliated/amras0000)
19:38:03 × raichoo quits (~raichoo@dslb-088-077-024-025.088.077.pools.vodafone-ip.de) (Quit: Lost terminal)
19:38:39 × sdx23 quits (~sdx23@unaffiliated/sdx23) (Quit: Lost terminal)
19:38:58 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
19:39:08 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
19:39:38 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
19:39:53 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
19:41:33 × Lowl3v3l quits (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de) (Remote host closed the connection)
19:41:51 Lowl3v3l joins (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de)
19:43:25 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
19:43:43 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:44:00 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
19:44:13 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
19:44:38 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
19:46:45 kipras joins (~Kipras@78-56-235-39.static.zebra.lt)
19:47:24 × zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving)
19:48:27 × oxide quits (~lambda@unaffiliated/mclaren) (Ping timeout: 260 seconds)
19:50:06 × kori quits (~kori@arrowheads/kori) (Read error: Connection reset by peer)
19:50:15 oxide joins (~lambda@unaffiliated/mclaren)
19:51:50 × plast1k_ quits (~plast1k_@196.207.181.246) (Quit: Leaving)
19:54:44 × knupfer quits (~Thunderbi@200116b82c60f700a5f8893018fc9251.dip.versatel-1u1.de) (Quit: knupfer)
19:55:23 knupfer joins (~Thunderbi@200116b82c60f7000129fdd9bc9ee5fc.dip.versatel-1u1.de)
19:56:28 <monochrom> I solved the keyboard-mouse dilemma by Logitech K400 Plus: keyboard - numpad + touchpad
19:57:29 <monochrom> Actually to a large extent, even a real mouse is much closer to the keyboard if you just get rid of the numpad.
19:58:32 <monochrom> I also have a friend who put the mouse on the left and trained himself to use his left hand for the mouse. Because again it is then close to the keyboard.
19:58:43 <dminuoso> monochrom: I know some people like to use it for their apple tv
19:59:02 <larou> monochrom: was he in a really cramped cubicle or something?
19:59:08 <monochrom> Numpad standing in the way is the #1 cause of programmer hand injuries.
19:59:14 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:68f3:8b8f:f492:c19a) (Quit: ZNC 1.7.5 - https://znc.in)
19:59:21 <monochrom> No.
19:59:28 hackage mattermost-api 50200.9.0 - Client API for Mattermost chat system https://hackage.haskell.org/package/mattermost-api-50200.9.0 (JonathanDaugherty)
20:00:27 hackage mattermost-api-qc 50200.9.0 - QuickCheck instances for the Mattermost client API library https://hackage.haskell.org/package/mattermost-api-qc-50200.9.0 (JonathanDaugherty)
20:00:49 × oxide quits (~lambda@unaffiliated/mclaren) (Ping timeout: 264 seconds)
20:00:57 <larou> anyone want to try to see if this idea of Let bound reification for cycles?
20:01:06 <monochrom> No.
20:01:20 <larou> literally, nobody
20:01:28 hackage matterhorn 50200.11.0 - Terminal client for the Mattermost chat system https://hackage.haskell.org/package/matterhorn-50200.11.0 (JonathanDaugherty)
20:01:28 hackage citeproc 0.1.0.2 - Generates citations and bibliography from CSL styles. https://hackage.haskell.org/package/citeproc-0.1.0.2 (JohnMacFarlane)
20:01:50 rprije joins (~rprije@14-203-72-60.tpgi.com.au)
20:02:15 × ystael quits (~ystael@209.6.50.55) (Read error: Connection reset by peer)
20:02:27 <larou> *and all the programmers did become woefull, and the sky did fall*
20:02:53 <monochrom> Yeah dminuoso, K400 really had smart TV browsing in mind, the design and the marketting shows.
20:03:56 <larou> voice activated?
20:04:31 <monochrom> I decided that I am not picky with key tactile or how big the backspace is etc, so I took it for PC and laptop-when-at-home. And I also caught it at a discounted price. This was like 10-15 years ago.
20:04:41 <larou> "hey TV - motivate finance"
20:05:50 × zwarag quits (~zwarag@2a02:8388:a80:d380:a0f0:b686:a197:d627) (Quit: Leaving)
20:05:51 <larou> monochrom: this is the problem... at least when people are commuting, they have such a distressing morning that they are happy to be in their offices
20:05:58 <monochrom> Anyway, obHaskell, I have been reading "practical type inference for arbitrary-rank types" recently. It's pretty neat. (in preparation for reading "a quick look at impredicativity".)
20:06:19 × juri_ quits (~juri@178.63.35.222) (Ping timeout: 256 seconds)
20:06:55 <geekosaur> "motivate finance"? that sounds more like an hledger-motivate package than a keyboard feature to me
20:07:01 <larou> do any other languages even have arbitrary rank types?
20:07:10 <monochrom> Also, today's HWN lists https://generics.jasperwoudenberg.com/ which helps learning GHC.Generics.
20:08:00 <monochrom> Dynamically typed languages have dependent rank-n types. Change my mind.
20:08:20 <larou> dynamically or dependently?
20:08:31 <monochrom> yes.
20:09:34 × jneira_ quits (~jneira@80.30.100.250) (Ping timeout: 246 seconds)
20:09:43 <monochrom> Clearly, C has rank-n types too, just not very polymorphic; and without local functions, not a lot of use cases.
20:09:53 <larou> anyway, i think if i managed to show the idea working it would be easier to convince the GHC people to make a language extension
20:10:07 jneira_ joins (~jneira@80.30.100.250)
20:10:11 <larou> or another language that compiles to haskell or something
20:10:29 acidjnk_new2 joins (~acidjnk@p200300d0c723787058597087ca157dd5.dip0.t-ipconnect.de)
20:10:30 <larou> because whatever it ends up as, its not going to be legible
20:10:52 <larou> all constraint continuations everywhere
20:10:59 <larou> the worst...
20:11:38 × knupfer quits (~Thunderbi@200116b82c60f7000129fdd9bc9ee5fc.dip.versatel-1u1.de) (Quit: knupfer)
20:11:46 knupfer joins (~Thunderbi@200116b82c60f7000129fdd9bc9ee5fc.dip.versatel-1u1.de)
20:12:00 <larou> like, with this "Let" uniqueness, i think i can use params in the GADT definition to explicate the cycles
20:12:10 × knupfer quits (~Thunderbi@200116b82c60f7000129fdd9bc9ee5fc.dip.versatel-1u1.de) (Client Quit)
20:12:17 kori joins (~kori@2804:14c:85a3:9105::1000)
20:12:17 × kori quits (~kori@2804:14c:85a3:9105::1000) (Changing host)
20:12:17 kori joins (~kori@arrowheads/kori)
20:12:18 knupfer joins (~Thunderbi@200116b82c60f700a064bff6d45d9249.dip.versatel-1u1.de)
20:12:19 × knupfer quits (~Thunderbi@200116b82c60f700a064bff6d45d9249.dip.versatel-1u1.de) (Read error: Connection reset by peer)
20:12:26 knupfer joins (~Thunderbi@200116b82c60f700a064bff6d45d9249.dip.versatel-1u1.de)
20:12:37 × knupfer quits (~Thunderbi@200116b82c60f700a064bff6d45d9249.dip.versatel-1u1.de) (Client Quit)
20:12:43 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
20:12:45 knupfer joins (~Thunderbi@200116b82c60f700cd671c34e61e3b60.dip.versatel-1u1.de)
20:12:58 hackage Z-Data 0.1.7.0 - Array, vector and text https://hackage.haskell.org/package/Z-Data-0.1.7.0 (winterland)
20:13:03 × knupfer quits (~Thunderbi@200116b82c60f700cd671c34e61e3b60.dip.versatel-1u1.de) (Client Quit)
20:13:25 × acidjnk_new quits (~acidjnk@p200300d0c723781658597087ca157dd5.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
20:13:35 knupfer joins (~Thunderbi@200116b82c60f70028d48e202b17723f.dip.versatel-1u1.de)
20:13:38 × knupfer quits (~Thunderbi@200116b82c60f70028d48e202b17723f.dip.versatel-1u1.de) (Client Quit)
20:13:41 × larou quits (5201f2b7@gateway/web/cgi-irc/kiwiirc.com/ip.82.1.242.183) (Quit: Connection closed)
20:13:47 knupfer joins (~Thunderbi@200116b82c60f70028d48e202b17723f.dip.versatel-1u1.de)
20:13:51 × knupfer quits (~Thunderbi@200116b82c60f70028d48e202b17723f.dip.versatel-1u1.de) (Client Quit)
20:13:57 hackage numhask-free 0.0.1 - See readme.md https://hackage.haskell.org/package/numhask-free-0.0.1 (tonyday567)
20:14:08 knupfer joins (~Thunderbi@200116b82c60f700015b854466630b96.dip.versatel-1u1.de)
20:14:08 × knupfer quits (~Thunderbi@200116b82c60f700015b854466630b96.dip.versatel-1u1.de) (Client Quit)
20:14:21 knupfer joins (~Thunderbi@200116b82c60f70011de69baa595b33d.dip.versatel-1u1.de)
20:14:22 × knupfer quits (~Thunderbi@200116b82c60f70011de69baa595b33d.dip.versatel-1u1.de) (Client Quit)
20:14:30 knupfer joins (~Thunderbi@200116b82c60f70011de69baa595b33d.dip.versatel-1u1.de)
20:14:30 × knupfer quits (~Thunderbi@200116b82c60f70011de69baa595b33d.dip.versatel-1u1.de) (Client Quit)
20:14:39 knupfer joins (~Thunderbi@200116b82c60f700fc4e716c5061e440.dip.versatel-1u1.de)
20:14:54 × knupfer quits (~Thunderbi@200116b82c60f700fc4e716c5061e440.dip.versatel-1u1.de) (Client Quit)
20:15:23 knupfer joins (~Thunderbi@200116b82c60f700fc4e716c5061e440.dip.versatel-1u1.de)
20:15:24 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
20:15:35 <dolio> monochrom: It's a waste of time to try to change the mind of anyone who would say something like that. :)
20:15:36 × knupfer quits (~Thunderbi@200116b82c60f700fc4e716c5061e440.dip.versatel-1u1.de) (Read error: Connection reset by peer)
20:15:50 knupfer joins (~Thunderbi@200116b82c60f70065b79fcbef4efc52.dip.versatel-1u1.de)
20:15:52 × knupfer quits (~Thunderbi@200116b82c60f70065b79fcbef4efc52.dip.versatel-1u1.de) (Client Quit)
20:16:00 knupfer joins (~Thunderbi@200116b82c60f7008d4a8a7272ddcb4a.dip.versatel-1u1.de)
20:16:02 × knupfer quits (~Thunderbi@200116b82c60f7008d4a8a7272ddcb4a.dip.versatel-1u1.de) (Read error: Connection reset by peer)
20:16:04 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
20:16:11 knupfer joins (~Thunderbi@200116b82c60f700f1d1cd8b16d57665.dip.versatel-1u1.de)
20:16:21 × knupfer quits (~Thunderbi@200116b82c60f700f1d1cd8b16d57665.dip.versatel-1u1.de) (Client Quit)
20:16:37 knupfer joins (~Thunderbi@200116b82c60f700f843b4c2e0fad855.dip.versatel-1u1.de)
20:16:48 × knupfer quits (~Thunderbi@200116b82c60f700f843b4c2e0fad855.dip.versatel-1u1.de) (Client Quit)
20:16:57 knupfer joins (~Thunderbi@200116b82c60f70035574b36d39cb792.dip.versatel-1u1.de)
20:18:34 × jneira_ quits (~jneira@80.30.100.250) (Ping timeout: 256 seconds)
20:19:00 × geekosaur quits (ac3a3b82@172.58.59.130) (Remote host closed the connection)
20:19:12 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
20:19:17 jneira_ joins (~jneira@80.30.100.250)
20:19:40 × ambiso9 quits (~ambiso@209.182.239.205) (Quit: The Lounge - https://thelounge.chat)
20:19:48 chris joins (~chris@81.96.113.213)
20:20:12 chris is now known as Guest34869
20:20:19 ambiso9 joins (~ambiso@209.182.239.205)
20:21:05 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
20:21:47 × UpstreamSalmon quits (uid12077@gateway/web/irccloud.com/x-zuuxycbtcmkanyjf) (Quit: Connection closed for inactivity)
20:22:41 oisdk joins (~oisdk@2001:bb6:3329:d100:11d5:8dc1:169a:e187)
20:24:45 <maerwald> he was right about commuting though
20:25:19 × jneira_ quits (~jneira@80.30.100.250) (Ping timeout: 260 seconds)
20:27:08 jneira_ joins (~jneira@80.30.100.250)
20:28:33 × mirrorbird quits (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1) (Ping timeout: 272 seconds)
20:29:12 snakemas1 joins (~snakemast@213.100.206.23)
20:30:08 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) ()
20:30:39 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
20:31:57 × AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Quit: Leaving)
20:33:37 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 258 seconds)
20:35:32 nados joins (~dan@107-190-41-58.cpe.teksavvy.com)
20:35:43 snakemas1 joins (~snakemast@213.100.206.23)
20:36:44 <maerwald> it's quite stressful, especially for an introvert haskeller
20:37:37 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
20:38:27 × emmanuel_erc quits (~user@cpe-67-243-153-99.nyc.res.rr.com) (Remote host closed the connection)
20:38:42 emmanuel_erc joins (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1)
20:39:17 × emmanuel_erc quits (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1) (Remote host closed the connection)
20:39:24 emmanuel_erc joins (~user@2604:2000:1382:ce03:1864:d59f:f9f2:35b1)
20:42:01 karanlikmadde joins (~karanlikm@2a01:c22:3472:9400:2911:7597:97b9:174f)
20:44:08 Sgeo_ joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
20:45:30 grfn parts (sid449115@gateway/web/irccloud.com/x-hlnwfgmeeatrrnpe) ("ERC (IRC client for Emacs 27.0.91)")
20:45:30 × fendor quits (~fendor@178.115.131.201.wireless.dyn.drei.com) (Remote host closed the connection)
20:46:52 grfn joins (sid449115@gateway/web/irccloud.com/x-hlnwfgmeeatrrnpe)
20:47:40 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Ping timeout: 272 seconds)
20:48:27 <dolio> maerwald: I mean saying, "... dependent rank-n types, change my mind."
20:49:37 <dolio> You can probably shorted it to just the last part.
20:52:37 × snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 246 seconds)
20:52:41 noumenon joins (~daemon@113.51-175-156.customer.lyse.net)
20:52:44 × DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Remote host closed the connection)
20:52:47 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 258 seconds)
20:53:08 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
20:53:09 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
20:53:09 GyroW joins (~GyroW@unaffiliated/gyrow)
20:53:21 × Guest72657 quits (~AllahuAkb@mskresolve-a.mskcc.org) (Quit: Textual IRC Client: www.textualapp.com)
20:54:02 <monochrom> dolio: Haha yeah. No worries, I was joking.
20:54:15 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
20:54:36 <monochrom> wait, what commuting?
20:54:54 reppertj joins (~textual@pool-96-246-209-59.nycmny.fios.verizon.net)
20:57:03 × dhil quits (~dhil@78.156.97.38) (Ping timeout: 260 seconds)
20:57:22 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
20:57:47 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
20:58:39 × noumenon quits (~daemon@113.51-175-156.customer.lyse.net) (Quit: Leaving)
21:00:02 × Lthere quits (~Lthere@185.204.1.185) ()
21:01:12 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
21:02:35 snakemas1 joins (~snakemast@213.100.206.23)
21:04:08 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
21:05:52 × hekkaidekapus_ quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Remote host closed the connection)
21:06:16 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
21:06:43 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
21:07:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
21:08:13 × machinedgod quits (~machinedg@24.105.81.50) (Quit: leaving)
21:10:31 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
21:10:48 × jsynacek quits (~jsynacek@ip-185-149-130-112.kmenet.cz) (Ping timeout: 258 seconds)
21:10:49 × hyperisco quits (~hyperisco@d192-186-117-226.static.comm.cgocable.net) (Ping timeout: 246 seconds)
21:11:08 dhil joins (~dhil@195.213.192.122)
21:11:27 Kaeipi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
21:11:55 × knupfer quits (~Thunderbi@200116b82c60f70035574b36d39cb792.dip.versatel-1u1.de) (Ping timeout: 240 seconds)
21:12:33 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
21:12:56 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
21:14:04 sdx23 joins (~sdx23@unaffiliated/sdx23)
21:16:09 machinedgod joins (~machinedg@24.105.81.50)
21:17:33 × jneira_ quits (~jneira@80.30.100.250) (Ping timeout: 260 seconds)
21:23:59 × c0c0 quits (~coco@212-51-137-149.fiber7.init7.net) (Quit: WeeChat 2.7.1)
21:24:15 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
21:24:33 jneira_ joins (~jneira@80.30.100.250)
21:27:16 <koz_> I have a data type Foo, and wanna write a ... whatever you call it that allows a user to create values of Foo with a TH splice.
21:27:26 <koz_> What do I need to read to understand how that works?
21:27:34 <koz_> (quasi-quotation?)
21:29:50 gxt joins (~gxt@gateway/tor-sasl/gxt)
21:29:59 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 246 seconds)
21:30:13 <monochrom> Do you mean the [e| ... ] one? The $(...) one?
21:31:04 <koz_> monochrom: Yeah, the [e|...] one. Like the one inline-c uses?
21:31:17 <monochrom> Or neither, instead a function f :: X -> Q Exp so your users can write $(f ...) ?
21:31:39 Stanley00 joins (~stanley00@unaffiliated/stanley00)
21:31:48 <koz_> The [e| ... ] one is what I was after.
21:31:56 <koz_> Dunno proper way to name it, or how to define my own... well, e.
21:32:44 <monochrom> You cannot define your own e. Even though quasi quotation uses a similar syntax [ your_function_name | ... ]
21:33:03 <koz_> OK, I'm clearly missing something here.
21:33:11 <monochrom> However, if you write [e|...], the type is Q Exp
21:33:16 thir joins (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de)
21:33:16 <koz_> Ah.
21:33:39 <koz_> I want the [ your_function_name | ... ] syntax, but dunno how to write the your_function_name in question.
21:36:26 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 272 seconds)
21:36:39 <koz_> Do I just need to write something like foo :: QuasiQuoter (plus definition) or something?
21:36:51 <koz_> And then folks can use [ foo | ... ]?
21:37:53 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
21:39:29 conal joins (~conal@64.71.133.70)
21:39:30 × jgt1 quits (~jgt@77-255-14-254.adsl.inetia.pl) (Read error: Connection reset by peer)
21:39:37 <koz_> Sorry, [foo| ... |].
21:39:47 jgt1 joins (~jgt@77-255-14-254.adsl.inetia.pl)
21:40:17 × LKoen quits (~LKoen@81.255.219.130) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
21:40:27 × deviantfero quits (~deviantfe@190.99.48.231) (Ping timeout: 260 seconds)
21:41:14 <monochrom> So I think I ended up learning from just the user guide and the Language.Haskell.TH.* doc. Although the user guide used to refer to a haskellwiki page, which in turn also refer to a paper, I found the haskellwiki example too steep, and the paper, well, the user guide already points out that the paper is outdated.
21:41:23 × thir quits (~thir@p200300f27f025800e13a3eca7002ede4.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
21:41:33 <koz_> monochrom: OK, I think I have enough to go on.
21:42:13 <koz_> What would I use to signal a (compile-time, I assume?) error in TH? I need to fill in the fields of QuasiQuoter corresponding to inappropriate contexts with errors, as per the docs.
21:42:31 <monochrom> And of course, the user guide is too brief, and the Language.Haskell.TH.* doc too reference material. So I learned by trial and error.
21:43:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
21:43:26 <monochrom> For [foo|...] you write foo :: QuasiQuoter, yeah.
21:43:57 hackage katip-datadog 0.2.0.0 - Datadog scribe for the Katip logging framework https://hackage.haskell.org/package/katip-datadog-0.2.0.0 (MichaelXavier)
21:43:58 Merfont joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
21:43:58 × Kaeipi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Read error: Connection reset by peer)
21:44:41 × chaosmasttter quits (~chaosmast@p200300c4a711b001c4478125cc0e8bf4.dip0.t-ipconnect.de) (Quit: WeeChat 2.9)
21:46:05 <monochrom> Maybe Q being an instance of MonadFail helps the static error message.
21:46:27 × danvet_ quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 272 seconds)
21:46:28 <koz_> So just use fail "Error message goes here"?
21:46:37 <monochrom> Oh, there are also reportError etc right at the beginning of the Language.Haskell.TH
21:46:59 <monochrom> (well, after the long TOC)
21:46:59 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
21:47:20 <monochrom> Haha "Report an error to the user, but allow the current splice's computation to carry on. To abort the computation, use fail."
21:47:27 hackage katip-elasticsearch 0.7.0.0 - ElasticSearch scribe for the Katip logging framework. https://hackage.haskell.org/package/katip-elasticsearch-0.7.0.0 (MichaelXavier)
21:47:30 <koz_> So, fail's the way, got it.
21:47:35 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Quit: Goodbye)
21:48:58 hackage jsonifier 0.1 - Fast and simple JSON encoding toolkit https://hackage.haskell.org/package/jsonifier-0.1 (NikitaVolkov)
21:49:39 mav1 joins (~mav@i5E86B60A.versanet.de)
21:51:28 hackage jsonifier 0.1.0.1 - Fast and simple JSON encoding toolkit https://hackage.haskell.org/package/jsonifier-0.1.0.1 (NikitaVolkov)
21:53:25 × alp quits (~alp@2a01:e0a:58b:4920:650c:2dd8:d1c6:e413) (Ping timeout: 272 seconds)
21:54:20 <monochrom> I think TH ends up being one of those things that look like intimidating to learn because there are a lot of things, e.g., Language.Haskell.TH.Syntax is very long and detailed and comprehensive, but it turns out for 90% of use cases you only need to learn 10% of it.
21:55:00 schwuk joins (~schwuk@178.162.209.171)
21:55:37 <monochrom> For example, you can ignore all of Language.Haskell.TH.Syntax because you will just need to write [e| $(x) + 1|] instead of meticulously building the AST.
21:57:57 × isovector1 quits (~isovector@172.103.216.166) (Ping timeout: 258 seconds)
21:58:02 <monochrom> So the only things you really need to know are: There are Q Exp, Q [Dec], etc; Q is MonadIO, so you can always go liftIO (putStrLn "We thank our sponsor NordVPN. Do you need a VPN? ..."); how to prevent variable capture; how to deliberately cause variable capture.
21:59:44 <monochrom> And TH's notion of declaration groups --- this affects visibility.
21:59:45 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
22:00:23 × Amras quits (~Amras@unaffiliated/amras0000) (Ping timeout: 272 seconds)
22:00:30 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
22:05:08 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
22:06:14 DavidEichmann joins (~david@43.240.198.146.dyn.plus.net)
22:07:22 <int-e> monochrom: that's so triggering
22:07:43 × hekkaidekapus_ quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
22:08:01 <int-e> (the string literal, I mean)
22:09:07 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
22:10:10 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) ()
22:10:47 × Ariakenom quits (~Ariakenom@h-155-4-221-253.NA.cust.bahnhof.se) (Read error: Connection reset by peer)
22:10:53 × hekkaidekapus_ quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Remote host closed the connection)
22:11:15 × coot quits (~coot@37.30.50.102.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
22:11:16 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
22:12:07 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
22:13:28 hackage jsonifier 0.1.0.2 - Fast and simple JSON encoding toolkit https://hackage.haskell.org/package/jsonifier-0.1.0.2 (NikitaVolkov)
22:15:11 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
22:17:36 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:18:13 × dhouthoo quits (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be) (Quit: WeeChat 2.9)
22:18:14 × centril quits (~centril@213-66-146-92-no250.tbcn.telia.com) (Ping timeout: 272 seconds)
22:19:19 <koz_> monochrom: ROFL
22:19:27 <koz_> NordVPN - now in your compile-time.
22:20:11 <monochrom> Generally the proliferation of ad blurbs in all things free of charge.
22:20:50 vicfred joins (~vicfred@unaffiliated/vicfred)
22:22:02 × day quits (~Unknown@unaffiliated/day) (Ping timeout: 272 seconds)
22:26:03 <koz_> If I need to construct an application of a data constructor in an Exp, what do I put in the first argument of AppE?
22:26:22 <koz_> (I assume I need AppE [data constructor goes here] [arguments to it go here]?)
22:27:10 polyrain joins (~polyrain@2001:8003:e501:6901:5438:7f7:706e:c9b0)
22:28:07 <koz_> Would that be a VarE?
22:28:18 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
22:29:59 <int-e> koz_: `AppE` is function application on an expression level.
22:30:46 <koz_> I need to construct the equivalent of 'Foo x y z', where 'data Foo = Foo Int String Float'. So how would I build that?
22:30:48 <monochrom> ConE may help
22:31:02 <int-e> if you have `A x y`, that'll be something like AppE (AppE (ConE nameA) (VarE nameX)) (VarE nameY). Which looks better if you use `AppE` as an infix operator, and probably least confusing if you use `appsE`, which takes a list.
22:31:21 <koz_> Ah, I see. Con == constructor?
22:31:34 <monochrom> Yeah, like that, be aware of (((Foo x) y) ... ad infinitum)
22:31:35 <int-e> the latter would be appsE [ConE nameA, VarE nameX, VarE nameY]
22:31:53 <monochrom> This is why usually [e| Foo ... |] is better.
22:32:05 <monochrom> as in, better for your sanity and hair. :)
22:32:09 <koz_> monochrom: Oh wait, I can do that? Nice.
22:33:05 <int-e> monochrom: please tell us more about those sanity and hair things
22:33:25 <monochrom> Oh, appsE make it easier, that's nice.
22:33:26 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 272 seconds)
22:34:08 <monochrom> But still, handcoding the structure of the AST is very tedious. Too many nitpicking details to watch out for. You have to think like the compiler.
22:34:40 <int-e> But absolutely, use a TH quotation when possible.
22:34:52 <koz_> Noted.
22:34:54 <monochrom> well, "compiler" is broad. You have to think like a Haskell parser.
22:35:56 × Merfont quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
22:36:14 Merfont joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
22:36:27 × pera quits (~pera@unaffiliated/pera) (Ping timeout: 260 seconds)
22:36:44 pera joins (~pera@unaffiliated/pera)
22:37:47 conal joins (~conal@64.71.133.70)
22:39:01 × twk- quits (~thewormki@unaffiliated/twk-) (Ping timeout: 272 seconds)
22:39:20 <monochrom> The downside of [e|Foo x y z|] is of course, as usual, does that "Foo" really refer to the Foo you intend? Similarly for x, y, z. And variable capture issues, etc.
22:39:22 × marek quits (~mmahut@209.250.249.245) (Ping timeout: 246 seconds)
22:39:39 <koz_> monochrom: Whoo, such fun.
22:40:52 twk- joins (~thewormki@unaffiliated/twk-)
22:41:49 × jgt1 quits (~jgt@77-255-14-254.adsl.inetia.pl) (Ping timeout: 246 seconds)
22:43:08 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
22:44:33 _ashbreeze_ joins (~mark@72-161-255-212.dyn.centurytel.net)
22:45:40 × ashbreeze quits (~mark@184-157-32-8.dyn.centurytel.net) (Ping timeout: 246 seconds)
22:45:49 × kipras quits (~Kipras@78-56-235-39.static.zebra.lt) (Ping timeout: 264 seconds)
22:46:06 × hiroaki quits (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de) (Ping timeout: 272 seconds)
22:46:28 hackage churros 0.1.2.0 - Channel/Arrow based streaming computation library. https://hackage.haskell.org/package/churros-0.1.2.0 (LyndonMaydwell)
22:47:01 × mav1 quits (~mav@i5E86B60A.versanet.de) (Ping timeout: 264 seconds)
22:50:53 × DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Ping timeout: 260 seconds)
22:51:10 hiroaki joins (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de)
22:51:18 marek joins (~mmahut@209.250.249.245)
22:51:38 inkbottle joins (~inkbottle@aaubervilliers-654-1-82-179.w86-212.abo.wanadoo.fr)
22:51:54 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
22:52:03 × zebrag quits (~inkbottle@aaubervilliers-654-1-4-38.w83-200.abo.wanadoo.fr) (Ping timeout: 260 seconds)
22:52:05 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
22:57:13 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 264 seconds)
22:57:20 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
22:57:37 Tario joins (~Tario@201.192.165.173)
22:58:49 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
23:06:25 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 240 seconds)
23:09:41 zebrag joins (~inkbottle@aaubervilliers-654-1-5-60.w83-200.abo.wanadoo.fr)
23:10:52 × inkbottle quits (~inkbottle@aaubervilliers-654-1-82-179.w86-212.abo.wanadoo.fr) (Ping timeout: 246 seconds)
23:13:04 renzhi joins (~renzhi@modemcable070.17-177-173.mc.videotron.ca)
23:13:09 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
23:13:41 mav1 joins (~mav@x59cc9a0f.dyn.telefonica.de)
23:16:55 xerox_ joins (~xerox@unaffiliated/xerox)
23:18:39 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
23:21:40 × mav1 quits (~mav@x59cc9a0f.dyn.telefonica.de) (Ping timeout: 256 seconds)
23:22:01 Deide joins (~Deide@217.155.19.23)
23:23:16 juri_ joins (~juri@178.63.35.222)
23:25:50 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:27:03 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 260 seconds)
23:28:17 elliott__ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net)
23:28:23 <koz_> Is (:::) a valid name for an infix operator?
23:28:41 <hpc> :t (:::)
23:28:43 <lambdabot> error: Data constructor not in scope: :::
23:28:46 Stanley00 joins (~stanley00@unaffiliated/stanley00)
23:28:53 <hpc> it's a valid name for an infix data constructor
23:29:00 <koz_> hpc: What about an infix function?
23:29:03 <hpc> nope
23:29:07 <hpc> ':' is uppercase
23:29:08 <hpc> :D
23:29:15 <ghoulguy> constructors can be functions
23:29:19 <Axman6> because ; is lowercase =)
23:29:20 <monochrom> Since it starts with : it has to stay as a data constructor.
23:29:27 <koz_> Aww.
23:29:28 <hpc> ghoulguy: shush :P
23:29:44 <Axman6> ; is already a function though, it's (>>=) :P
23:29:46 × karanlikmadde quits (~karanlikm@2a01:c22:3472:9400:2911:7597:97b9:174f) (Quit: karanlikmadde)
23:29:51 <koz_> Axman6: Rofl.
23:30:25 × dhil quits (~dhil@195.213.192.122) (Ping timeout: 240 seconds)
23:30:45 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
23:32:49 × Merfont quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Read error: Connection reset by peer)
23:33:06 day joins (~Unknown@unaffiliated/day)
23:33:10 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
23:33:28 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 260 seconds)
23:34:32 × Tuplanolla quits (~Tuplanoll@91.159.68.239) (Quit: Leaving.)
23:35:46 kupi joins (uid212005@gateway/web/irccloud.com/x-xztwkgxiilqycepj)
23:36:25 <monochrom> May I talk you into ∷:
23:36:33 <koz_> monochrom:
23:36:38 <koz_> LOL
23:37:11 <monochrom> U+2237 then colon
23:37:27 <justsomeguy> seems to be the proportion symbol
23:37:35 <monochrom> yeah
23:37:57 <Cale>
23:37:59 jgt1 joins (~jgt@77-255-14-254.adsl.inetia.pl)
23:38:12 <justsomeguy> Dominoes or braille?
23:38:21 <Cale> braille
23:40:15 centril joins (~centril@213-66-146-92-no250.tbcn.telia.com)
23:40:18 justsomeguy has always thought it would be cool to have a colorscheme + font that de-emphasizes punctuation, makes ::: a ligature, and emboldens names.
23:40:21 sleblanc joins (~sleblanc@unaffiliated/sebleblanc)
23:40:26 <justsomeguy> ::, even
23:41:20 <koz_> I can write 'foo . bar . baz $ quux'. Suppose I wanted to do the same with (>>>): '_ quux >>> baz >>> bar >>> foo'. What goes in _?
23:42:22 × elliott__ quits (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 246 seconds)
23:42:57 <justsomeguy> Maybe “Data.Function.&”?
23:43:11 <koz_> :t (&)
23:43:12 <lambdabot> a -> (a -> b) -> b
23:43:26 <justsomeguy> It's like the reverse of “($)”.
23:43:41 <justsomeguy> It's... also just my wild guess.
23:44:20 <koz_> Can confirm it is not that, justsomeguy.
23:44:30 <koz_> Someone told me this here a while ago, but I have since forgotten.
23:44:41 <justsomeguy> Sorry ^_^; I tried.
23:45:50 <monochrom> x & f >>> g >>> h
23:46:04 <monochrom> I haven't checked precedence though.
23:46:15 <nshepperd2> % :i &
23:46:15 <yahb> nshepperd2: (&) :: a -> (a -> b) -> b -- Defined in `Data.Function'; infixl 1 &
23:46:18 × elliott_ quits (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 260 seconds)
23:46:20 <nshepperd2> % :i >>>
23:46:20 <yahb> nshepperd2: (>>>) :: forall k (cat :: k -> k -> *) (a :: k) (b :: k) (c :: k). Category cat => cat a b -> cat b c -> cat a c -- Defined in `Control.Category'; infixr 1 >>>
23:46:29 <nshepperd2> unfortunate
23:46:39 Amras joins (~Amras@unaffiliated/amras0000)
23:46:41 <koz_> monochrom: Yep, they're both infix 1, though with different associativity.
23:48:16 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
23:50:58 × pera quits (~pera@unaffiliated/pera) (Ping timeout: 260 seconds)
23:51:04 ensyde joins (~ensyde@2600:1702:2e30:1a40:48f9:cdc3:db29:25b7)
23:51:25 × untseac quits (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291) (Ping timeout: 240 seconds)
23:51:51 karanlikmadde joins (~karanlikm@2a01:c22:3472:9400:2911:7597:97b9:174f)
23:52:18 conal joins (~conal@64.71.133.70)
23:52:36 pera joins (~pera@unaffiliated/pera)
23:53:43 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:1d95:d5fb:2f0c:fa1f) (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:54:32 OmegaDoug joins (8e750cd2@lnsm3-torontoxn-142-117-12-210.internet.virginmobile.ca)
23:55:27 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
23:55:38 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
23:55:38 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
23:55:38 GyroW joins (~GyroW@unaffiliated/gyrow)
23:56:22 <OmegaDoug> With megaparsec, how can I parse just three digits? I want to parse "123.123" and believe I should be able to capture the first three digits using "fstThree <- count 3 L.decimal" but that produces the error "unexpected end of input"
23:57:09 <{abby}> decimal is a number, for a digit you want digitChar
23:57:45 addcninblue joins (~addison@c-73-158-198-149.hsd1.ca.comcast.net)
23:58:23 <OmegaDoug> {abby} That was exactly it. Thanks.
23:59:59 day_ joins (~Unknown@unaffiliated/day)

All times are in UTC on 2020-10-15.