Logs on 2020-10-08 (freenode/#haskell)
| 00:01:31 | Graypup__ | is now known as graypup_ |
| 00:01:50 | graypup_ | is now known as Graypup_ |
| 00:01:51 | → | polyrain joins (~polyrain@130.102.13.177) |
| 00:02:35 | × | Barras2 quits (~Barras2@185.244.214.216) (Read error: Connection reset by peer) |
| 00:03:03 | × | Tops2 quits (~Tobias@dyndsl-095-033-024-193.ewe-ip-backbone.de) (Read error: Connection reset by peer) |
| 00:03:06 | × | falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Remote host closed the connection) |
| 00:03:34 | → | falafel joins (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) |
| 00:06:49 | × | solonarv quits (~solonarv@adijon-655-1-70-207.w90-13.abo.wanadoo.fr) (Ping timeout: 256 seconds) |
| 00:08:16 | → | afwingnut joins (~af_wingnu@ip174-79-2-139.mc.at.cox.net) |
| 00:09:19 | ← | afwingnut parts (~af_wingnu@ip174-79-2-139.mc.at.cox.net) () |
| 00:15:23 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 00:15:32 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 00:17:12 | × | cyphase quits (~cyphase@unaffiliated/cyphase) (Ping timeout: 265 seconds) |
| 00:18:31 | → | Stanley00 joins (~stanley00@unaffiliated/stanley00) |
| 00:19:47 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 00:20:14 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds) |
| 00:20:27 | × | cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Quit: Goodbye) |
| 00:21:25 | → | cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) |
| 00:23:23 | × | Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 260 seconds) |
| 00:25:22 | × | m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 256 seconds) |
| 00:26:07 | × | nineonine quits (~nineonine@216.81.48.202) (Remote host closed the connection) |
| 00:26:09 | → | cyphase joins (~cyphase@unaffiliated/cyphase) |
| 00:26:36 | × | falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Remote host closed the connection) |
| 00:27:00 | → | falafel joins (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) |
| 00:27:59 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 00:29:48 | × | cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 00:30:28 | × | spew quits (uid195861@gateway/web/irccloud.com/x-ffyhszedcgmomanr) (Quit: Connection closed for inactivity) |
| 00:30:51 | → | _vaibhavingale_ joins (~Adium@203.188.228.27) |
| 00:32:03 | × | borne quits (~fritjof@200116b8643e710004885e7781e78f4d.dip.versatel-1u1.de) (Ping timeout: 272 seconds) |
| 00:32:49 | × | Christo quits (516071d5@81.96.113.213) (Remote host closed the connection) |
| 00:35:53 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 00:36:11 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 00:36:11 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 00:36:11 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 00:37:05 | × | wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 00:40:58 | hackage | reanimate-svg 0.12.2.1 - SVG file loader and serializer https://hackage.haskell.org/package/reanimate-svg-0.12.2.1 (DavidHimmelstrup) |
| 00:42:05 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 00:43:15 | × | Buntspecht quits (~user@unaffiliated/siracusa) (Quit: Bye!) |
| 00:43:34 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 272 seconds) |
| 00:45:17 | mirrorbird | is now known as mockduck |
| 00:48:19 | × | gxt quits (~gxt@gateway/tor-sasl/gxt) (Remote host closed the connection) |
| 00:49:05 | → | gxt joins (~gxt@gateway/tor-sasl/gxt) |
| 00:49:23 | × | mockduck quits (~psutcliff@2a00:801:3f8:10df:3fb2:3ec3:6676:3873) (Quit: Leaving) |
| 00:49:53 | × | taurux quits (~taurux@net-188-152-14-152.cust.vodafonedsl.it) (Ping timeout: 256 seconds) |
| 00:50:00 | → | sand_dull joins (~theuser@104.140.53.43) |
| 00:50:56 | → | taurux joins (~taurux@net-130-25-214-55.cust.vodafonedsl.it) |
| 00:53:01 | × | raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Ping timeout: 264 seconds) |
| 00:54:41 | → | seawalk joins (~seawalk@185.163.110.116) |
| 00:54:59 | → | conal joins (~conal@209.58.130.230) |
| 00:56:45 | × | giaco quits (~jack@2-238-151-49.ip244.fastwebnet.it) (Ping timeout: 240 seconds) |
| 00:57:52 | → | giaco joins (~jack@2-238-151-49.ip244.fastwebnet.it) |
| 01:02:54 | → | olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber) |
| 01:09:07 | → | plutoniix joins (~q@175.176.222.7) |
| 01:10:34 | × | giaco quits (~jack@2-238-151-49.ip244.fastwebnet.it) (Remote host closed the connection) |
| 01:11:16 | → | giaco joins (~jack@2-238-151-49.ip244.fastwebnet.it) |
| 01:12:41 | × | coot quits (~coot@37.30.49.218.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 01:16:37 | × | darjeeling_ quits (~darjeelin@115.215.43.235) (Ping timeout: 246 seconds) |
| 01:16:55 | → | Gerula joins (~Gerula@unaffiliated/gerula) |
| 01:17:04 | → | darjeeling_ joins (~darjeelin@115.215.43.235) |
| 01:17:37 | → | kl1xto joins (~klixto@130.220.8.130) |
| 01:18:05 | × | Gerula_ quits (~Gerula@unaffiliated/gerula) (Ping timeout: 260 seconds) |
| 01:21:49 | × | sand_dull quits (~theuser@104.140.53.43) (Ping timeout: 260 seconds) |
| 01:26:30 | × | CMCDragonkai1 quits (~Thunderbi@120.17.135.143) (Read error: Connection reset by peer) |
| 01:28:05 | × | conal quits (~conal@209.58.130.230) (Quit: Computer has gone to sleep.) |
| 01:28:25 | × | Amras quits (~Amras@unaffiliated/amras0000) (Ping timeout: 272 seconds) |
| 01:28:35 | × | oisdk quits (~oisdk@2001:bb6:3329:d100:9cdf:5974:56ad:fa2f) (Quit: oisdk) |
| 01:33:27 | → | Saukk joins (~Saukk@2001:998:f1:3963:1c59:9bb5:b94c:2) |
| 01:39:13 | → | totallynotnate joins (~nate@110.137.154.49) |
| 01:41:01 | × | Gurkenglas_ quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 264 seconds) |
| 01:41:50 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 272 seconds) |
| 01:42:27 | × | xff0x quits (~fox@2001:1a81:5374:e100:d048:1f00:80fa:e49e) (Ping timeout: 240 seconds) |
| 01:43:26 | × | polyrain quits (~polyrain@130.102.13.177) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 01:44:43 | → | xff0x joins (~fox@2001:1a81:53a8:5900:d048:1f00:80fa:e49e) |
| 01:46:47 | × | falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Ping timeout: 240 seconds) |
| 01:47:23 | × | renzhi quits (~renzhi@modemcable070.17-177-173.mc.videotron.ca) (Ping timeout: 260 seconds) |
| 01:49:15 | → | andos joins (~dan@162.246.216.28) |
| 01:52:03 | × | voyons_calisse quits (~dan@107-190-41-58.cpe.teksavvy.com) (Ping timeout: 260 seconds) |
| 01:53:07 | → | DataComputist joins (~lumeng@static-50-43-26-251.bvtn.or.frontiernet.net) |
| 01:57:33 | → | brandly joins (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) |
| 01:58:42 | → | argent0 joins (~argent0@168.227.96.2) |
| 02:06:19 | → | reallymemorable joins (~quassel@ip68-9-215-56.ri.ri.cox.net) |
| 02:09:41 | → | bahamas joins (~lucian@188.24.181.166) |
| 02:09:41 | × | bahamas quits (~lucian@188.24.181.166) (Changing host) |
| 02:09:41 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 02:13:03 | × | theDon quits (~td@muedsl-82-207-238-023.citykom.de) (Ping timeout: 260 seconds) |
| 02:14:12 | × | urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna) |
| 02:14:28 | → | theDon joins (~td@muedsl-82-207-238-010.citykom.de) |
| 02:14:40 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 256 seconds) |
| 02:18:07 | × | lagothrix quits (~lagothrix@unaffiliated/lagothrix) (Killed (orwell.freenode.net (Nickname regained by services))) |
| 02:18:15 | → | lagothrix joins (~lagothrix@unaffiliated/lagothrix) |
| 02:24:43 | × | brandly quits (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) (Ping timeout: 260 seconds) |
| 02:26:40 | → | nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net) |
| 02:26:47 | × | DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection) |
| 02:30:57 | × | nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Ping timeout: 258 seconds) |
| 02:32:40 | → | drbean joins (~drbean@TC210-63-209-170.static.apol.com.tw) |
| 02:35:31 | × | argent0 quits (~argent0@168.227.96.2) (Quit: leaving) |
| 02:37:02 | → | toorevitimirp joins (~tooreviti@117.182.180.245) |
| 02:40:13 | → | frot-lab joins (3b47f017@gateway/web/cgi-irc/kiwiirc.com/ip.59.71.240.23) |
| 02:40:45 | → | Stanley00 joins (~stanley00@unaffiliated/stanley00) |
| 02:41:18 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 02:44:22 | ← | frot-lab parts (3b47f017@gateway/web/cgi-irc/kiwiirc.com/ip.59.71.240.23) () |
| 02:45:52 | × | Sheilong quits (uid293653@gateway/web/irccloud.com/x-czqzwifwdwgxyvlx) () |
| 02:46:35 | × | wallacer3 quits (~quassel@ns3134113.ip-37-187-4.eu) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 02:49:49 | → | dnaos joins (~dan@107-190-41-58.cpe.teksavvy.com) |
| 02:50:16 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 02:52:00 | → | falafel joins (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) |
| 02:52:17 | × | andos quits (~dan@162.246.216.28) (Ping timeout: 256 seconds) |
| 02:53:40 | → | wallacer3 joins (~quassel@ns3134113.ip-37-187-4.eu) |
| 02:54:03 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving) |
| 02:55:06 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 258 seconds) |
| 02:56:37 | × | _vaibhavingale_ quits (~Adium@203.188.228.27) (Quit: Leaving.) |
| 02:59:14 | × | wallacer3 quits (~quassel@ns3134113.ip-37-187-4.eu) (Read error: Connection reset by peer) |
| 02:59:32 | → | polyrain joins (~polyrain@2001:8003:e501:6901:5812:b5a0:77ca:ac9e) |
| 02:59:49 | → | wallacer3 joins (~quassel@ns3134113.ip-37-187-4.eu) |
| 03:00:01 | × | seawalk quits (~seawalk@185.163.110.116) () |
| 03:04:25 | × | thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds) |
| 03:07:42 | → | sand_dull joins (~theuser@104.140.53.43) |
| 03:07:54 | × | drbean quits (~drbean@TC210-63-209-170.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin1 - https://znc.in) |
| 03:08:28 | × | aarvar quits (~foewfoiew@50.35.43.33) (Ping timeout: 260 seconds) |
| 03:10:06 | → | brandly joins (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) |
| 03:15:34 | × | kayvan quits (~user@52-119-115-243.PUBLIC.monkeybrains.net) (Ping timeout: 272 seconds) |
| 03:22:34 | × | kl1xto quits (~klixto@130.220.8.130) (Quit: WeeChat 2.9) |
| 03:22:56 | × | polyrain quits (~polyrain@2001:8003:e501:6901:5812:b5a0:77ca:ac9e) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 03:23:47 | → | Tario joins (~Tario@201.192.165.173) |
| 03:25:34 | <Tario> | Hello |
| 03:25:42 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds) |
| 03:25:45 | × | Tario quits (~Tario@201.192.165.173) (Client Quit) |
| 03:25:51 | <lemmih> | Hello there. |
| 03:25:55 | × | justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 240 seconds) |
| 03:25:57 | × | xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 260 seconds) |
| 03:27:16 | → | Tario joins (~Tario@201.192.165.173) |
| 03:27:39 | <Tario> | timed out |
| 03:28:05 | × | sand_dull quits (~theuser@104.140.53.43) (Ping timeout: 240 seconds) |
| 03:30:02 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 03:31:29 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 03:34:45 | → | aarvar joins (~foewfoiew@50.35.43.33) |
| 03:35:12 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 272 seconds) |
| 03:35:55 | × | ddellacosta quits (~dd@86.106.121.168) (Ping timeout: 256 seconds) |
| 03:36:51 | <Axman6> | Hello Tario |
| 03:37:18 | <Tario> | Hello hello! |
| 03:38:00 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 03:38:06 | → | sand_dull joins (~theuser@104.140.53.43) |
| 03:38:20 | <Axman6> | lemmih also said hello :) How can we help? |
| 03:39:49 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Client Quit) |
| 03:39:57 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 03:40:06 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 03:41:30 | → | nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net) |
| 03:42:30 | → | justanotheruser joins (~justanoth@unaffiliated/justanotheruser) |
| 03:44:42 | × | Tario quits (~Tario@201.192.165.173) (Ping timeout: 272 seconds) |
| 03:45:22 | → | isovector1 joins (~isovector@172.103.216.166.cable.tpia.cipherkey.com) |
| 03:47:14 | × | nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Ping timeout: 272 seconds) |
| 03:51:41 | → | conal joins (~conal@209.58.130.230) |
| 03:51:47 | × | falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Ping timeout: 240 seconds) |
| 03:52:05 | × | brandly quits (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) (Ping timeout: 260 seconds) |
| 03:53:52 | × | Saukk quits (~Saukk@2001:998:f1:3963:1c59:9bb5:b94c:2) (Remote host closed the connection) |
| 03:54:07 | → | Tario joins (~Tario@201.192.165.173) |
| 03:54:48 | → | xPaw1 joins (~xPaw@217.146.82.202) |
| 03:55:22 | <Tario> | I got disc for a moment there, poor connection from my end |
| 03:55:33 | × | da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 03:56:33 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 03:56:51 | <Tario> | I was going to ask mainly for some help with a Yesod project I've been working on |
| 03:56:52 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 03:56:52 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 03:56:52 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 03:57:37 | <Tario> | Mostly documentation or examples on how to implement Json web tokens into a mini-REST API |
| 03:58:20 | <Tario> | And how to perform authentication with JWT + Yesod in this API |
| 03:58:28 | <sm[m]> | Tario: tried the yesod book and the examples in the repo/wiki ? |
| 03:58:50 | <Tario> | Im trying the Yesod book yes |
| 03:59:09 | × | polyphem quits (~p0lyph3m@2a02:810d:640:776c:76d7:55f6:f85b:c889) (Ping timeout: 272 seconds) |
| 03:59:20 | <Tario> | I haven't checked the wiki/repo, though |
| 04:00:04 | <Tario> | Also I've found some interesting blogs on how to create rest API's with Yesod. They've been of great help too! |
| 04:00:41 | → | polyrain joins (~polyrain@2001:8003:e501:6901:5812:b5a0:77ca:ac9e) |
| 04:00:57 | → | xerox_ joins (~xerox@unaffiliated/xerox) |
| 04:01:23 | → | Clough joins (~Cain@194-193-61-41.tpgi.com.au) |
| 04:02:14 | × | SupaYoshi quits (~supayoshi@213-10-140-13.fixed.kpn.net) (Quit: Goodbye!) |
| 04:03:15 | → | SupaYoshi joins (~supayoshi@213-10-140-13.fixed.kpn.net) |
| 04:04:32 | × | zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving) |
| 04:04:53 | → | mmohammadi981266 joins (~mmohammad@5.238.172.236) |
| 04:05:22 | <Tario> | Is this the repo you were mentioning? |
| 04:05:22 | <Tario> | https://github.com/yesodweb/yesod |
| 04:05:28 | → | nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net) |
| 04:05:42 | → | zaquest joins (~notzaques@5.128.210.178) |
| 04:06:43 | × | gxt quits (~gxt@gateway/tor-sasl/gxt) (Ping timeout: 240 seconds) |
| 04:09:17 | → | gxt joins (~gxt@gateway/tor-sasl/gxt) |
| 04:11:10 | × | conal quits (~conal@209.58.130.230) (Quit: Computer has gone to sleep.) |
| 04:12:26 | → | conal joins (~conal@209.58.130.230) |
| 04:12:45 | × | acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 256 seconds) |
| 04:12:51 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 04:14:36 | <sm[m]> | Tario: yes, in that repo's wiki there's a cookbook that might have something |
| 04:23:07 | × | justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 240 seconds) |
| 04:23:52 | × | mmohammadi981266 quits (~mmohammad@5.238.172.236) (Quit: I quit (╯°□°)╯︵ ┻━┻) |
| 04:28:19 | → | Jeanne-Kamikaze joins (~Jeanne-Ka@68.235.43.166) |
| 04:29:23 | × | Clough quits (~Cain@194-193-61-41.tpgi.com.au) (Read error: Connection reset by peer) |
| 04:32:00 | → | yxe_tim joins (4640087f@S010664777daccce3.ss.shawcable.net) |
| 04:34:06 | → | da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com) |
| 04:34:36 | <yxe_tim> | Hello, (hopefully a quick question), I have installed haskell on wsl2 using ghcup (8.10.2) and then built ghcide, but vscode keeps displaying an error that ghcide was compiled against 8.10.1, does anyone have any experience setting up this toolchain? (WSL2, VSCode, Haskell Extension) |
| 04:35:01 | → | wz1000 joins (~wz1000@static.11.113.47.78.clients.your-server.de) |
| 04:35:11 | <yxe_tim> | (WSL2 ubuntu 20.04) |
| 04:36:23 | <Axman6> | what does ghcide version say its GHC version is, and is VS Code pointing to the same ghcide executable as the one you're checking? |
| 04:36:44 | <Axman6> | uh, ghcide --version |
| 04:36:47 | → | day_ joins (~Unknown@unaffiliated/day) |
| 04:36:57 | <Axman6> | (though the former works... but then gives an error |
| 04:36:58 | <Axman6> | ) |
| 04:37:25 | → | jneira_ joins (~jneira@153.red-176-87-39.dynamicip.rima-tde.net) |
| 04:39:57 | × | day quits (~Unknown@unaffiliated/day) (Ping timeout: 256 seconds) |
| 04:39:58 | day_ | is now known as day |
| 04:42:44 | <yxe_tim> | In terminal it says "ghcide version: 0.4.0 (GHC: 8.10) (PATH: ~/.cabal/store/ghc-8.10.2/ghcide-0.4.0-13cf00411000e3d4a0caf0088b938e894a101bcba94c7f863c33d2e1fab1f877/bin/ghcide)", which is what I expect. Is there a way to ask the Haskell language server what version of ghcide it is using? using `find` I don't see an obvious alternate copy |
| 04:44:36 | <Axman6> | if you open the VS code console with ctrl-` and then go to putput, select "Haskell (haskell-server)" and scrol to the top it should it should print out something like: ghcide version: 0.1.0.0 (GHC: 8.8.3) (PATH: /Users/REDACTED/.local/bin/haskell-language-server-wrapper) (GIT hash: d2654185eef1b0d703cebc694e85438e20600e37) |
| 04:46:57 | <yxe_tim> | `haskell-language-server version: 0.5.0.0 (GHC: 8.10.1)` somehow I have an older one, okay well there's my answer I guess :) |
| 04:47:11 | <Axman6> | does it show the path too? |
| 04:47:50 | <yxe_tim> | yes `(PATH: ~/.ghcup/bin/haskell-language-server-8.10.1~0.5.0)` which is I think the default install location for `ghcup` |
| 04:49:13 | <Axman6> | the Haskell VS Code plugin will also install the appropriate hls for your project IIRC |
| 04:49:36 | <Axman6> | I'm not sure therte's much need to do it via ghcup if you're using VS code, but I could be mistaken |
| 04:52:04 | <yxe_tim> | I removed it with `ghcup` and then reinstalled and now there is no error. 🤷🏻♂️ |
| 04:52:40 | <yxe_tim> | appreciate your help, thanks Axman |
| 04:56:33 | <Axman6> | All good :) |
| 04:57:02 | → | shafox joins (~shafox@106.51.234.111) |
| 04:57:09 | <Axman6> | that's probably the first time I've ever been able to help with a haskell on windows problem... WSL is truly a game changer in supporting the platform =) |
| 04:57:45 | × | isovector1 quits (~isovector@172.103.216.166.cable.tpia.cipherkey.com) (Ping timeout: 240 seconds) |
| 05:00:40 | → | falafel joins (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) |
| 05:04:56 | × | justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) () |
| 05:08:25 | → | polyrain_ joins (~polyrain@203.51.166.163) |
| 05:09:42 | → | shatriff joins (~vitaliish@217.27.153.240) |
| 05:10:17 | → | bitmagie joins (~Thunderbi@200116b8069ae700f8d11cefa1f5b393.dip.versatel-1u1.de) |
| 05:10:22 | × | polyrain quits (~polyrain@2001:8003:e501:6901:5812:b5a0:77ca:ac9e) (Ping timeout: 260 seconds) |
| 05:11:27 | → | zincy__ joins (~tom@host86-169-79-54.range86-169.btcentralplus.com) |
| 05:11:37 | × | zincy_ quits (~tom@2a00:23c8:970a:3501:38a6:4546:df42:c1cb) (Remote host closed the connection) |
| 05:14:19 | × | bitmagie quits (~Thunderbi@200116b8069ae700f8d11cefa1f5b393.dip.versatel-1u1.de) (Client Quit) |
| 05:15:14 | × | gienah quits (~mwright@gentoo/developer/gienah) (Quit: leaving) |
| 05:15:45 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 05:16:20 | → | _vaibhavingale_ joins (~Adium@203.188.228.27) |
| 05:16:22 | × | jneira_ quits (~jneira@153.red-176-87-39.dynamicip.rima-tde.net) (Read error: Connection reset by peer) |
| 05:16:36 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Client Quit) |
| 05:20:54 | × | DataComputist quits (~lumeng@static-50-43-26-251.bvtn.or.frontiernet.net) (Quit: Leaving...) |
| 05:33:30 | → | alp joins (~alp@2a01:e0a:58b:4920:d4de:2729:ba08:af8) |
| 05:33:38 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds) |
| 05:33:39 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 05:33:45 | → | yoeljacobsen joins (~yoel.jaco@5.28.167.89) |
| 05:33:52 | → | yoja joins (~yoel.jaco@5.28.167.89) |
| 05:34:02 | × | yoja quits (~yoel.jaco@5.28.167.89) (Remote host closed the connection) |
| 05:34:13 | → | isovector1 joins (~isovector@172.103.216.166.cable.tpia.cipherkey.com) |
| 05:37:07 | × | sand_dull quits (~theuser@104.140.53.43) (Ping timeout: 260 seconds) |
| 05:38:23 | → | coot joins (~coot@37.30.49.218.nat.umts.dynamic.t-mobile.pl) |
| 05:38:50 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 05:39:00 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 05:39:01 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 05:39:01 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 05:39:06 | → | knupfer joins (~Thunderbi@200116b82ce4df00342d492c1199dfa9.dip.versatel-1u1.de) |
| 05:39:57 | → | gienah joins (~mwright@gentoo/developer/gienah) |
| 05:43:36 | → | Dungdv joins (abf4bce2@gateway/web/cgi-irc/kiwiirc.com/ip.171.244.188.226) |
| 05:44:25 | → | tomboy64 joins (~tomboy64@gateway/tor-sasl/tomboy64) |
| 05:47:28 | → | aqd joins (~aqd@87-92-145-87.rev.dnainternet.fi) |
| 05:47:40 | <Dungdv> | hello everyone |
| 05:48:22 | × | Jeanne-Kamikaze quits (~Jeanne-Ka@68.235.43.166) (Ping timeout: 256 seconds) |
| 05:50:18 | × | yxe_tim quits (4640087f@S010664777daccce3.ss.shawcable.net) (Remote host closed the connection) |
| 05:50:26 | → | blackfield joins (~blackfiel@unaffiliated/blackfield) |
| 05:51:44 | → | zenzenzen joins (5cf785e2@92.247.133.226) |
| 05:52:26 | → | Lycurgus joins (~niemand@98.4.96.130) |
| 05:52:59 | <yushyin> | hello Dungdv |
| 05:53:40 | × | zenzenzen quits (5cf785e2@92.247.133.226) (Remote host closed the connection) |
| 05:54:36 | → | jneira_ joins (~jneira@153.red-176-87-39.dynamicip.rima-tde.net) |
| 06:00:02 | × | xPaw1 quits (~xPaw@217.146.82.202) () |
| 06:02:45 | × | jneira_ quits (~jneira@153.red-176-87-39.dynamicip.rima-tde.net) (Ping timeout: 240 seconds) |
| 06:11:56 | × | carlomagno quits (~cararell@inet-hqmc01-o.oracle.com) (Remote host closed the connection) |
| 06:14:12 | → | cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) |
| 06:14:39 | → | Ariakenom joins (~Ariakenom@193.254.193.1) |
| 06:15:26 | × | isovector1 quits (~isovector@172.103.216.166.cable.tpia.cipherkey.com) (Ping timeout: 272 seconds) |
| 06:18:29 | × | howdoi quits (uid224@gateway/web/irccloud.com/x-sgkwzvljtciaifbw) (Quit: Connection closed for inactivity) |
| 06:19:10 | → | rihards joins (~rihards@balticom-142-78-50.balticom.lv) |
| 06:20:16 | → | dhouthoo joins (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be) |
| 06:21:49 | × | strugglingming quits (sid10571@gateway/web/irccloud.com/x-pwoyzccowxbiqivf) () |
| 06:22:21 | ← | blackfield parts (~blackfiel@unaffiliated/blackfield) ("Leaving") |
| 06:24:08 | × | sfvm quits (~sfvm@37.228.215.148) (Quit: off to the basement, mixing up the medicine) |
| 06:24:34 | × | Sgeo_ quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer) |
| 06:29:21 | → | yoneda joins (~mike@193.206.102.122) |
| 06:34:19 | × | alp quits (~alp@2a01:e0a:58b:4920:d4de:2729:ba08:af8) (Ping timeout: 272 seconds) |
| 06:35:29 | × | psydruid quits (psydruidma@gateway/shell/matrix.org/x-qycprfpnsgiilolx) (Quit: killed) |
| 06:35:29 | × | domenkozar[m] quits (domenkozar@NixOS/user/domenkozar) (Quit: killed) |
| 06:35:29 | × | fgaz quits (fgazmatrix@gateway/shell/matrix.org/x-byybigschvhjswcv) (Quit: killed) |
| 06:35:29 | × | johnnyboy[m] quits (gifumatrix@gateway/shell/matrix.org/x-kitekitskrpvnyuf) (Quit: killed) |
| 06:35:29 | × | ThaEwat quits (thaewraptm@gateway/shell/matrix.org/x-kcvetqrftbkjcjnk) (Quit: killed) |
| 06:35:29 | × | maralorn quits (maralornma@gateway/shell/matrix.org/x-lyakyxofyblijwix) (Quit: killed) |
| 06:35:29 | × | rednaZ[m] quits (r3dnazmatr@gateway/shell/matrix.org/x-fljfbjfqcfnnurou) (Quit: killed) |
| 06:35:29 | × | siraben quits (sirabenmat@gateway/shell/matrix.org/x-pdgeahbvmgwapgfg) (Quit: killed) |
| 06:35:29 | × | SlackIntegration quits (slackbotma@gateway/shell/matrix.org/x-lohsrmorokvdbpoj) (Quit: killed) |
| 06:35:29 | × | sureyeaah quits (shauryab98@gateway/shell/matrix.org/x-wiylhkbwoygscvln) (Quit: killed) |
| 06:35:29 | × | lnxw37d4 quits (lnxw37d4ma@gateway/shell/matrix.org/x-bqfspchyhjmzptxd) (Quit: killed) |
| 06:35:29 | × | themsay[m] quits (themsaymat@gateway/shell/matrix.org/x-jlhxzzruldlhmmgy) (Quit: killed) |
| 06:35:30 | × | Fernando-Basso[m quits (fernando-b@gateway/shell/matrix.org/x-kjhiolswkwzfuios) (Quit: killed) |
| 06:35:30 | × | michaelpj quits (michaelpjm@gateway/shell/matrix.org/x-gysseraqrfhmwgck) (Quit: killed) |
| 06:35:30 | × | vaibhavsagar quits (vaibhavsag@gateway/shell/matrix.org/x-ddqgmqbfchwrxzrv) (Quit: killed) |
| 06:35:30 | × | nihilazo quits (nihilazoma@gateway/shell/matrix.org/x-zdmbqmhsvrlzerts) (Quit: killed) |
| 06:35:30 | × | bonvoyage[m] quits (bonvoyageu@gateway/shell/matrix.org/x-hymtyjvtcgjioftl) (Quit: killed) |
| 06:35:30 | × | PotatoHatsue quits (berbermanp@gateway/shell/matrix.org/x-mxhezacflqkmnnqy) (Quit: killed) |
| 06:35:30 | × | chreekat[m] quits (chreekatma@gateway/shell/matrix.org/x-khznwzleexjszxwr) (Quit: killed) |
| 06:35:30 | × | Ericson2314 quits (ericson231@gateway/shell/matrix.org/x-oinfesutpjbypdbj) (Quit: killed) |
| 06:35:30 | × | drozdziak1 quits (drozdziak1@gateway/shell/matrix.org/x-ceruyhaykumzhfys) (Quit: killed) |
| 06:35:30 | × | JoelMcCracken[m] quits (joelmccrac@gateway/shell/matrix.org/x-sbadlxunmwfvpibq) (Quit: killed) |
| 06:35:32 | × | hsiktas[m] quits (hsiktasmat@gateway/shell/matrix.org/x-vdqlhkexdidlyisd) (Quit: killed) |
| 06:35:32 | × | iinuwa quits (iinuwamatr@gateway/shell/matrix.org/x-rwunwqpobfulimir) (Quit: killed) |
| 06:35:32 | × | texasmynsted[m] quits (mmynstedko@gateway/shell/matrix.org/x-fkezaphacwvtlqpz) (Quit: killed) |
| 06:35:32 | × | theduke quits (thedukem1@gateway/shell/matrix.org/x-luggxubwimubmsjx) (Quit: killed) |
| 06:35:33 | × | ciderpunx[m] quits (ciderpunxm@gateway/shell/matrix.org/x-phmdrdggcgnremri) (Quit: killed) |
| 06:35:33 | × | jeffcasavant[m] quits (jeffcasava@gateway/shell/matrix.org/x-ofvxwwxtfcqijigf) (Quit: killed) |
| 06:35:33 | × | itai33[m] quits (itai33matr@gateway/shell/matrix.org/x-jbkgbtontlzajfgn) (Quit: killed) |
| 06:35:34 | × | mikr[m] quits (mikrdavral@gateway/shell/matrix.org/x-tfhuakjmvnwwteem) (Quit: killed) |
| 06:35:35 | × | io_r_us[m] quits (commandlin@gateway/shell/matrix.org/x-crnvroklodstbzyd) (Quit: killed) |
| 06:35:35 | × | kadoban quits (kadobanmat@gateway/shell/matrix.org/x-wocksmmwkounohnb) (Quit: killed) |
| 06:35:37 | × | alexfmpe quits (alexfmpema@gateway/shell/matrix.org/x-qrzkwyigmywmhwge) (Quit: killed) |
| 06:35:38 | × | GuillaumeChrel[m quits (guillaumec@gateway/shell/matrix.org/x-pdeyeszckwgtpgil) (Quit: killed) |
| 06:35:38 | × | jtojnar quits (jtojnarmat@gateway/shell/matrix.org/x-qekearxjjpjsmkuo) (Quit: killed) |
| 06:35:38 | × | alvinsj[m] quits (alvinsjmat@gateway/shell/matrix.org/x-jqdmywmvtnmoacsc) (Quit: killed) |
| 06:35:41 | × | CaptainFox[m] quits (onianimatr@gateway/shell/matrix.org/x-uumbggmsnsagdxwx) (Quit: killed) |
| 06:35:42 | × | sm[m] quits (simonmicma@gateway/shell/matrix.org/x-yvxnqtqblglugklz) (Quit: killed) |
| 06:35:43 | × | lambdaclan quits (lambdaclan@gateway/shell/matrix.org/x-efvydivpqgisspda) (Quit: killed) |
| 06:35:43 | × | jlv quits (jlvjustinl@gateway/shell/matrix.org/x-kumwswmhehdpzhpj) (Quit: killed) |
| 06:35:43 | × | sajith[m] quits (sajithmatr@gateway/shell/matrix.org/x-qjvxnirdozyhnxza) (Quit: killed) |
| 06:35:43 | × | ethercrow[m] quits (ethercrowm@gateway/shell/matrix.org/x-qohfilkcpvembqbq) (Quit: killed) |
| 06:35:46 | × | steve[m] quits (stevetrout@gateway/shell/matrix.org/x-tlcohkujmhffqlxo) (Quit: killed) |
| 06:35:47 | × | tttom[m] quits (tttommatri@gateway/shell/matrix.org/x-kcrlxfyqsxsceyrq) (Quit: killed) |
| 06:35:47 | × | DavSanchez[m] quits (davsanchez@gateway/shell/matrix.org/x-cshiyvdondwsassq) (Quit: killed) |
| 06:35:49 | × | boistordu1 quits (boistordum@gateway/shell/matrix.org/x-hweoscsbacvjfdbp) (Quit: killed) |
| 06:35:50 | × | albestro[m] quits (albestroma@gateway/shell/matrix.org/x-tndqscinbariykar) (Quit: killed) |
| 06:35:51 | × | gmind[m] quits (gmindmatri@gateway/shell/matrix.org/x-edoxmxjonitwjqca) (Quit: killed) |
| 06:35:51 | × | jkaye[m] quits (jkayematri@gateway/shell/matrix.org/x-xhxhthjkcoydgzvg) (Quit: killed) |
| 06:35:51 | × | avocado quits (renningmat@gateway/shell/matrix.org/x-fezyrhgjfnmnkpkv) (Quit: killed) |
| 06:35:52 | × | unclechu quits (unclechuma@gateway/shell/matrix.org/x-ebrfkfjlsjzowlvv) (Quit: killed) |
| 06:35:53 | × | pqwy[m] quits (pqwymatrix@gateway/shell/matrix.org/x-olxoybsjhfaojatm) (Quit: killed) |
| 06:35:54 | × | macerbi[m] quits (macerbimat@gateway/shell/matrix.org/x-ccvzntcdselawgmn) (Quit: killed) |
| 06:35:54 | × | dyniec[m] quits (dyniecmatr@gateway/shell/matrix.org/x-tgoncauijaxjhpus) (Quit: killed) |
| 06:35:54 | × | srid quits (sridmatrix@gateway/shell/matrix.org/x-znyovjxuqshvxpdw) (Quit: killed) |
| 06:35:54 | × | jiribenes1 quits (jbjiribene@gateway/shell/matrix.org/x-zwblivezdhcvoksn) (Quit: killed) |
| 06:35:54 | × | materialfuture[m quits (materialfu@gateway/shell/matrix.org/x-kcdvxjwcqyagisvj) (Quit: killed) |
| 06:35:54 | × | betrion[m] quits (betrionmat@gateway/shell/matrix.org/x-ayssoeksjulbrphq) (Quit: killed) |
| 06:35:56 | × | mmynsted[m] quits (mmynstedtc@gateway/shell/matrix.org/x-znpwlmrtpibaqhgv) (Quit: killed) |
| 06:35:56 | × | hnOsmium0001[m] quits (hnosmium00@gateway/shell/matrix.org/x-sylhtdjktmpomitu) (Quit: killed) |
| 06:35:57 | × | sepp2k quits (sepp2kmatr@gateway/shell/matrix.org/x-ycdinvigeuvebcbs) (Quit: killed) |
| 06:35:58 | × | tsrt^ quits (tsrt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded) |
| 06:37:50 | → | tsrt^ joins (tsrt@ip98-184-89-2.mc.at.cox.net) |
| 06:37:58 | → | wei2912 joins (~wei2912@unaffiliated/wei2912) |
| 06:39:04 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 06:39:33 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 06:40:08 | × | hyiltiz quits (~quassel@unaffiliated/hyiltiz) (Ping timeout: 272 seconds) |
| 06:40:36 | → | chele joins (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) |
| 06:41:58 | → | macerbi[m] joins (macerbimat@gateway/shell/matrix.org/x-zpwleyxpnqtsfatt) |
| 06:42:08 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 256 seconds) |
| 06:42:22 | × | shatriff quits (~vitaliish@217.27.153.240) (Remote host closed the connection) |
| 06:46:08 | → | hyiltiz joins (~quassel@82.118.227.47) |
| 06:46:08 | × | hyiltiz quits (~quassel@82.118.227.47) (Changing host) |
| 06:46:08 | → | hyiltiz joins (~quassel@unaffiliated/hyiltiz) |
| 06:46:29 | × | proteusguy quits (~proteusgu@cm-58-10-208-180.revip7.asianet.co.th) (Remote host closed the connection) |
| 06:46:36 | → | mmohammadi981266 joins (~mmohammad@5.238.172.236) |
| 06:46:42 | → | jonathanx joins (~jonathan@dyn-8-sc.cdg.chalmers.se) |
| 06:47:32 | → | xsperry joins (~as@unaffiliated/xsperry) |
| 06:48:54 | → | proteusguy joins (~proteusgu@cm-58-10-208-180.revip7.asianet.co.th) |
| 06:50:12 | × | dhouthoo quits (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be) (Quit: WeeChat 2.8) |
| 06:51:00 | → | Oejet joins (~Oejet@185.163.110.116) |
| 06:55:56 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 06:56:01 | → | danvet_ joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) |
| 06:56:36 | → | lnxw37d4 joins (lnxw37d4ma@gateway/shell/matrix.org/x-pimzqasrmmczjhys) |
| 06:56:36 | → | siraben joins (sirabenmat@gateway/shell/matrix.org/x-ykymenvgfoixvnor) |
| 06:56:36 | → | domenkozar[m] joins (domenkozar@NixOS/user/domenkozar) |
| 06:56:36 | → | jtojnar joins (jtojnarmat@gateway/shell/matrix.org/x-sxfbmpglnidreblu) |
| 06:56:36 | → | iinuwa joins (iinuwamatr@gateway/shell/matrix.org/x-ojhvzvdjehejmjyl) |
| 06:56:36 | → | maralorn joins (maralornma@gateway/shell/matrix.org/x-xcbwgmzbnjbofzkc) |
| 06:56:36 | → | SlackIntegration joins (slackbotma@gateway/shell/matrix.org/x-esxicxmpfxumgwpu) |
| 06:56:36 | → | chreekat[m] joins (chreekatma@gateway/shell/matrix.org/x-lhpszfbfikwwpjcq) |
| 06:56:36 | → | pqwy[m] joins (pqwymatrix@gateway/shell/matrix.org/x-nxhnwnrcnkxvbjgw) |
| 06:56:36 | → | lambdaclan joins (lambdaclan@gateway/shell/matrix.org/x-nfskoikomeigrjig) |
| 06:56:36 | → | hsiktas[m] joins (hsiktasmat@gateway/shell/matrix.org/x-kynxvphdyxwicwmr) |
| 06:56:36 | → | boistordu1 joins (boistordum@gateway/shell/matrix.org/x-ewqvhlmcmyyidprx) |
| 06:56:36 | → | hnOsmium0001[m] joins (hnosmium00@gateway/shell/matrix.org/x-asylavqwpoyheblp) |
| 06:56:36 | → | PotatoHatsue joins (berbermanp@gateway/shell/matrix.org/x-ltxkvqlzigmwjcmb) |
| 06:56:37 | → | bonvoyage[m] joins (bonvoyageu@gateway/shell/matrix.org/x-flypodpwywfnwhbp) |
| 06:56:37 | → | psydruid joins (psydruidma@gateway/shell/matrix.org/x-jnnvasqbzlbcdazz) |
| 06:56:37 | → | kadoban joins (kadobanmat@gateway/shell/matrix.org/x-hygrfqqyfjnsdlux) |
| 06:56:37 | → | JoelMcCracken[m] joins (joelmccrac@gateway/shell/matrix.org/x-iuizycevqaqwplpt) |
| 06:56:37 | → | sm[m] joins (simonmicma@gateway/shell/matrix.org/x-smgmdfguunjmvhtb) |
| 06:56:37 | → | johnnyboy[m] joins (gifumatrix@gateway/shell/matrix.org/x-sdbsmmdtbhtyarzx) |
| 06:56:37 | → | Fernando-Basso[m joins (fernando-b@gateway/shell/matrix.org/x-usbqwwyedusymiyx) |
| 06:56:37 | → | themsay[m] joins (themsaymat@gateway/shell/matrix.org/x-doisvmaprkvtlian) |
| 06:56:38 | → | io_r_us[m] joins (commandlin@gateway/shell/matrix.org/x-hfbhrzjwkhpdkxmx) |
| 06:56:38 | → | rednaZ[m] joins (r3dnazmatr@gateway/shell/matrix.org/x-frefqrwfmvpulcxq) |
| 06:56:38 | → | drozdziak1 joins (drozdziak1@gateway/shell/matrix.org/x-aitoffbhswubbvqs) |
| 06:56:38 | → | ThaEwat joins (thaewraptm@gateway/shell/matrix.org/x-kkakwchgdjgshfvf) |
| 06:56:38 | → | Noughtmare[m] joins (naughtmare@gateway/shell/matrix.org/x-pxgtffywirgpojke) |
| 06:56:38 | → | nihilazo joins (nihilazoma@gateway/shell/matrix.org/x-ynhyzeaxhyhpxjcx) |
| 06:56:38 | → | srid joins (sridmatrix@gateway/shell/matrix.org/x-xvfelxeqgrijfein) |
| 06:56:38 | → | alvinsj[m] joins (alvinsjmat@gateway/shell/matrix.org/x-mkainprhrhntgffj) |
| 06:56:38 | → | sureyeaah joins (shauryab98@gateway/shell/matrix.org/x-bexfvkzxvxsukjbn) |
| 06:56:38 | → | michaelpj joins (michaelpjm@gateway/shell/matrix.org/x-lalgvgrwwexhlata) |
| 06:56:39 | → | vaibhavsagar joins (vaibhavsag@gateway/shell/matrix.org/x-lbhwkudhrzavozue) |
| 06:56:39 | → | theduke joins (thedukem1@gateway/shell/matrix.org/x-ywjhvhoswxgzllwc) |
| 06:56:39 | → | texasmynsted[m] joins (mmynstedko@gateway/shell/matrix.org/x-yvkblthijyxthcsw) |
| 06:56:39 | → | unclechu joins (unclechuma@gateway/shell/matrix.org/x-siyegrvxmbqkrarq) |
| 06:56:39 | → | fgaz joins (fgazmatrix@gateway/shell/matrix.org/x-xkyvxxetlscnwafl) |
| 06:56:39 | → | avocado joins (renningmat@gateway/shell/matrix.org/x-endygctswlrgzoes) |
| 06:56:39 | → | Ericson2314 joins (ericson231@gateway/shell/matrix.org/x-msawmwnrrupoyzdw) |
| 06:56:42 | → | dyniec[m] joins (dyniecmatr@gateway/shell/matrix.org/x-eqsqupnlptqjhopn) |
| 06:56:42 | → | jeffcasavant[m] joins (jeffcasava@gateway/shell/matrix.org/x-ftcflntfpsfawcth) |
| 06:56:43 | → | betrion[m] joins (betrionmat@gateway/shell/matrix.org/x-jtuvgpaxjhagltpq) |
| 06:56:43 | → | DavSanchez[m] joins (davsanchez@gateway/shell/matrix.org/x-khetygqiqqqbmftv) |
| 06:56:43 | → | albestro[m] joins (albestroma@gateway/shell/matrix.org/x-jhifwvtorjzyapnj) |
| 06:56:43 | → | jlv joins (jlvjustinl@gateway/shell/matrix.org/x-nbdlzwzqhzqhqeta) |
| 06:56:44 | → | ciderpunx[m] joins (ciderpunxm@gateway/shell/matrix.org/x-eiqlaujdcrrjihof) |
| 06:56:44 | → | CaptainFox[m] joins (onianimatr@gateway/shell/matrix.org/x-qldffscxaigohrqf) |
| 06:56:44 | → | sajith[m] joins (sajithmatr@gateway/shell/matrix.org/x-nztmgmuycmbqrvoe) |
| 06:56:44 | → | tttom[m] joins (tttommatri@gateway/shell/matrix.org/x-vdmmnqhiwsxbsrdk) |
| 06:56:44 | → | jiribenes1 joins (jbjiribene@gateway/shell/matrix.org/x-yrsznrpwsgeimxjz) |
| 06:56:44 | → | mmynsted[m] joins (mmynstedtc@gateway/shell/matrix.org/x-weneqjetvglndztb) |
| 06:56:44 | → | materialfuture[m joins (materialfu@gateway/shell/matrix.org/x-natatakpvirpbwzh) |
| 06:56:45 | → | itai33[m] joins (itai33matr@gateway/shell/matrix.org/x-cwbivzdyksbwtkzq) |
| 06:56:45 | → | jkaye[m] joins (jkayematri@gateway/shell/matrix.org/x-sacwexxudjndlbhb) |
| 06:56:45 | → | mikr[m] joins (mikrdavral@gateway/shell/matrix.org/x-ertglelnvdyfmpmz) |
| 06:56:45 | → | gmind[m] joins (gmindmatri@gateway/shell/matrix.org/x-xxubemmtfzohlasf) |
| 06:56:45 | → | GuillaumeChrel[m joins (guillaumec@gateway/shell/matrix.org/x-kgpqbbuzoemsaame) |
| 06:56:45 | → | ethercrow[m] joins (ethercrowm@gateway/shell/matrix.org/x-cngkbkqzfiyaehzq) |
| 06:56:45 | → | sepp2k joins (sepp2kmatr@gateway/shell/matrix.org/x-lbhxftmcyljkcwmt) |
| 06:56:45 | → | steve[m] joins (stevetrout@gateway/shell/matrix.org/x-rgbkimcdwvsztugz) |
| 06:56:45 | → | alexfmpe joins (alexfmpema@gateway/shell/matrix.org/x-puoreeslprltamlk) |
| 06:56:51 | → | dhouthoo joins (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be) |
| 06:57:47 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 06:59:07 | × | falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Ping timeout: 240 seconds) |
| 06:59:47 | → | alp joins (~alp@88.126.45.36) |
| 07:00:25 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 07:05:51 | × | tzh quits (~tzh@2601:448:c500:5300::143b) (Quit: zzz) |
| 07:07:38 | → | jespada joins (~jespada@90.254.245.15) |
| 07:08:45 | × | taurux quits (~taurux@net-130-25-214-55.cust.vodafonedsl.it) (Ping timeout: 240 seconds) |
| 07:09:25 | × | jedws quits (~jedws@121.209.161.98) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 07:10:06 | → | taurux joins (~taurux@net-188-152-69-171.cust.dsl.teletu.it) |
| 07:10:25 | × | Rudd0 quits (~Rudd0@185.189.115.103) (Ping timeout: 240 seconds) |
| 07:14:22 | × | boistordu1 quits (boistordum@gateway/shell/matrix.org/x-ewqvhlmcmyyidprx) (Quit: Idle for 30+ days) |
| 07:14:35 | × | todda7 quits (~torstein@athedsl-4367507.home.otenet.gr) (Ping timeout: 240 seconds) |
| 07:16:00 | × | dnaos quits (~dan@107-190-41-58.cpe.teksavvy.com) (Quit: Leaving) |
| 07:19:01 | → | GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 07:19:02 | × | GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 07:19:02 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 07:19:18 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds) |
| 07:25:47 | × | Ariakenom quits (~Ariakenom@193.254.193.1) (Ping timeout: 240 seconds) |
| 07:29:44 | ← | macerbi[m] parts (macerbimat@gateway/shell/matrix.org/x-zpwleyxpnqtsfatt) ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 07:33:00 | × | jespada quits (~jespada@90.254.245.15) (*.net *.split) |
| 07:33:00 | × | steve[m] quits (stevetrout@gateway/shell/matrix.org/x-rgbkimcdwvsztugz) (*.net *.split) |
| 07:33:00 | × | tttom[m] quits (tttommatri@gateway/shell/matrix.org/x-vdmmnqhiwsxbsrdk) (*.net *.split) |
| 07:33:00 | × | jiribenes1 quits (jbjiribene@gateway/shell/matrix.org/x-yrsznrpwsgeimxjz) (*.net *.split) |
| 07:33:00 | × | jlv quits (jlvjustinl@gateway/shell/matrix.org/x-nbdlzwzqhzqhqeta) (*.net *.split) |
| 07:33:00 | × | jeffcasavant[m] quits (jeffcasava@gateway/shell/matrix.org/x-ftcflntfpsfawcth) (*.net *.split) |
| 07:33:00 | × | proteusguy quits (~proteusgu@cm-58-10-208-180.revip7.asianet.co.th) (*.net *.split) |
| 07:33:00 | × | texasmynsted[m] quits (mmynstedko@gateway/shell/matrix.org/x-yvkblthijyxthcsw) (*.net *.split) |
| 07:33:00 | × | Fernando-Basso[m quits (fernando-b@gateway/shell/matrix.org/x-usbqwwyedusymiyx) (*.net *.split) |
| 07:33:00 | × | lnxw37d4 quits (lnxw37d4ma@gateway/shell/matrix.org/x-pimzqasrmmczjhys) (*.net *.split) |
| 07:33:00 | × | chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (*.net *.split) |
| 07:33:00 | × | ThaEwat quits (thaewraptm@gateway/shell/matrix.org/x-kkakwchgdjgshfvf) (*.net *.split) |
| 07:33:00 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (*.net *.split) |
| 07:33:00 | × | liff quits (liff@kapsi.fi) (*.net *.split) |
| 07:33:00 | × | Nascha quits (sid212230@gateway/web/irccloud.com/x-pcsyzkuvukkkrkpv) (*.net *.split) |
| 07:33:00 | × | Raito_Bezarius quits (~Raito_Bez@unaffiliated/raito-bezarius/x-8764578) (*.net *.split) |
| 07:33:00 | × | cheers quits (user@unaffiliated/cheers) (*.net *.split) |
| 07:33:00 | × | arahael quits (~arahael@203.194.43.207) (*.net *.split) |
| 07:33:01 | × | pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (*.net *.split) |
| 07:33:01 | × | ezzieyguywuf quits (~Unknown@unaffiliated/ezzieyguywuf) (*.net *.split) |
| 07:33:01 | × | joshmeredith quits (sid387798@gateway/web/irccloud.com/x-lhhtwrcyukiolswv) (*.net *.split) |
| 07:33:01 | × | pong quits (chiya@2406:3003:2077:2341::babe) (*.net *.split) |
| 07:33:01 | × | coeus quits (~coeus@p200300d02724ef00d20f0ecf5ac74df4.dip0.t-ipconnect.de) (*.net *.split) |
| 07:33:01 | × | nopf quits (~frosch@static.179.17.76.144.clients.your-server.de) (*.net *.split) |
| 07:33:01 | × | M2tias quits (m2@seri.fi) (*.net *.split) |
| 07:33:09 | → | liff joins (liff@kapsi.fi) |
| 07:33:11 | → | Nascha joins (sid212230@gateway/web/irccloud.com/x-edmffyxxtctzvskg) |
| 07:33:18 | → | chele joins (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) |
| 07:33:31 | → | proteusguy joins (~proteusgu@cm-58-10-208-180.revip7.asianet.co.th) |
| 07:33:52 | → | Raito_Bezarius joins (~Raito_Bez@unaffiliated/raito-bezarius/x-8764578) |
| 07:34:11 | → | cheers joins (user@unaffiliated/cheers) |
| 07:35:48 | → | tttom[m] joins (tttommatri@gateway/shell/matrix.org/x-tfjycddkqvetadxg) |
| 07:35:49 | → | jlv joins (jlvjustinl@gateway/shell/matrix.org/x-edyheupziglvmygt) |
| 07:35:49 | → | steve[m] joins (stevetrout@gateway/shell/matrix.org/x-giosogvjuwgmzgeq) |
| 07:36:45 | × | Tario quits (~Tario@201.192.165.173) (Ping timeout: 240 seconds) |
| 07:36:51 | → | macrover joins (~macrover@ip70-189-231-35.lv.lv.cox.net) |
| 07:37:04 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 07:37:19 | → | jespada joins (~jespada@90.254.245.15) |
| 07:37:42 | → | texasmynsted[m] joins (mmynstedko@gateway/shell/matrix.org/x-kjavtksplelfadkn) |
| 07:38:23 | → | Ariakenom joins (~Ariakenom@193.254.193.1) |
| 07:38:31 | → | Fernando-Basso[m joins (fernando-b@gateway/shell/matrix.org/session) |
| 07:38:31 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 07:38:31 | → | jiribenes1 joins (jbjiribene@gateway/shell/matrix.org/session) |
| 07:38:31 | → | jeffcasavant[m] joins (jeffcasava@gateway/shell/matrix.org/session) |
| 07:38:31 | → | arahael joins (~arahael@203.194.43.207) |
| 07:38:31 | → | pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net) |
| 07:38:31 | → | ezzieyguywuf joins (~Unknown@unaffiliated/ezzieyguywuf) |
| 07:38:31 | → | joshmeredith joins (sid387798@gateway/web/irccloud.com/x-lhhtwrcyukiolswv) |
| 07:38:31 | → | pong joins (chiya@2406:3003:2077:2341::babe) |
| 07:38:31 | → | coeus joins (~coeus@p200300d02724ef00d20f0ecf5ac74df4.dip0.t-ipconnect.de) |
| 07:38:31 | → | nopf joins (~frosch@static.179.17.76.144.clients.your-server.de) |
| 07:38:31 | → | M2tias joins (m2@seri.fi) |
| 07:38:31 | × | jeffcasavant[m] quits (jeffcasava@gateway/shell/matrix.org/session) (Changing host) |
| 07:38:31 | → | jeffcasavant[m] joins (jeffcasava@gateway/shell/matrix.org/x-ksjiuklwciszscec) |
| 07:38:32 | × | jiribenes1 quits (jbjiribene@gateway/shell/matrix.org/session) (Changing host) |
| 07:38:32 | → | jiribenes1 joins (jbjiribene@gateway/shell/matrix.org/x-oeyhikodljyfssef) |
| 07:38:32 | × | Fernando-Basso[m quits (fernando-b@gateway/shell/matrix.org/session) (Changing host) |
| 07:38:32 | → | Fernando-Basso[m joins (fernando-b@gateway/shell/matrix.org/x-ukhpvkodxcjgraor) |
| 07:38:34 | → | Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
| 07:38:34 | × | Sigyn quits (sigyn@freenode/utility-bot/sigyn) (Quit: i've seen things you people wouldn't believe. spam bots on fire off the shoulder of sigyn. i watched k-line beams glitter in the dark near the Tannhäuser Gate. all these moments will be lost in time, like tears in rain. time to /die) |
| 07:39:05 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 246 seconds) |
| 07:39:17 | → | Sigyn joins (sigyn@freenode/utility-bot/sigyn) |
| 07:39:17 | ChanServ | sets mode +o Sigyn |
| 07:39:40 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 07:41:07 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 07:42:07 | → | fendor joins (~fendor@e237-037.eduroam.tuwien.ac.at) |
| 07:44:22 | → | fendor_ joins (~fendor@t204-126.demo.tuwien.ac.at) |
| 07:44:23 | → | tb-test joins (~Thunderbi@2601:14d:4100:112c:cff4:7114:bc84:3722) |
| 07:44:37 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 264 seconds) |
| 07:45:49 | × | ryansmccoy quits (~ryansmcco@156.96.151.132) (Ping timeout: 264 seconds) |
| 07:46:17 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 07:46:25 | × | fendor quits (~fendor@e237-037.eduroam.tuwien.ac.at) (Ping timeout: 240 seconds) |
| 07:46:28 | → | GyroW joins (~GyroW@d54c03e98.access.telenet.be) |
| 07:46:28 | × | GyroW quits (~GyroW@d54c03e98.access.telenet.be) (Changing host) |
| 07:46:28 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 07:46:45 | → | ryansmccoy joins (~ryansmcco@193.37.254.27) |
| 07:46:57 | → | yoja joins (~yoel.jaco@89.237.109.192) |
| 07:47:03 | × | Lycurgus quits (~niemand@98.4.96.130) (Quit: Exeunt) |
| 07:48:05 | ← | macrover parts (~macrover@ip70-189-231-35.lv.lv.cox.net) ("Killed buffer") |
| 07:48:46 | → | whiteline joins (~whiteline@unaffiliated/whiteline) |
| 07:49:24 | → | todda7 joins (~torstein@athedsl-317312.home.otenet.gr) |
| 07:50:09 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 07:50:10 | × | fendor_ quits (~fendor@t204-126.demo.tuwien.ac.at) (Quit: Leaving) |
| 07:50:11 | × | yoeljacobsen quits (~yoel.jaco@5.28.167.89) (Ping timeout: 240 seconds) |
| 07:51:44 | → | raichoo joins (~raichoo@213.240.178.58) |
| 07:53:33 | → | Saukk joins (~Saukk@2001:998:f1:3963:1c59:9bb5:b94c:2) |
| 07:54:07 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 07:57:16 | → | John20 joins (~John@82.46.59.122) |
| 08:00:00 | → | cpressey joins (~cpressey@79-72-202-104.dynamic.dsl.as9105.com) |
| 08:00:07 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 08:00:38 | × | avocado quits (renningmat@gateway/shell/matrix.org/x-endygctswlrgzoes) (Quit: Idle for 30+ days) |
| 08:05:09 | → | Tario joins (~Tario@201.192.165.173) |
| 08:08:08 | → | spinnylights joins (~zoe@pool-100-6-142-89.pitbpa.fios.verizon.net) |
| 08:10:42 | <spinnylights> | hiya haskellers—if i run `stack setup` in a new stack project, it tries to pull down and build ghc 8.8.4, but the build fails due to a sanity check; the error is "Could not load module Distribution.Simple; It is a member of the hidden package Cabal-3.0.1.0" |
| 08:10:53 | <spinnylights> | this is on arch linux, ghc installed via ghcup |
| 08:11:17 | <spinnylights> | i've googled about it a bit but i've only found stuff related to people hitting errors like this on their own projects, not on ghc itself, unless i'm confused about something |
| 08:12:53 | <maerwald> | spinnylights: which ghc does it actually use? do you have one installed via arch repo? |
| 08:13:44 | <spinnylights> | if i run `which ghc` it gives the ghc installed via ghcup, which is 8.8.4; i also have ghc 8.10.2 installed globally via arch repos |
| 08:14:01 | × | hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-lpqxrmosfmyrgeny) (Quit: Connection closed for inactivity) |
| 08:14:03 | <spinnylights> | do you think stack is getting confused by that? |
| 08:14:24 | <maerwald> | it should use its own, unless you tell it otherwise, but not sure |
| 08:14:35 | × | olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 240 seconds) |
| 08:14:38 | <spinnylights> | yeah, i was under the impression that stack wouldn't use either of them |
| 08:15:18 | × | cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 08:15:26 | <spinnylights> | i could try telling ghcup to use 8.10.2 and see if it makes any difference i guess |
| 08:16:36 | <spinnylights> | seems like it still wants to pull down 8.8.4, but we'll see what happens i guess |
| 08:17:42 | <spinnylights> | same thing :/ this is after wiping out the ghc-tinfo6-8.8.4 stuff in ~/.stack |
| 08:17:52 | → | kritzefitz joins (~kritzefit@2003:5b:203b:103:367c:3073:81cb:7f0f) |
| 08:18:12 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 08:22:01 | DTZUZU_ | is now known as DTZUZU |
| 08:22:36 | → | borne joins (~fritjof@200116b864a02a00739dc2dd650b1f65.dip.versatel-1u1.de) |
| 08:23:27 | hackage | yesod-filter 0.1.0.2 - Automatic filter generator for Yesod https://hackage.haskell.org/package/yesod-filter-0.1.0.2 (KenzoYotsuya) |
| 08:27:12 | <spinnylights> | i'm going to try using the nightly resolver instead and see if that makes a difference—i notice that the 8.8.4 lts release came out only 5 days ago so maybe i've hit a bug |
| 08:28:06 | <maerwald> | just use the previous one |
| 08:28:09 | <maerwald> | e.g. 16.15 |
| 08:29:10 | <spinnylights> | okay nightly did work—i'll try 16.15 then |
| 08:29:24 | → | olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber) |
| 08:30:32 | <spinnylights> | well 16.16 i guess |
| 08:33:22 | <spinnylights> | same thing :/ i kind of suspect it'll do this for every 8.8.4 lts resolver; let's see about the 8.8.3 lts, wonder what happens there |
| 08:33:42 | × | da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 08:34:07 | <spinnylights> | no trouble there either—seems to be specific to 8.8.4 |
| 08:35:09 | → | da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com) |
| 08:35:13 | → | GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 08:35:13 | × | GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 08:35:13 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 08:36:05 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 240 seconds) |
| 08:36:17 | × | knupfer quits (~Thunderbi@200116b82ce4df00342d492c1199dfa9.dip.versatel-1u1.de) (Ping timeout: 260 seconds) |
| 08:36:40 | <gentauro> | is this a joke or did somebody implement "clippy"? https://asciinema.org/a/xkqfc5Fst9yC5gDaPskiNE5au xD |
| 08:37:05 | → | chaosmasttter joins (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) |
| 08:37:29 | <Taneb> | gentauro: it's entirely possible that both are the cae |
| 08:37:39 | <opqdonut> | it's a very popular feature in kakoune I hear |
| 08:38:01 | <opqdonut> | originally an easter egg? |
| 08:38:30 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 08:39:18 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 08:39:38 | <gentauro> | Taneb: `cae`? What does that mean? |
| 08:39:47 | <Taneb> | Typo for "case" |
| 08:39:58 | <Taneb> | (it's early and I didn't sleep well) |
| 08:40:03 | <gentauro> | aha |
| 08:40:25 | × | da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Ping timeout: 264 seconds) |
| 08:41:10 | → | mcc joins (~pbodev1@5-15-16-231.residential.rdsnet.ro) |
| 08:41:34 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 08:42:13 | <gentauro> | I really need to find an alternative to `intero` on my NixOS. I think it's the last `stable channel` that will allow for the usage of `intero`, then I must move on (which is pretty sad) |
| 08:42:23 | <gentauro> | so getting a "clippy" could be fun :) |
| 08:45:58 | hackage | openapi3 3.0.0 - OpenAPI 3.0 data model https://hackage.haskell.org/package/openapi3-3.0.0 (maksbotan) |
| 08:49:47 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 08:51:08 | × | mcc quits (~pbodev1@5-15-16-231.residential.rdsnet.ro) (Quit: Nettalk6 - www.ntalk.de) |
| 08:53:23 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 08:53:38 | → | Guest_58 joins (c317ab17@195-23-171-23.net.novis.pt) |
| 08:54:42 | → | m0rphism joins (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) |
| 08:55:30 | → | mcc joins (~pbodev1@5-15-16-231.residential.rdsnet.ro) |
| 08:56:02 | <Guest_58> | i have a question. Im trying to isntall haskell on my mac, using the ghcup installer, where i just copy the link to my terminal and the code get downloaded by itself. But when its being unpacked it says that i need to update my mac, however, when i try to update it says that i have no updates avalible |
| 08:56:25 | × | uwap quits (~uwap@genja.uwap.name) (Quit: ZNC 1.8.0 - https://znc.in) |
| 08:57:55 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-112-132.w86-198.abo.wanadoo.fr) |
| 08:58:26 | × | Guest_58 quits (c317ab17@195-23-171-23.net.novis.pt) (Remote host closed the connection) |
| 08:58:50 | × | inkbottle quits (~inkbottle@aaubervilliers-654-1-100-191.w86-212.abo.wanadoo.fr) (Ping timeout: 272 seconds) |
| 09:00:02 | × | Oejet quits (~Oejet@185.163.110.116) () |
| 09:02:13 | <yushyin> | maerwald: ^ ~.~ |
| 09:02:23 | <maerwald> | I don't have a mac |
| 09:02:31 | <yushyin> | I know! |
| 09:03:36 | <yushyin> | but why is macOS + ghcup such a bad experience, or is it just the users? |
| 09:03:52 | <maerwald> | because of mac? |
| 09:05:21 | → | uwap joins (~uwap@genja.uwap.name) |
| 09:05:28 | hackage | servant-openapi3 2.0.0 - Generate a Swagger/OpenAPI/OAS 3.0 specification for your servant API. https://hackage.haskell.org/package/servant-openapi3-2.0.0 (maksbotan) |
| 09:05:52 | <tomsmeding> | interesting report; maybe their hardware is old and ghc wants a newer macos version that cannot (officially) be installed on that machine? |
| 09:06:04 | × | plutoniix quits (~q@175.176.222.7) (Remote host closed the connection) |
| 09:07:28 | <c_wraith> | Part of it is that OS X has decided to split its bash configuration across two files, and ghcup often updates the wrong one |
| 09:07:45 | <maerwald> | that's already fixed |
| 09:07:53 | <maerwald> | (blatantly) |
| 09:07:55 | <c_wraith> | people still ask about it frequently |
| 09:08:08 | → | plutoniix joins (~q@175.176.222.7) |
| 09:08:45 | <c_wraith> | like, I remember at least two people in the last week with that issue |
| 09:10:44 | × | gnumonik quits (~gnumonik@c-73-170-91-210.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 09:17:10 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 246 seconds) |
| 09:17:31 | → | erikd joins (~erikd@hendrix.mega-nerd.net) |
| 09:17:31 | × | erikd quits (~erikd@hendrix.mega-nerd.net) (Remote host closed the connection) |
| 09:18:37 | → | knupfer joins (~Thunderbi@i5E86B40F.versanet.de) |
| 09:18:37 | → | Buntspecht joins (~user@unaffiliated/siracusa) |
| 09:18:40 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 09:21:05 | × | ryansmccoy quits (~ryansmcco@193.37.254.27) (Ping timeout: 240 seconds) |
| 09:21:22 | → | ryansmccoy joins (~ryansmcco@156.96.151.132) |
| 09:22:01 | → | sirkitree joins (~sirkitree@185.204.1.185) |
| 09:22:47 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 09:25:18 | × | dsal quits (sid13060@gateway/web/irccloud.com/x-xyknplqixjlyzxrc) (Ping timeout: 260 seconds) |
| 09:25:18 | × | jonrh quits (sid5185@gateway/web/irccloud.com/x-kooeapdfcwrhfwoh) (Ping timeout: 260 seconds) |
| 09:25:25 | × | toorevitimirp quits (~tooreviti@117.182.180.245) (Ping timeout: 264 seconds) |
| 09:25:30 | → | jonrh joins (sid5185@gateway/web/irccloud.com/x-aveafoxnyeedadix) |
| 09:25:43 | × | bloodstalker quits (~bloodstal@46.166.187.178) (Ping timeout: 258 seconds) |
| 09:25:53 | × | ProofTechnique quits (sid79547@gateway/web/irccloud.com/x-kqyovfdcbjptkkuq) (Ping timeout: 260 seconds) |
| 09:25:53 | × | verement quits (~anonymous@cpe-76-167-229-223.san.res.rr.com) (Ping timeout: 260 seconds) |
| 09:25:53 | × | taktoa[c] quits (sid282096@gateway/web/irccloud.com/x-tjocifgnxfmoncuq) (Ping timeout: 260 seconds) |
| 09:26:28 | × | systemfault quits (sid267009@gateway/web/irccloud.com/x-dhvxgxaiixztrssx) (Ping timeout: 260 seconds) |
| 09:26:32 | → | verement joins (~anonymous@cpe-76-167-229-223.san.res.rr.com) |
| 09:27:03 | × | jle` quits (~mstksg@unaffiliated/mstksg) (Ping timeout: 260 seconds) |
| 09:27:03 | × | CindyLinz quits (~cindy_utf@112.121.78.20) (Ping timeout: 260 seconds) |
| 09:27:14 | → | bloodstalker joins (~bloodstal@46.166.187.178) |
| 09:27:36 | → | dsal joins (sid13060@gateway/web/irccloud.com/x-kjyjumpbtqbmmaod) |
| 09:28:04 | → | CindyLinz joins (~cindy_utf@112.121.78.20) |
| 09:28:34 | → | ProofTechnique joins (sid79547@gateway/web/irccloud.com/x-hfhkxxflhnjauuaj) |
| 09:28:34 | → | systemfault joins (sid267009@gateway/web/irccloud.com/x-htxicjxaklgtpnib) |
| 09:28:36 | → | taktoa[c] joins (sid282096@gateway/web/irccloud.com/x-glimjsfxdcqvfuja) |
| 09:28:53 | → | jle` joins (~mstksg@unaffiliated/mstksg) |
| 09:31:20 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 09:31:49 | × | jchia_ quits (~jchia@58.32.35.239) (Quit: Leaving.) |
| 09:34:24 | → | christo joins (516071d5@81.96.113.213) |
| 09:35:53 | <christo> | hey guys, anyone know if i can set cabal build to default to cabal v1-build and same with other commands? |
| 09:36:24 | <dcoutts> | christo: you can use an older release of cabal where it still defaulted to v1 |
| 09:37:57 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 09:38:07 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 09:38:07 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 09:38:07 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 09:38:17 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 09:39:41 | → | shatriff joins (~vitaliish@88.155.84.139) |
| 09:42:35 | × | Ariakenom quits (~Ariakenom@193.254.193.1) (Ping timeout: 240 seconds) |
| 09:42:47 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 09:44:27 | × | kritzefitz quits (~kritzefit@2003:5b:203b:103:367c:3073:81cb:7f0f) (Ping timeout: 240 seconds) |
| 09:45:08 | <christo> | dcoutts, you know how i can find which version defaults to v1? |
| 09:45:28 | <dcoutts> | christo: check the changelog, it was probably 3.0 |
| 09:48:14 | × | clever quits (~clever@NixOS/user/clever) (Ping timeout: 272 seconds) |
| 09:50:21 | → | DavidEichmann joins (~david@43.240.198.146.dyn.plus.net) |
| 09:51:49 | <jackdk> | https://hackage.haskell.org/package/cabal-install-3.2.0.0/changelog |
| 09:52:07 | <jackdk> | 3.0.0.0: Legacy commands are now only accessible with the `v1-` prefixes, and the `v2-`commands are the new default. |
| 09:52:29 | × | polux2001 quits (~polux@51.15.169.172) (Quit: Ping timeout (120 seconds)) |
| 09:52:47 | → | polux2001 joins (~polux@51.15.169.172) |
| 09:53:10 | → | mcc2 joins (~pbodev1@5-15-16-231.residential.rdsnet.ro) |
| 09:53:18 | × | bloodstalker quits (~bloodstal@46.166.187.178) (Ping timeout: 272 seconds) |
| 09:54:11 | → | bloodstalker joins (~bloodstal@46.166.187.188) |
| 09:54:29 | → | clever joins (~clever@NixOS/user/clever) |
| 09:55:47 | × | mcc quits (~pbodev1@5-15-16-231.residential.rdsnet.ro) (Ping timeout: 240 seconds) |
| 09:55:48 | × | anoe quits (~anoe@delanoe.org) (Remote host closed the connection) |
| 09:56:25 | × | knupfer quits (~Thunderbi@i5E86B40F.versanet.de) (Ping timeout: 240 seconds) |
| 09:56:27 | → | kritzefitz joins (~kritzefit@2003:5b:203b:100:c23e:baff:feb8:8cdb) |
| 09:57:23 | × | yoja quits (~yoel.jaco@89.237.109.192) (Ping timeout: 240 seconds) |
| 09:57:26 | <christo> | jackdk so 2.4 then? |
| 09:58:49 | <jackdk> | if that's what the changelog says |
| 09:59:42 | → | knupfer joins (~Thunderbi@i5E86B40F.versanet.de) |
| 10:00:04 | × | totallynotnate quits (~nate@110.137.154.49) (Quit: WeeChat 2.9) |
| 10:00:26 | → | Rudd0 joins (~Rudd0@185.189.115.98) |
| 10:02:44 | <christo> | when using ghcup to install different cabal version |
| 10:02:48 | <christo> | is it: |
| 10:02:58 | <christo> | ghcup install cabal 2.4.1.0 |
| 10:03:03 | <christo> | having issues with that |
| 10:03:16 | → | anoe joins (~anoe@delanoe.org) |
| 10:06:12 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 256 seconds) |
| 10:06:19 | → | GyroW_ joins (~GyroW@d54C03E98.access.telenet.be) |
| 10:06:19 | × | GyroW_ quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 10:06:19 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 10:06:38 | <maerwald> | "having issues" isn't very specific |
| 10:07:50 | × | todda7 quits (~torstein@athedsl-317312.home.otenet.gr) (Ping timeout: 265 seconds) |
| 10:10:10 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 10:10:10 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 10:10:10 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 10:10:27 | <christo> | ye, my bad. have it working now. thx jackdk dcoutts |
| 10:10:37 | → | todda7 joins (~torstein@2a02:587:d3b:1b36:e92e:3500:403:694a) |
| 10:11:00 | <christo> | i'm trying to get haskell language server support working for the Euterpea music lib in vs code |
| 10:11:05 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 240 seconds) |
| 10:11:35 | <maerwald> | I'm not sure that will work with an old cabal |
| 10:12:56 | × | giaco quits (~jack@2-238-151-49.ip244.fastwebnet.it) (Ping timeout: 272 seconds) |
| 10:13:04 | <maerwald> | note that ghcup can install hls too |
| 10:13:47 | → | giaco joins (~jack@2-238-151-49.ip244.fastwebnet.it) |
| 10:15:49 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 264 seconds) |
| 10:17:07 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 10:18:04 | × | ryansmccoy quits (~ryansmcco@156.96.151.132) (Ping timeout: 246 seconds) |
| 10:18:06 | → | Gurkenglas_ joins (~Gurkengla@unaffiliated/gurkenglas) |
| 10:18:25 | → | ryansmccoy joins (~ryansmcco@193.37.254.27) |
| 10:19:59 | <christo> | maerwald i've tried most things to get HLS to provide support for Euterpea but no luck |
| 10:20:05 | × | alp quits (~alp@88.126.45.36) (Ping timeout: 240 seconds) |
| 10:20:21 | <christo> | so for euterpea to work ghc has to be set lower, i'm uisng 8.6.4 |
| 10:20:22 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 10:20:24 | <christo> | but |
| 10:20:40 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 10:20:40 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 10:20:40 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 10:20:45 | × | mozzarella quits (~sam@unaffiliated/sam113101) (Remote host closed the connection) |
| 10:20:46 | <christo> | euterpea only builds and works when you use the v1 style cabal commands |
| 10:21:10 | <christo> | i've changed cabal to 2.4.1.0 and ghc at 8.6.4 |
| 10:21:16 | <christo> | and from the cmd line project works |
| 10:21:40 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) |
| 10:21:42 | <christo> | but haskell language server in vs code still gives me a msg saying it can't resolve Euterpea dependency |
| 10:21:59 | <christo> | even though the project is building from cmd line |
| 10:22:07 | → | mozzarella joins (~sam@unaffiliated/sam113101) |
| 10:23:44 | → | yoja joins (~yoel.jaco@89.237.109.192) |
| 10:23:59 | → | alp joins (~alp@2a01:e0a:58b:4920:4d3:fcd8:bff8:2549) |
| 10:26:57 | → | Tops2 joins (~Tobias@dyndsl-095-033-023-047.ewe-ip-backbone.de) |
| 10:27:45 | → | knupfer1 joins (~Thunderbi@200116b82ce4df0088357864009e671d.dip.versatel-1u1.de) |
| 10:27:46 | × | knupfer quits (~Thunderbi@i5E86B40F.versanet.de) (Quit: knupfer) |
| 10:27:46 | knupfer1 | is now known as knupfer |
| 10:28:16 | → | jpcooper joins (~user@unaffiliated/jpcooper) |
| 10:28:19 | ← | jpcooper parts (~user@unaffiliated/jpcooper) () |
| 10:29:08 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 10:29:19 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 10:29:19 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 10:29:19 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 10:34:43 | × | livvy quits (~livvy@gateway/tor-sasl/livvy) (Ping timeout: 240 seconds) |
| 10:34:43 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 260 seconds) |
| 10:36:47 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 240 seconds) |
| 10:37:14 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 10:37:14 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 10:37:14 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 10:37:31 | × | worc3131 quits (~quassel@2a02:c7f:c026:9500:7d0b:65d0:38a4:4786) (Ping timeout: 272 seconds) |
| 10:38:12 | → | __monty__ joins (~toonn@unaffiliated/toonn) |
| 10:38:27 | hackage | HsOpenSSL 0.11.4.20 - Partial OpenSSL binding for Haskell https://hackage.haskell.org/package/HsOpenSSL-0.11.4.20 (VladimirShabanov) |
| 10:38:42 | → | Ariakenom joins (~Ariakenom@193.254.193.1) |
| 10:41:14 | → | nemesit|znc joins (~nemesit@2a01:488:66:1000:2ea3:4eeb:0:1) |
| 10:41:19 | → | matthias_goergen joins (ca85cca7@202.133.204.167) |
| 10:41:27 | × | tb-test quits (~Thunderbi@2601:14d:4100:112c:cff4:7114:bc84:3722) (Ping timeout: 260 seconds) |
| 10:41:44 | matthias_goergen | is now known as matthiasgoergens |
| 10:41:53 | matthiasgoergens | is now known as matthias_gorgens |
| 10:43:18 | <matthias_gorgens> | Hello! I have a monad computation that runs in RWS. Specifically, for the config provided by the Reader bit, I have a list of values. So I typically run my RWS computation multiple times. |
| 10:43:43 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 10:43:55 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:11f9:52f9:c5f:a031) (Ping timeout: 240 seconds) |
| 10:44:25 | <matthias_gorgens> | Now I want to add the ability for my computations to communicate: basically somehow add an operation `collect :: a -> m [a]` that you give a value and that returns the values given by your own computation and those of all the other computations running in lockstep. |
| 10:44:46 | <matthias_gorgens> | (It's fine for `collect` to fail, if the different computations somehow get out of lockstep.) |
| 10:44:52 | <matthias_gorgens> | Any idea how to implement this? |
| 10:45:12 | <matthias_gorgens> | I am thinking of something with coroutines or continuations. |
| 10:47:32 | <matthias_gorgens> | (If I need to restrict the values that `collect` can transmit to a single type, that's not ideal, but still ok.) |
| 10:48:37 | <davean> | christo: euterpea only builds with v1 commands? |
| 10:49:18 | × | yoja quits (~yoel.jaco@89.237.109.192) (Ping timeout: 260 seconds) |
| 10:49:32 | <maerwald> | it looks like an abandoned project |
| 10:56:33 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:1051:6dd6:ffb:a01a) |
| 10:56:45 | × | Stanley00 quits (~stanley00@unaffiliated/stanley00) () |
| 10:57:06 | <davean> | christo: I just build it with v2-build, I think you might be confused about the problem |
| 10:59:41 | <christo> | davean i mean, i want to use the package in a personal cabal project and have haskell language support for the Euterpea API |
| 11:00:07 | <christo> | i want to use the Euterpea package in a personal cabal project as a dependency* |
| 11:00:26 | <davean> | Right, so? |
| 11:00:43 | → | jbomo joins (~dkd@47.155.81.252) |
| 11:01:31 | <christo> | whenever i use the package as a dependency i always get a cannot resolve dependency error from HLS in vs code and it breaks/or interrupts rather all of other code suggestion support through the project |
| 11:01:35 | × | Dungdv quits (abf4bce2@gateway/web/cgi-irc/kiwiirc.com/ip.171.244.188.226) (Quit: Connection closed) |
| 11:02:44 | <christo> | i want ide features with coding a euterpea project basically |
| 11:02:57 | <davean> | Right so why do you think this has to do with v1 vs v2? |
| 11:03:16 | × | jbomo quits (~dkd@47.155.81.252) () |
| 11:03:20 | <christo> | on the website it said euterpea only builds with v1 |
| 11:03:29 | <christo> | or the package as a dependency does |
| 11:03:39 | <christo> | haskell language server |
| 11:03:45 | <christo> | by default calls cabal build |
| 11:03:51 | <christo> | when doing checks i think |
| 11:03:54 | <christo> | not v1-build |
| 11:05:50 | <christo> | maybe only way around this is to build the Euterpea project itself so i can get code completetion/suggestions? |
| 11:06:08 | <christo> | and create my own files within the project for playing around with it |
| 11:08:07 | × | olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 256 seconds) |
| 11:08:23 | × | christo quits (516071d5@81.96.113.213) (Remote host closed the connection) |
| 11:08:41 | → | Zetagon joins (~leo@c151-177-52-233.bredband.comhem.se) |
| 11:08:48 | → | toorevitimirp joins (~tooreviti@117.182.180.245) |
| 11:11:27 | <davean> | The issue is just its Setup, you can build it with v2 just fine, just specify the Cabal version. |
| 11:12:07 | <yushyin> | they left :/ |
| 11:12:14 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 11:13:49 | <davean> | I think they just really wanted to think the problem was what they thought it was :/ |
| 11:17:57 | × | wei2912 quits (~wei2912@unaffiliated/wei2912) (Quit: Lost terminal) |
| 11:18:11 | × | xsperry quits (~as@unaffiliated/xsperry) (Ping timeout: 240 seconds) |
| 11:18:40 | → | urodna joins (~urodna@unaffiliated/urodna) |
| 11:20:17 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 11:22:02 | → | shatriff_ joins (~vitaliish@193.239.152.9) |
| 11:23:07 | × | todda7 quits (~torstein@2a02:587:d3b:1b36:e92e:3500:403:694a) (Ping timeout: 272 seconds) |
| 11:23:23 | → | Franciman joins (~francesco@host-95-247-31-62.retail.telecomitalia.it) |
| 11:24:45 | × | shatriff quits (~vitaliish@88.155.84.139) (Ping timeout: 240 seconds) |
| 11:25:07 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 11:27:43 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9) |
| 11:28:17 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 11:29:58 | hackage | hsinspect 0.0.17 - Inspect Haskell source files. https://hackage.haskell.org/package/hsinspect-0.0.17 (tseenshe) |
| 11:31:12 | → | roconnor joins (~roconnor@host-45-78-225-249.dyn.295.ca) |
| 11:32:08 | × | alp quits (~alp@2a01:e0a:58b:4920:4d3:fcd8:bff8:2549) (Remote host closed the connection) |
| 11:32:33 | → | alp joins (~alp@2a01:e0a:58b:4920:490:f804:4532:9fca) |
| 11:32:52 | × | shatriff_ quits (~vitaliish@193.239.152.9) (Remote host closed the connection) |
| 11:35:57 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:1051:6dd6:ffb:a01a) (Ping timeout: 260 seconds) |
| 11:37:17 | → | ClaudiusMaximus joins (~claude@198.123.199.146.dyn.plus.net) |
| 11:37:53 | → | jedws joins (~jedws@121.209.161.98) |
| 11:37:57 | × | ClaudiusMaximus quits (~claude@198.123.199.146.dyn.plus.net) (Changing host) |
| 11:37:57 | → | ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus) |
| 11:39:52 | → | hekkaidekapus[ joins (~tchouri@gateway/tor-sasl/hekkaidekapus) |
| 11:40:15 | × | jedws quits (~jedws@121.209.161.98) (Client Quit) |
| 11:41:43 | × | hekkaidekapus} quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds) |
| 11:44:23 | × | rprije quits (~rprije@203.214.95.251) (Ping timeout: 256 seconds) |
| 11:48:05 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) (Quit: cosimone) |
| 11:48:18 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:d198:9f67:639d:eb47) |
| 11:50:28 | × | alx741 quits (~alx741@186.178.110.191) (Ping timeout: 272 seconds) |
| 11:50:58 | × | tsrt^ quits (tsrt@ip98-184-89-2.mc.at.cox.net) () |
| 11:52:31 | → | nuh^ joins (nuh@ip98-184-89-2.mc.at.cox.net) |
| 11:58:13 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:d198:9f67:639d:eb47) (Quit: WeeChat 2.7.1) |
| 11:58:38 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:d198:9f67:639d:eb47) |
| 11:59:29 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:d198:9f67:639d:eb47) (Client Quit) |
| 11:59:50 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:d198:9f67:639d:eb47) |
| 12:00:01 | × | sirkitree quits (~sirkitree@185.204.1.185) () |
| 12:01:45 | × | chaosmasttter quits (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 12:02:43 | → | alx741 joins (~alx741@186.178.110.231) |
| 12:06:27 | × | cpressey quits (~cpressey@79-72-202-104.dynamic.dsl.as9105.com) (Quit: Lunch) |
| 12:08:07 | → | seanvert joins (~user@177.84.244.242) |
| 12:10:54 | × | matthias_gorgens quits (ca85cca7@202.133.204.167) (Ping timeout: 245 seconds) |
| 12:11:33 | × | plutoniix quits (~q@175.176.222.7) (Quit: Leaving) |
| 12:12:18 | → | dyeplexer joins (~lol@unaffiliated/terpin) |
| 12:13:18 | <Tario> | Alright, thank you sm! I'll take a look on the repos wiki |
| 12:14:19 | <codedmart> | I am trying to use http-conduit to download a file and stream to s3 using amazonka-s3-streaming. I am seeing this error: https://gist.github.com/codedmart/d3c5f008c4a8ad27b24e649f8771a590 |
| 12:14:38 | <codedmart> | Anyone that can provide some ideas/clues to what I am missing here. |
| 12:15:10 | × | rihards quits (~rihards@balticom-142-78-50.balticom.lv) (Quit: rihards) |
| 12:15:25 | → | carlomagno joins (~cararell@inet-hqmc02-o.oracle.com) |
| 12:17:24 | <jackdk> | codedmart: looks like the commit that fixes the problem -- https://github.com/brendanhay/amazonka/commit/83dc7ad38a76e1db5f2490d7c7d8e269df8976aa -- hasn't yet made it into an amazonka release. |
| 12:18:13 | <codedmart> | jackdk Ah I missed that :(. Thanks! |
| 12:19:04 | <jackdk> | yeah, the slow rate of PR merges in amazonka is a tragedy |
| 12:19:37 | <sshine> | I'm getting a type error I don't understand. http://pastie.org/p/3PpeaPreqcmDAG87HAFhVD - https://github.com/sshine/dagger2/blob/more-foldfix/src/Dagger/Contract/Traversal.hs - somewhere in my code, word = Integer gets assumed, but I don't know why. |
| 12:20:51 | → | NinjaTrappeur1 joins (~ninja@unaffiliated/ninjatrappeur) |
| 12:21:27 | → | xsperry joins (~as@unaffiliated/xsperry) |
| 12:21:44 | → | Lthere joins (~Lthere@185.244.214.216) |
| 12:21:48 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 12:21:56 | <siraben> | How do I get `[Maybe String]` out of a prism? I ahve `myCSV ^? namedCsv . rows . column @String "Timestamp"` but it gives me a single result. |
| 12:22:01 | × | NinjaTrappeur quits (~ninja@unaffiliated/ninjatrappeur) (Ping timeout: 272 seconds) |
| 12:22:03 | × | bloodstalker quits (~bloodstal@46.166.187.188) (Ping timeout: 260 seconds) |
| 12:23:06 | → | fendor joins (~fendor@e237-037.eduroam.tuwien.ac.at) |
| 12:23:43 | × | John20 quits (~John@82.46.59.122) (Ping timeout: 246 seconds) |
| 12:24:12 | → | Dungdv joins (01346eb4@gateway/web/cgi-irc/kiwiirc.com/ip.1.52.110.180) |
| 12:24:26 | → | st8less joins (~st8less@2603:a060:11fd:0:9c66:9b18:c21:60c) |
| 12:24:33 | <carbolymer> | how lightweight is thread from forkIO? i need to push data to rabbitmq (couple times per second) and I plan to wrap each call in `async` - is it a good idea or would it be better to create channel/queue and separate long-living thread to read from that queue and push to rabbit? |
| 12:25:45 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 12:26:34 | → | raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) |
| 12:26:52 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) |
| 12:27:29 | <sshine> | hmm, it seems that I'm messing up mutually recursing two Fix types a slight bit... |
| 12:27:48 | <sshine> | hi siraben :) |
| 12:28:07 | <siraben> | Hi sshine |
| 12:28:07 | sshine | doesn't know lenses. |
| 12:28:25 | <siraben> | sshine: the github link seems broken? |
| 12:28:26 | → | oisdk joins (~oisdk@2001:bb6:3329:d100:9cdf:5974:56ad:fa2f) |
| 12:28:31 | <sshine> | eh. |
| 12:28:34 | <sshine> | d'oh. |
| 12:29:07 | <sshine> | there! |
| 12:29:12 | → | ixlun joins (~matthew@213.205.241.94) |
| 12:29:28 | <siraben> | Why is it called foldFix instead of cata now? |
| 12:29:48 | × | knupfer quits (~Thunderbi@200116b82ce4df0088357864009e671d.dip.versatel-1u1.de) (Remote host closed the connection) |
| 12:29:50 | <sshine> | they changed it in 0.3, I think |
| 12:29:56 | → | knupfer joins (~Thunderbi@200116b82ce4df008572ba0750ed6f70.dip.versatel-1u1.de) |
| 12:30:02 | <siraben> | catamorphism is standard terminology in literature |
| 12:30:03 | <siraben> | Heh |
| 12:30:03 | × | Saukk quits (~Saukk@2001:998:f1:3963:1c59:9bb5:b94c:2) (Remote host closed the connection) |
| 12:30:10 | → | fendor_ joins (~fendor@t204-126.demo.tuwien.ac.at) |
| 12:30:12 | <sshine> | I don't know... maybe the foobarmorphisms sound scary. |
| 12:30:15 | <sshine> | sure |
| 12:30:27 | <sshine> | I am certainly confused. :-D |
| 12:30:56 | <siraben> | sshine: what's the function supposed to do? |
| 12:31:03 | × | fendor quits (~fendor@e237-037.eduroam.tuwien.ac.at) (Ping timeout: 260 seconds) |
| 12:31:23 | × | nuh^ quits (nuh@ip98-184-89-2.mc.at.cox.net) () |
| 12:31:43 | [exa] | writes down foobarmorphism as a general morphism placeholder |
| 12:32:01 | × | aarvar quits (~foewfoiew@50.35.43.33) (Ping timeout: 258 seconds) |
| 12:32:09 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 12:32:25 | → | tsrt^ joins (tsrt@ip98-184-89-2.mc.at.cox.net) |
| 12:33:03 | <sshine> | siraben, gather a list of transfers identified by their parameter. so initially a [(asset, party)]. but because of other combinators, I'm actually gathering an [(asset, party, Expr word oracle)] with Expr being another Fix type. what I think I'm forgetting is to add 'Fix' to the value 'Const 1'. |
| 12:33:17 | → | chaosmasttter joins (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) |
| 12:33:30 | <[exa]> | carbolymer: forkIO is almost free, these threads are very "green". by the `thread` for comparison, y[4~ou mean an actual spawned pthread? |
| 12:33:35 | <sshine> | siraben, this is my first use of Data.Fix, so I'm not sured to wrap everything in Fix. |
| 12:33:37 | <siraben> | sshine: yes that would appear to fix the type error |
| 12:33:43 | × | Ariakenom quits (~Ariakenom@193.254.193.1) (Ping timeout: 260 seconds) |
| 12:34:41 | <sshine> | that Fix'ed it. |
| 12:34:59 | <siraben> | Interesting, why use Data.Fix over the recursion schemes library? |
| 12:35:20 | <sshine> | I don't know yet. I have only tried one and not the other. :) I did look at recursion-schemes earlier. |
| 12:35:45 | <yushyin> | (recursion schemes calls it cata) |
| 12:35:48 | × | knupfer quits (~Thunderbi@200116b82ce4df008572ba0750ed6f70.dip.versatel-1u1.de) (Quit: knupfer) |
| 12:35:58 | → | knupfer joins (~Thunderbi@200116b82ce4df00a491ec6bd8ca5a82.dip.versatel-1u1.de) |
| 12:36:05 | × | knupfer quits (~Thunderbi@200116b82ce4df00a491ec6bd8ca5a82.dip.versatel-1u1.de) (Client Quit) |
| 12:36:19 | <sshine> | doesn't recursion-schemes mainly provide ListF, NonEmptyF, TreeF? this is a specific AST type... |
| 12:36:20 | <siraben> | sshine: I like recursion schemes because it matches the theoretical background better |
| 12:36:21 | → | knupfer joins (~Thunderbi@200116b82ce4df00593bab4749daa8c7.dip.versatel-1u1.de) |
| 12:36:28 | × | knupfer quits (~Thunderbi@200116b82ce4df00593bab4749daa8c7.dip.versatel-1u1.de) (Client Quit) |
| 12:36:38 | <sshine> | siraben, "matches the theoretical background better" = uses cata, para, hylo naming? |
| 12:36:38 | → | knupfer joins (~Thunderbi@200116b82ce4df00d51320b28b670a21.dip.versatel-1u1.de) |
| 12:36:46 | <siraben> | data ListF a b = Nil | Cons a b; type instance Base [a] = ListF a, which makes the concept of initial algebra for lists |
| 12:36:50 | × | knupfer quits (~Thunderbi@200116b82ce4df00d51320b28b670a21.dip.versatel-1u1.de) (Client Quit) |
| 12:36:51 | <siraben> | clearer* |
| 12:36:58 | → | knupfer joins (~Thunderbi@200116b82ce4df00e02e11e95168b2ca.dip.versatel-1u1.de) |
| 12:37:05 | × | knupfer quits (~Thunderbi@200116b82ce4df00e02e11e95168b2ca.dip.versatel-1u1.de) (Client Quit) |
| 12:37:08 | <sshine> | ah |
| 12:37:27 | → | knupfer joins (~Thunderbi@200116b82ce4df0054f91f9fd769e65c.dip.versatel-1u1.de) |
| 12:37:30 | <sshine> | I'm not sure how to use recursion-schemes on arbitrary syntax trees that aren't lists and rose-trees. |
| 12:37:58 | → | shatriff joins (~vitaliish@88.155.84.139) |
| 12:38:14 | × | knupfer quits (~Thunderbi@200116b82ce4df0054f91f9fd769e65c.dip.versatel-1u1.de) (Client Quit) |
| 12:39:24 | <siraben> | sshine: Similar to how you did it in src/Dagger/Contract.hs, define the base functor then `Fix` it |
| 12:39:36 | → | knupfer joins (~Thunderbi@200116b82ce4df004016f923e09abad3.dip.versatel-1u1.de) |
| 12:39:52 | <siraben> | Argh, lenses have such poor type errors |
| 12:39:58 | → | livvy joins (~livvy@gateway/tor-sasl/livvy) |
| 12:41:32 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 265 seconds) |
| 12:41:35 | → | John20 joins (~John@82.46.59.122) |
| 12:41:35 | <sshine> | ah, I wasn't looking in Data.Functor.Foldable.TH which appears to have the recipe for doing this to your own type... I try to avoid TH when I can get most without. |
| 12:41:45 | <sshine> | siraben, optics! |
| 12:42:34 | <siraben> | sshine: oh great, now the code would look even more natural than writing in open recursive style |
| 12:42:55 | <sshine> | siraben, apropos? |
| 12:43:17 | <siraben> | apropos? |
| 12:43:32 | <sshine> | oh you mean using data-fix / recursion-schemes is a boon? |
| 12:43:37 | <sshine> | it certainly seems so :) |
| 12:43:37 | <siraben> | sshine: Oh I was referring to your TH discovery |
| 12:43:40 | <sshine> | ah |
| 12:44:42 | <siraben> | IMO using these abstractions are nice but when they start impacting readability for others, I weigh that too. Even beginner Haskellers can read a normal `Expr a` declaration, so that's great. |
| 12:44:52 | <sshine> | yes. |
| 12:45:23 | <sshine> | I'm still evaluating whether Fix will mess up things or make things easier for people less experienced than myself. |
| 12:45:59 | <sshine> | there will be a bunch of 'Fix' constructors, like the bug I experienced, that will clutter the view. |
| 12:47:14 | <siraben> | sshine: Is this a new smart contract language? |
| 12:47:16 | <sshine> | I compared the optparse-generic library with/without TH magic for type-level --help hints... there is very little overhead and it is easily extensible without having to understand how it does what it does. |
| 12:47:36 | <sshine> | siraben, no, it's the same. I'm just generalising the Contract type so that it can more easily target multiple blockchains. |
| 12:47:44 | <troydm> | hey guys! I'm trying to implement show for IOUArray and I'm getting ‘show’ is not a (visible) method of class ‘IOUArray’, with GHC 8.2.2, any suggestions& |
| 12:47:46 | <troydm> | ? |
| 12:48:08 | <carbolymer> | [exa], thanks; by long-living thread I meant another thread from forkIO - but If they're very "green" I think wrapping each rabbimq publish in `async` will be fine in my case;) |
| 12:48:29 | <sshine> | siraben, also, the original author of the compiler simplified a few things and I added let-expressions. |
| 12:49:04 | <sshine> | siraben, but it's mostly the same concept, just different ideas of execution runtimes. :) |
| 12:49:15 | <sshine> | siraben, how's your macro language going? |
| 12:49:40 | <siraben> | sshine: Perhaps we should move this conversation to the evm-lang-design gitter channel |
| 12:50:16 | <[exa]> | carbolymer: yeah, in fact that's the recommended way for network programming afaik |
| 12:50:28 | hackage | stylish-haskell 0.12.2.0 - Haskell code prettifier https://hackage.haskell.org/package/stylish-haskell-0.12.2.0 (JasperVanDerJeugt) |
| 12:50:57 | <carbolymer> | [exa], to spawn new threads when pushing things to avoid blocking? |
| 12:50:57 | → | jonatanb joins (~jonatanb@79.184.190.239.ipv4.supernova.orange.pl) |
| 12:51:47 | <[exa]> | carbolymer: yeah, the threads are cheap and the internal eventloop is pretty good. you may also check the rabbitmq wrapper, I'd expect that it already does something like that internally |
| 12:51:57 | hackage | network-transport-tests 0.3.0 - Unit tests for Network.Transport implementations https://hackage.haskell.org/package/network-transport-tests-0.3.0 (FacundoDominguez) |
| 12:52:38 | <[exa]> | troydm: can you share a bit of code that doesn't work? (first guess, are you writing the instance of Show?) |
| 12:54:36 | × | __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving) |
| 12:55:21 | <carbolymer> | [exa], you mean amqp library? the publishMsg pushes message to mvar and blocks, hence why I want to wrap it in async |
| 12:56:14 | <troydm> | [exa]: https://pastebin.com/BZ08cd7X |
| 12:56:17 | <troydm> | [exa]: yes |
| 12:56:38 | → | aarvar joins (~foewfoiew@50.35.43.33) |
| 12:56:39 | <[exa]> | carbolymer: maybe better have a channel for throwing the messages at, and a "worker thread" that just forwards the stuff to publishMsg ? |
| 12:57:37 | <carbolymer> | [exa], yep, but if those threads are so "green" is it worth the effort to implement this "worker thread"? |
| 12:57:51 | <[exa]> | carbolymer: I wouldn't bother until there's a proof that it's too slow |
| 12:58:05 | <carbolymer> | [exa], that's exactly my reasoning ;) |
| 12:58:07 | <[exa]> | how many thousand messages per second do you want to pass through? :D |
| 12:58:26 | <jackdk> | sshine: if you're doing languagey-stuff with recursion schemes, this post might interest you: http://newartisans.com/2018/04/win-for-recursion-schemes/ |
| 12:58:33 | × | knupfer quits (~Thunderbi@200116b82ce4df004016f923e09abad3.dip.versatel-1u1.de) (Quit: knupfer) |
| 12:58:42 | → | knupfer joins (~Thunderbi@200116b82ce4df0065b7390434ba158b.dip.versatel-1u1.de) |
| 12:59:05 | <carbolymer> | [exa], a dozen of messages per second in high traffic ;] |
| 12:59:18 | <[exa]> | troydm: okay, you need to write a Show behind the =>, this way you are instancing IOUArray typeclass |
| 12:59:28 | <[exa]> | carbolymer: </care> |
| 12:59:43 | <carbolymer> | yeah |
| 13:00:17 | <troydm> | [exa]: oic |
| 13:00:48 | <[exa]> | troydm: I guess the instance should read "If the HType e is showable, IOUArray i e should also be showable" right? |
| 13:01:33 | <troydm> | [exa]: yeah, well, sometimes I have no idea what I'm writing and if it compiles it usually works, but I have no idea how it works |
| 13:02:33 | <troydm> | [exa]: I just need to make instance of IOUArray Int64 HType showable |
| 13:02:44 | <troydm> | [exa]: and I'm bit struggling |
| 13:02:52 | × | chaosmasttter quits (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 13:03:16 | → | cpressey joins (~cpressey@79-72-202-104.dynamic.dsl.as9105.com) |
| 13:03:28 | <[exa]> | troydm: you are using HType there as a higher-order type constant, which it is not. I guess you want: |
| 13:03:30 | × | seanvert quits (~user@177.84.244.242) (Read error: Connection reset by peer) |
| 13:03:37 | <sshine> | jackdk, thanks! I am. |
| 13:04:10 | <[exa]> | troydm: instance Show e => Show (IOUArray i e) where .... (which says "IOUArray of e's is showable if there's a way of showing he e's) |
| 13:04:28 | <[exa]> | *the |
| 13:05:05 | × | Gurkenglas_ quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds) |
| 13:06:05 | <sshine> | jackdk, excellent article, thank you. :) |
| 13:06:13 | <sshine> | jackdk, I |
| 13:06:20 | <sshine> | jackdk, I'll look into it and do a comparison. |
| 13:06:26 | <troydm> | [exa]: Could not deduce (MArray IOUArray e []) |
| 13:06:28 | <troydm> | arising from a use of âgetElems’ |
| 13:06:33 | <troydm> | [exa]: is what I get |
| 13:06:45 | <troydm> | [exa]: when I change it to what you've suggested |
| 13:06:52 | <[exa]> | ok we're getting closer |
| 13:07:03 | <troydm> | [exa]: which is a bit confusing |
| 13:07:09 | → | chaosmasttter joins (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) |
| 13:07:33 | <[exa]> | it also needs some assurance that you are not running this on an array that wouldn't have a workable getElems |
| 13:08:01 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 13:08:26 | <[exa]> | troydm: (also that `i` is an actual index as in Ix ) |
| 13:08:51 | <[exa]> | you can have a look at the type of getElems here https://hackage.haskell.org/package/array-0.5.4.0/docs/Data-Array-MArray.html#v:getElems to see how much assurance it requires to work |
| 13:08:56 | → | jedws joins (~jedws@121.209.161.98) |
| 13:10:14 | <[exa]> | you actually need to declare your typeclass instance with the same (or stricter) conditions, because otherwise you'd be "promising" to deliver instances that can not work |
| 13:11:42 | → | AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl) |
| 13:12:17 | <[exa]> | so in our case, the instance should read, very roughly: If `i` is an Ix index, if `e` is showable by Show, and if the IOUArray forms a `MArray IOUArray e m` for some `m`, you can also show `IOUArray i e` |
| 13:12:23 | × | shatriff quits (~vitaliish@88.155.84.139) (Remote host closed the connection) |
| 13:13:23 | × | hololeap quits (~hololeap@unaffiliated/hololeap) (Ping timeout: 240 seconds) |
| 13:13:51 | <[exa]> | now you should notice the obvious problem; `getElems` is a monadic action of the monad `m`, I'm not sure you'll be able to fit that into a normal `show` that must return a "pure" String |
| 13:16:01 | <troydm> | [exa]: No instance for (MArray IOUArray HType []) <= what's [] in this? |
| 13:16:13 | → | ddellacosta joins (~dd@86.106.121.168) |
| 13:16:35 | → | Habib joins (~Habib@178.239.161.88) |
| 13:16:45 | <[exa]> | troydm: you are trying to use `map show` on `m e` returned from getElems, so it assumes that you know what are you doing and that m==[] |
| 13:17:07 | × | chaosmasttter quits (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 13:17:12 | <troydm> | [exa]: ohh fuck I've missed that m a part of getElems |
| 13:17:14 | <[exa]> | obviously that MArray instance does not exist, I assume it will require `m` to be IO or something similarly powerful |
| 13:17:26 | <troydm> | [exa]: are there any good MArray examples out there |
| 13:17:51 | <[exa]> | yeah, as MVector... :] |
| 13:17:57 | <troydm> | ohh I've could do the obvious, unsafeIOPerform |
| 13:18:03 | <[exa]> | please don't :D |
| 13:18:16 | <[exa]> | btw why do you need the thing mutable? |
| 13:19:12 | <troydm> | [exa]: well I'm trying to write R7RS scheme interpreter, so I need a vector elements to be mutable |
| 13:19:26 | → | seanvert joins (~user@177.84.244.242) |
| 13:19:47 | → | spew joins (uid195861@gateway/web/irccloud.com/x-ypeilgetepuhkpyp) |
| 13:22:24 | <troydm> | [exa]: well, even with unsafePerformIO, I get No instance for (MArray IOUArray HType IO) |
| 13:23:07 | <dminuoso> | Is there a way to have `foo $ \do -> \n ...` with the following block at the same indention as `foo`? |
| 13:23:23 | <dminuoso> | I have the problem of deeply nested callbacks here |
| 13:23:28 | <dminuoso> | Or is ContT my only solution here? |
| 13:24:33 | × | knupfer quits (~Thunderbi@200116b82ce4df0065b7390434ba158b.dip.versatel-1u1.de) (Quit: knupfer) |
| 13:24:46 | → | knupfer joins (~Thunderbi@200116b82ce4df007893e071bdb5e1dd.dip.versatel-1u1.de) |
| 13:25:50 | → | knupfer1 joins (~Thunderbi@200116b82ce4df00b8b6b0ef9e67ac14.dip.versatel-1u1.de) |
| 13:25:51 | × | knupfer quits (~Thunderbi@200116b82ce4df007893e071bdb5e1dd.dip.versatel-1u1.de) (Read error: Connection reset by peer) |
| 13:25:51 | knupfer1 | is now known as knupfer |
| 13:26:42 | × | knupfer quits (~Thunderbi@200116b82ce4df00b8b6b0ef9e67ac14.dip.versatel-1u1.de) (Client Quit) |
| 13:26:51 | → | knupfer joins (~Thunderbi@200116b82ce4df00300ce483b7c28dd1.dip.versatel-1u1.de) |
| 13:28:08 | → | mav1 joins (~mav@ip-88-152-10-227.hsi03.unitymediagroup.de) |
| 13:28:26 | → | solonarv joins (~solonarv@adijon-655-1-70-207.w90-13.abo.wanadoo.fr) |
| 13:28:27 | × | jedws quits (~jedws@121.209.161.98) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 13:28:46 | × | martin02 quits (silas@hund.fs.lmu.de) (Quit: WeeChat 2.3) |
| 13:29:17 | <[exa]> | troydm: okay, then it should _not_ have any showable representation, a mutable state cannot be exported. Just supply a dummy |
| 13:29:26 | → | shatriff joins (~vitaliish@88.155.187.71) |
| 13:29:39 | → | Ariakenom joins (~Ariakenom@193.254.193.1) |
| 13:30:21 | → | sirfrankiecrisp6 joins (2e8c01af@46.140.1.175) |
| 13:30:45 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 13:31:26 | × | sirfrankiecrisp6 quits (2e8c01af@46.140.1.175) (Remote host closed the connection) |
| 13:32:03 | → | sirfrankiecrisp joins (~user@46.140.1.175) |
| 13:32:21 | × | seanvert quits (~user@177.84.244.242) (Remote host closed the connection) |
| 13:33:03 | × | andreas303 quits (~andreas@gateway/tor-sasl/andreas303) (Ping timeout: 240 seconds) |
| 13:34:04 | → | martin02 joins (silas@hund.fs.lmu.de) |
| 13:34:32 | × | knupfer quits (~Thunderbi@200116b82ce4df00300ce483b7c28dd1.dip.versatel-1u1.de) (Quit: knupfer) |
| 13:34:41 | × | sirfrankiecrisp quits (~user@46.140.1.175) (Remote host closed the connection) |
| 13:34:48 | → | knupfer joins (~Thunderbi@200116b82ce4df0089eeab40cb981b9d.dip.versatel-1u1.de) |
| 13:34:57 | → | Amras joins (~Amras@unaffiliated/amras0000) |
| 13:35:15 | fendor_ | is now known as fendor |
| 13:35:40 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds) |
| 13:37:11 | × | knupfer quits (~Thunderbi@200116b82ce4df0089eeab40cb981b9d.dip.versatel-1u1.de) (Client Quit) |
| 13:37:14 | → | knupfer1 joins (~Thunderbi@200116b82ce4df00707cd182bbf7282c.dip.versatel-1u1.de) |
| 13:37:19 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 13:37:39 | → | chaosmasttter joins (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) |
| 13:37:48 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 13:38:06 | → | andreas303 joins (~andreas@gateway/tor-sasl/andreas303) |
| 13:38:43 | <cohn> | can anyone recommend any books on learning parallel and concurrent Haskell? The book by Simon Marlow seems to be a good bit out of date at this point. |
| 13:38:53 | <dminuoso> | cohn: Simon Marlows book. |
| 13:39:14 | <dminuoso> | There are no other good resources Im aware of. |
| 13:39:32 | × | knupfer1 quits (~Thunderbi@200116b82ce4df00707cd182bbf7282c.dip.versatel-1u1.de) (Client Quit) |
| 13:39:40 | → | knupfer joins (~Thunderbi@200116b82ce4df00c08e8b8123e096f3.dip.versatel-1u1.de) |
| 13:39:57 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 13:41:10 | → | knupfer1 joins (~Thunderbi@200116b82ce4df00fc254dbd4df5ac33.dip.versatel-1u1.de) |
| 13:41:11 | × | knupfer quits (~Thunderbi@200116b82ce4df00c08e8b8123e096f3.dip.versatel-1u1.de) (Read error: Connection reset by peer) |
| 13:41:11 | knupfer1 | is now known as knupfer |
| 13:41:31 | <cohn> | dminuoso: ok. I ask because I've worked through a few examples and it seems like some of the syntax used in the book is no longer valid |
| 13:41:45 | <dminuoso> | Can you give some examples? |
| 13:43:13 | <cohn> | GHC complains about this line for one: https://github.com/simonmar/parconc-examples/blob/master/Sudoku.hs#L77 |
| 13:43:31 | <dminuoso> | Can you share the diagnostic it gives? |
| 13:43:34 | <cohn> | even tried setting it up in an isolated Stack environment and no good |
| 13:43:38 | <cohn> | sure, one sec |
| 13:44:17 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 13:44:33 | × | lep-delete quits (~lep@94.31.82.44) (Read error: Connection reset by peer) |
| 13:44:54 | → | lep-delete joins (~lep@94.31.82.44) |
| 13:45:12 | lep-delete | is now known as test |
| 13:45:16 | test | is now known as Guest40023 |
| 13:45:47 | <cohn> | https://pastebin.com/LLndiZyi |
| 13:45:59 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 13:46:00 | <cohn> | that's actually from the HLS, but you get the idea |
| 13:46:01 | <cohn> | :D |
| 13:46:52 | <dminuoso> | cohn: Do you have overloaded strings turned on? |
| 13:47:14 | <cohn> | yes |
| 13:47:26 | <dminuoso> | Try giving the string an explicit annotation then. |
| 13:47:26 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Read error: Connection reset by peer) |
| 13:47:40 | <cohn> | like "foo" :: String? |
| 13:47:42 | → | jneira_ joins (~jneira@80.30.101.206) |
| 13:47:48 | × | roconnor quits (~roconnor@host-45-78-225-249.dyn.295.ca) (Read error: Connection reset by peer) |
| 13:47:49 | <dminuoso> | Yeah |
| 13:47:53 | <dminuoso> | Or actually, do you have OverloadedLists as well? |
| 13:48:10 | <cohn> | no |
| 13:48:13 | <cohn> | try it? |
| 13:48:22 | <dminuoso> | No. |
| 13:48:32 | <dminuoso> | % :set -XOverloadedStrings |
| 13:48:32 | <yahb> | dminuoso: |
| 13:48:35 | × | polyrain_ quits (~polyrain@203.51.166.163) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 13:49:10 | <dminuoso> | % regularGrid g = if all (`elem` "0.-123456789") g then Just g else Nothing |
| 13:49:10 | <yahb> | dminuoso: ; <interactive>:83:21: error:; Ambiguous occurrence `all'; It could refer to; either `Text.all', imported from `Data.Text'; or `Prelude.all', imported from `Prelude' (and originally defined in `Data.Foldable') |
| 13:49:14 | <dminuoso> | % :set -XNoOverloadedStrings |
| 13:49:15 | <yahb> | dminuoso: |
| 13:49:16 | <dminuoso> | % regularGrid g = if all (`elem` "0.-123456789") g then Just g else Nothing |
| 13:49:16 | <yahb> | dminuoso: ; <interactive>:85:21: error:; Ambiguous occurrence `all'; It could refer to; either `Text.all', imported from `Data.Text'; or `Prelude.all', imported from `Prelude' (and originally defined in `Data.Foldable') |
| 13:49:22 | <dminuoso> | % regularGrid g = if Prelude.all (`elem` "0.-123456789") g then Just g else Nothing |
| 13:49:22 | <yahb> | dminuoso: |
| 13:49:35 | <dminuoso> | cohn: Ah I mispasted. But anyway, OverloadedStrings is the cause here. |
| 13:49:40 | <dminuoso> | Consider: |
| 13:50:09 | <dminuoso> | "0.-123456789" is a polymorphic type, but so is `elem` |
| 13:50:15 | <cohn> | I ran `stack ghci`, got the error, then entered `:set -XOverloadedStrings` into ghci followed by `:r`. Same error. : |
| 13:50:23 | <dminuoso> | So it cant infer that "0.-123..." is even a list |
| 13:50:36 | <dminuoso> | cohn: No, you need to set -XNoOverloadedStrings |
| 13:50:40 | <cohn> | oh! |
| 13:50:42 | <dminuoso> | Just to verify locally |
| 13:50:44 | <cohn> | lemme try that |
| 13:50:44 | <dminuoso> | But anyway |
| 13:50:46 | <dminuoso> | 15:47:40 cohn | like "foo" :: String? |
| 13:50:51 | <dminuoso> | That is a drop-in workaround. |
| 13:51:05 | <dminuoso> | Or you annotate `elem` |
| 13:51:25 | <cohn> | ok, it works when using `:set -XNoOverloadedStrings` |
| 13:51:28 | <cohn> | interdesting |
| 13:51:40 | <dminuoso> | cohn: Consider this trivial example: |
| 13:51:42 | <dminuoso> | % :t elem |
| 13:51:42 | <yahb> | dminuoso: (Foldable t, Eq a) => a -> t a -> Bool |
| 13:51:52 | <dminuoso> | % :t null |
| 13:51:52 | <yahb> | dminuoso: ; <interactive>:1:1: error:; Ambiguous occurrence `null'; It could refer to; either `Text.null', imported from `Data.Text'; or `Prelude.null', imported from `Prelude' (and originally defined in `Data.Foldable') |
| 13:51:55 | <dminuoso> | % :t Prelude.null |
| 13:51:55 | <yahb> | dminuoso: Foldable t => t a -> Bool |
| 13:52:04 | <dminuoso> | % :t fromString "foo" |
| 13:52:04 | <yahb> | dminuoso: IsString a => a |
| 13:52:14 | <dminuoso> | Prelude.null (fromString "foo") |
| 13:52:23 | <dminuoso> | What should that give you? What Foldable instance should be selected? |
| 13:52:58 | <dminuoso> | So it's your mistake at the end for using OverloadedStrings. :) |
| 13:53:04 | <cohn> | hah |
| 13:53:06 | <cohn> | good point |
| 13:53:30 | <cohn> | yea, I can see why GHC would get confused |
| 13:53:43 | <cohn> | dminuoso: thanks so much! |
| 13:53:51 | <dminuoso> | You're welcome. |
| 13:53:58 | × | jneira_ quits (~jneira@80.30.101.206) (Ping timeout: 272 seconds) |
| 13:54:04 | <cohn> | :D |
| 13:56:02 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 13:57:22 | × | Unhammer quits (~Unhammer@gateway/tor-sasl/unhammer) (Remote host closed the connection) |
| 13:57:28 | × | shatriff quits (~vitaliish@88.155.187.71) (Remote host closed the connection) |
| 13:57:54 | <cohn> | dminuoso: I can't build the package the author published for the book: https://hackage.haskell.org/package/parconc-examples |
| 13:58:09 | → | Unhammer joins (~Unhammer@gateway/tor-sasl/unhammer) |
| 13:58:19 | <cohn> | though it seems like a problem with a 3rd party package and not the parconc-examples package |
| 13:58:55 | <dminuoso> | Do you get some particular error message? |
| 13:58:57 | hackage | boilerplate 0.0.2 - Generate Haskell boilerplate. https://hackage.haskell.org/package/boilerplate-0.0.2 (tseenshe) |
| 13:59:04 | <cohn> | I get this: https://pastebin.com/gZpSC8kv |
| 14:00:36 | <cohn> | using cabal to build seems to pinpoint the problem: https://pastebin.com/vBuc4FrW |
| 14:00:36 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Read error: Connection reset by peer) |
| 14:01:10 | <dminuoso> | In case of `cabal` the problem is that your GHC is too new. |
| 14:01:18 | <dminuoso> | The package is no longer maintained, so you need an older GHC |
| 14:01:20 | → | fendor_ joins (~fendor@e237-037.eduroam.tuwien.ac.at) |
| 14:01:28 | <dminuoso> | Unless you're willing to experiment bumping the bounds. |
| 14:01:33 | <cohn> | not really. ; ) |
| 14:01:36 | → | jneira_ joins (~jneira@209.red-81-39-173.dynamicip.rima-tde.net) |
| 14:01:40 | <cohn> | easy enough to just ghcup |
| 14:01:42 | <dminuoso> | Right |
| 14:02:03 | <dminuoso> | 8.6.5 should be fine |
| 14:02:15 | <dminuoso> | no wait, you need 8.4 |
| 14:03:10 | × | mmohammadi981266 quits (~mmohammad@5.238.172.236) (Quit: I quit (╯°□°)╯︵ ┻━┻) |
| 14:03:27 | × | fendor quits (~fendor@t204-126.demo.tuwien.ac.at) (Ping timeout: 240 seconds) |
| 14:03:58 | <sshine> | bumping bounds isn't hard or longwinded, though. |
| 14:04:33 | × | jneira_ quits (~jneira@209.red-81-39-173.dynamicip.rima-tde.net) (Read error: No route to host) |
| 14:04:37 | <cohn> | sshine: it would just require some code refactoring, then submit a Github PR? |
| 14:04:44 | × | Dungdv quits (01346eb4@gateway/web/cgi-irc/kiwiirc.com/ip.1.52.110.180) (Ping timeout: 272 seconds) |
| 14:04:49 | → | Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net) |
| 14:04:50 | <sshine> | yup! |
| 14:04:58 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9) |
| 14:04:59 | → | jneira_ joins (~jneira@209.red-81-39-173.dynamicip.rima-tde.net) |
| 14:05:10 | <sshine> | and in the meantime, you can always refer to your copy of the github repo. |
| 14:05:38 | <cohn> | that could be an interesting project to help me get more experience reading/writing Haskell code. |
| 14:05:41 | <sshine> | cohn, probably only changing the bounds in the .cabal file. |
| 14:05:58 | hackage | network-transport-tcp 0.8.0 - TCP instantiation of Network.Transport https://hackage.haskell.org/package/network-transport-tcp-0.8.0 (FacundoDominguez) |
| 14:06:00 | <cohn> | oh |
| 14:07:54 | <dminuoso> | cohn: In general Id prefer to bump bounds. Even if it is some minor work, it's contributions that everybody else will benefit from. |
| 14:09:16 | → | Sanchayan joins (~Sanchayan@171.76.78.119) |
| 14:11:07 | × | aqd quits (~aqd@87-92-145-87.rev.dnainternet.fi) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 14:11:23 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 14:11:32 | × | haasn quits (~haasn@mpv/developer/haasn) (Quit: WeeChat 3.0-dev) |
| 14:11:57 | <cohn> | agreed |
| 14:12:09 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 14:14:18 | × | ulidtko quits (~ulidtko@193.111.48.79) (Remote host closed the connection) |
| 14:14:32 | → | todda7 joins (~torstein@athedsl-4367507.home.otenet.gr) |
| 14:14:32 | → | ulidtko joins (~ulidtko@193.111.48.79) |
| 14:14:57 | hackage | capnp 0.6.0.2 - Cap'n Proto for Haskell https://hackage.haskell.org/package/capnp-0.6.0.2 (isd) |
| 14:15:38 | → | shatriff joins (~vitaliish@88.155.187.71) |
| 14:17:55 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:d198:9f67:639d:eb47) (Ping timeout: 272 seconds) |
| 14:19:10 | → | catchme joins (uid355354@gateway/web/irccloud.com/x-ewqbboqewsctmvnj) |
| 14:19:44 | × | jneira_ quits (~jneira@209.red-81-39-173.dynamicip.rima-tde.net) (Ping timeout: 258 seconds) |
| 14:19:54 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 14:21:28 | hackage | mmsyn7s 0.9.0.0 - Shows a sorted list of the Ukrainian sounds representations that can be used by mmsyn7 series of programs https://hackage.haskell.org/package/mmsyn7s-0.9.0.0 (OleksandrZhabenko) |
| 14:22:28 | hackage | phonetic-languages-rhythmicity 0.1.0.0 - Allows to estimate the rhythmicity metrices for the text (usually, the Ukrainian poetic one) https://hackage.haskell.org/package/phonetic-languages-rhythmicity-0.1.0.0 (OleksandrZhabenko) |
| 14:22:28 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 14:23:04 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 14:23:18 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 14:24:15 | × | alp quits (~alp@2a01:e0a:58b:4920:490:f804:4532:9fca) (Ping timeout: 272 seconds) |
| 14:26:21 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 14:26:35 | → | supercoven joins (~Supercove@dsl-hkibng32-54fb54-166.dhcp.inet.fi) |
| 14:26:36 | × | supercoven quits (~Supercove@dsl-hkibng32-54fb54-166.dhcp.inet.fi) (Max SendQ exceeded) |
| 14:26:39 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 14:26:39 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 14:26:39 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 14:26:50 | → | supercoven joins (~Supercove@dsl-hkibng32-54fb54-166.dhcp.inet.fi) |
| 14:27:25 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 14:27:28 | × | Sanchayan quits (~Sanchayan@171.76.78.119) (Quit: leaving) |
| 14:27:58 | → | haasn joins (~nand@mpv/developer/haasn) |
| 14:29:52 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:aced:b361:828c:f8f1) |
| 14:32:47 | → | polyphem joins (~p0lyph3m@2a02:810d:640:776c:76d7:55f6:f85b:c889) |
| 14:34:28 | × | supercoven quits (~Supercove@dsl-hkibng32-54fb54-166.dhcp.inet.fi) (Ping timeout: 260 seconds) |
| 14:37:31 | × | mav1 quits (~mav@ip-88-152-10-227.hsi03.unitymediagroup.de) (Ping timeout: 260 seconds) |
| 14:38:21 | → | fendor__ joins (~fendor@t204-126.demo.tuwien.ac.at) |
| 14:38:47 | → | mav1 joins (~mav@ip-88-152-10-227.hsi03.unitymediagroup.de) |
| 14:40:34 | × | fendor_ quits (~fendor@e237-037.eduroam.tuwien.ac.at) (Ping timeout: 246 seconds) |
| 14:40:52 | × | shatriff quits (~vitaliish@88.155.187.71) (Remote host closed the connection) |
| 14:40:58 | hackage | futhark 0.18.1 - An optimising compiler for a functional, array-oriented language. https://hackage.haskell.org/package/futhark-0.18.1 (TroelsHenriksen) |
| 14:45:04 | → | justanotheruser joins (~justanoth@unaffiliated/justanotheruser) |
| 14:47:40 | fendor__ | is now known as fendor |
| 14:48:29 | × | cyphase quits (~cyphase@unaffiliated/cyphase) (Ping timeout: 258 seconds) |
| 14:48:37 | × | todda7 quits (~torstein@athedsl-4367507.home.otenet.gr) (Quit: Konversation terminated!) |
| 14:48:51 | → | todda7 joins (~torstein@athedsl-4367507.home.otenet.gr) |
| 14:48:58 | × | bitmapper quits (uid464869@gateway/web/irccloud.com/x-fjyvjeiwkooixfuo) (Quit: Connection closed for inactivity) |
| 14:49:25 | × | xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 264 seconds) |
| 14:50:27 | hackage | phonetic-languages-rhythmicity 0.1.0.1 - Allows to estimate the rhythmicity metrices for the text (usually, the Ukrainian poetic one) https://hackage.haskell.org/package/phonetic-languages-rhythmicity-0.1.0.1 (OleksandrZhabenko) |
| 14:51:30 | → | nados joins (~dan@162.246.216.28) |
| 14:53:57 | hackage | derive-topdown 0.0.2.2 - Help Haskellers derive class instances for composited data types. https://hackage.haskell.org/package/derive-topdown-0.0.2.2 (songzh) |
| 14:55:47 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 240 seconds) |
| 14:58:35 | → | hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-fnhpronrbczootvp) |
| 15:00:02 | × | Lthere quits (~Lthere@185.244.214.216) () |
| 15:00:27 | hackage | uniqueness-periods-vector-properties 0.4.0.0 - Metrices for the maximum element for the uniqueness-periods-vector packages family. https://hackage.haskell.org/package/uniqueness-periods-vector-properties-0.4.0.0 (OleksandrZhabenko) |
| 15:00:40 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 15:01:55 | × | ixian quits (~mgold@terra.bitplane.org) (Ping timeout: 240 seconds) |
| 15:02:07 | <dminuoso> | ghc: panic! (the 'impossible' happened) (GHC version 8.10.1:Loading temp shared object failed: /run/user/1000/ghc16141_0/libghc_5.so: undefined symbol: crypt |
| 15:02:09 | <dminuoso> | Bingo! |
| 15:02:20 | → | ixian joins (~mgold@terra.bitplane.org) |
| 15:02:43 | <dminuoso> | Ah, wrong channel |
| 15:02:58 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 15:06:55 | → | alp joins (~alp@2a01:e0a:58b:4920:2089:d0d:8a96:a625) |
| 15:08:04 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 272 seconds) |
| 15:09:38 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 15:10:29 | × | chaosmasttter quits (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 15:10:44 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 15:11:25 | → | Bakun joins (~bakun@p548de9c9.dip0.t-ipconnect.de) |
| 15:11:27 | hackage | uniqueness-periods-vector-properties 0.4.0.1 - Metrices for the maximum element for the uniqueness-periods-vector packages family. https://hackage.haskell.org/package/uniqueness-periods-vector-properties-0.4.0.1 (OleksandrZhabenko) |
| 15:13:18 | × | Bakun quits (~bakun@p548de9c9.dip0.t-ipconnect.de) (Quit: WeeChat 2.8) |
| 15:14:24 | × | o1lo01ol_ quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 256 seconds) |
| 15:18:47 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 240 seconds) |
| 15:19:11 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 15:20:06 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 272 seconds) |
| 15:22:54 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 15:24:47 | × | todda7 quits (~torstein@athedsl-4367507.home.otenet.gr) (Ping timeout: 240 seconds) |
| 15:24:47 | → | fendor_ joins (~fendor@2001:629:3200:547:455f:533c:2a97:94e2) |
| 15:25:25 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 264 seconds) |
| 15:25:32 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 15:26:18 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 15:26:28 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 15:26:28 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 15:26:28 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 15:27:01 | <tomsmeding> | 'impossible' |
| 15:27:07 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 15:27:19 | × | fendor quits (~fendor@t204-126.demo.tuwien.ac.at) (Ping timeout: 265 seconds) |
| 15:27:57 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 15:28:30 | <dminuoso> | Yeah.. Im really staring at the weirdest wall ever. |
| 15:29:13 | <dminuoso> | https://gist.github.com/dminuoso/0932484d82167ffad98baaf3348f5126 |
| 15:29:19 | <dminuoso> | This is enough to completely bug out GHC :S |
| 15:29:29 | <dminuoso> | On some strange linker errors on a completely unrelated library |
| 15:30:05 | <Cheery> | When I paste stuff into slack or discourse, it summarizes the link for me. I'd love to have that in my blog as well. |
| 15:30:07 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 15:30:45 | <sshine> | I'm sure there's a javascript for it. |
| 15:31:16 | <dminuoso> | Im fairly sure that both slack and discourse use some "standard" library js library too. |
| 15:31:48 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 15:32:37 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 15:32:55 | <monochrom> | @quote autrijus impossible |
| 15:32:55 | <lambdabot> | autrijus says: Perl: "Easy things are easy, hard things are possible" <autrijus> Haskell: "Hard things are easy, the impossible just happened" |
| 15:34:08 | → | xerox_ joins (~xerox@unaffiliated/xerox) |
| 15:34:52 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds) |
| 15:38:35 | × | toorevitimirp quits (~tooreviti@117.182.180.245) (Remote host closed the connection) |
| 15:38:47 | <Cheery> | :D I saw somebody has written a summarizer in haskell. |
| 15:39:00 | <Cheery> | https://github.com/amliby/summary |
| 15:39:04 | <tomsmeding> | dminuoso: well at least you have a nice, small test case :) |
| 15:40:00 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Remote host closed the connection) |
| 15:40:20 | <siraben> | Does anyone know if Emacs' `lsp-haskell` package has support for case splitting yet? |
| 15:40:24 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 15:40:32 | <siraben> | It's been added in haskell-language-server 0.5.0.0 |
| 15:40:37 | <Cheery> | I'm too old to write a html parser myself when I need one. Not youthful enough to read a spec. |
| 15:41:15 | <Cheery> | I'm glad I found a good HTML5 parser though. |
| 15:43:18 | → | __skn joins (~sunil@sec.nimmagadda.net) |
| 15:43:36 | → | andos joins (~dan@107-190-41-58.cpe.teksavvy.com) |
| 15:46:22 | × | nados quits (~dan@162.246.216.28) (Ping timeout: 258 seconds) |
| 15:47:07 | × | ixlun quits (~matthew@213.205.241.94) (Ping timeout: 240 seconds) |
| 15:48:13 | × | Ariakenom quits (~Ariakenom@193.254.193.1) (Ping timeout: 264 seconds) |
| 15:49:33 | × | raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Ping timeout: 265 seconds) |
| 15:50:01 | <siraben> | Ok so it looks like I have to do `s-l a a` to show the list of actions |
| 15:50:09 | <siraben> | Holy hell, this is insane, like Agda-style holes. |
| 15:51:19 | → | raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) |
| 15:51:32 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) (Remote host closed the connection) |
| 15:51:41 | → | cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) |
| 15:52:00 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) |
| 15:52:35 | × | conal quits (~conal@209.58.130.230) (Quit: Computer has gone to sleep.) |
| 15:53:02 | <dminuoso> | tomsmeding: One that makes absolute no sense. |
| 15:53:14 | <tomsmeding> | those are the best |
| 15:53:21 | <dminuoso> | What does quasiquoters have to do with linking completely unrelated external libraries... |
| 15:53:26 | <dminuoso> | Im smelling some memory corruption here. |
| 15:53:30 | <tomsmeding> | ooooooooh |
| 15:53:32 | <dminuoso> | Or some internal corruption |
| 15:53:45 | <tomsmeding> | I've always known that TH is trouble |
| 15:53:57 | <dminuoso> | well, QQ are much more harmless. |
| 15:54:12 | <dminuoso> | In fact, the splice is just an Exp splice.. |
| 15:54:22 | <dminuoso> | It doesn't get more harmless than that. :( |
| 15:54:27 | <tomsmeding> | claim :) |
| 15:54:32 | <tomsmeding> | apparently |
| 15:54:39 | <dminuoso> | Well who knows |
| 15:54:49 | <dminuoso> | Perhaps this is just some unrelated bug that my code shuffling manifests. |
| 15:54:55 | → | leungbk joins (~user@2605:e000:1315:706:1e77:a69f:2d77:7de4) |
| 15:55:05 | <dminuoso> | Ill have to do a bisect on ghc |
| 15:55:21 | <monochrom> | yikes |
| 15:56:05 | <dminuoso> | In fact, if you looked at the QQ, it's like a totally trivial 3 lines QQ... |
| 15:56:12 | <monochrom> | maybe also reproduce it on another computer, just to be sure you don't have a RAM problem |
| 15:56:30 | <dminuoso> | Well I have 16GiB of ram. This module is very harmless otherwise |
| 15:56:40 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 15:56:43 | <monochrom> | I mean faulty RAM |
| 15:56:55 | <dminuoso> | Well, this triggers *very* consistently with the diff applied... |
| 15:56:59 | <dminuoso> | by very I mean 100% |
| 15:57:20 | <leungbk> | Would anyone mind helping me make this more memory-efficient and idiomatic? https://paste.debian.net/1166370 |
| 15:57:46 | <leungbk> | I tried running my solution in a practice coding competition but the automated judge said it used too much memory. |
| 15:57:55 | <dminuoso> | leungbk: run with `+RTS p -RTS` and include the output |
| 15:57:57 | → | sfvm joins (~sfvm@37.228.215.148) |
| 15:59:57 | hackage | HaTeX 3.22.3.0 - The Haskell LaTeX library. https://hackage.haskell.org/package/HaTeX-3.22.3.0 (DanielDiaz) |
| 16:00:41 | × | cpressey quits (~cpressey@79-72-202-104.dynamic.dsl.as9105.com) (Quit: WeeChat 1.9.1) |
| 16:00:43 | <leungbk> | dminuoso: I'm not entirely sure how to execute it locally. Whenever I compile with `ghc dijkstra.hs` and `ghc -o a.out dijkstra.o`, I get errors like `error: undefined reference to 'containerszm0zi6zi2zi1_DataziSetziInternal_minView` |
| 16:01:01 | <leungbk> | Which is weird since `containers` is built in to ghc 8.8.4 |
| 16:01:05 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 16:01:19 | × | oisdk quits (~oisdk@2001:bb6:3329:d100:9cdf:5974:56ad:fa2f) (Quit: oisdk) |
| 16:01:53 | → | zacts_ joins (~zacts@dragora/developer/zacts) |
| 16:02:08 | × | zacts_ quits (~zacts@dragora/developer/zacts) (Client Quit) |
| 16:03:16 | <c_wraith> | skip the second line. ghc builds the binary as its output unless you ask it to do otherwise, and has for like 10 years now |
| 16:03:39 | → | zacts_ joins (~zacts@dragora/developer/zacts) |
| 16:04:21 | × | leungbk quits (~user@2605:e000:1315:706:1e77:a69f:2d77:7de4) (Remote host closed the connection) |
| 16:04:23 | zacts_ | is now known as zacts |
| 16:04:44 | × | zacts quits (~zacts@dragora/developer/zacts) (Client Quit) |
| 16:05:08 | → | leungbk joins (~user@2605:e000:1315:706:1e77:a69f:2d77:7de4) |
| 16:05:11 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 16:07:22 | <leungbk> | Sorry, my irc client died just now and didn't save the chat log; would someone mind reposting the `+RTS -p ...` bit from a few mins ago? |
| 16:07:29 | × | xff0x quits (~fox@2001:1a81:53a8:5900:d048:1f00:80fa:e49e) (Ping timeout: 272 seconds) |
| 16:07:43 | <monochrom> | <dminuoso> leungbk: run with `+RTS p -RTS` and include the output |
| 16:07:53 | <c_wraith> | for compiling locally, just use `ghc dijkstra.hs` |
| 16:08:03 | → | xff0x joins (~fox@2001:1a81:53a8:5900:4dd1:b846:131b:3964) |
| 16:08:06 | <c_wraith> | it compiles and links in a single invocation |
| 16:08:44 | × | yoneda quits (~mike@193.206.102.122) (Quit: leaving) |
| 16:09:16 | → | isovector1 joins (~isovector@172.103.216.166) |
| 16:09:17 | × | isovector1 quits (~isovector@172.103.216.166) (Remote host closed the connection) |
| 16:09:51 | <c_wraith> | anyway, it's very probable there's a space leak in the foldl' starting on line 18. |
| 16:10:32 | <dminuoso> | Keep in mind you'll have to compile the program and dependencies with profiling |
| 16:10:40 | <dminuoso> | So it's probably best to quickly wrap that into a cabal project |
| 16:10:54 | <c_wraith> | all the foldl' is doing is making sure the tuple is evaluated. That's probably not what you meant. |
| 16:11:21 | → | howdoi joins (uid224@gateway/web/irccloud.com/x-matykgsofoxxiiee) |
| 16:11:27 | <leungbk> | dminuoso: So, `./dijkstra +RTS p -RTS`? The executable says `dijkstra: unexpected RTS argument: p`. |
| 16:11:43 | <c_wraith> | you need to add -rtsopts to the flags when compiling |
| 16:11:59 | <leungbk> | This is simply a standalone file for a practice coding competition. |
| 16:12:48 | → | cyphase joins (~cyphase@unaffiliated/cyphase) |
| 16:13:32 | <leungbk> | c_wraith: I think that's what I meant? I wanted the tuple to be evaled since I needed to construct an updated distance/predecessor/set to use for the next call of `loop` |
| 16:14:11 | <c_wraith> | you want *the components* of the tuple to be evaluated. |
| 16:14:22 | <c_wraith> | You're telling it to stop after it gets the (,,) constructor |
| 16:15:06 | × | quicksilver quits (~jules@roobarb.crazydogs.org) (Ping timeout: 256 seconds) |
| 16:15:13 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 264 seconds) |
| 16:15:21 | → | GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 16:15:21 | × | GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 16:15:21 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 16:16:07 | × | chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (Remote host closed the connection) |
| 16:16:08 | <monochrom> | TIL: cabal repl sets the environment variable HASKELL_DIST_DIR to e.g. /home/trebla/tmp/quv/dist-newstyle/build/x86_64-linux/ghc-8.8.4/quv-0.1.0.0/x/quv |
| 16:16:23 | × | dan64- quits (~dan64@dannyadam.com) (Quit: ZNC - http://znc.in) |
| 16:16:38 | <leungbk> | I'm confused. How would I evaluate the components of the tuple without doing something like a simultaneous fold of the tuple's components? |
| 16:17:00 | <c_wraith> | leungbk: in particular, nothing in the loop causes the second or third elements of the tuple to be evaluated during the loop. |
| 16:17:29 | <Cale> | leungbk: Either pattern matching on them, or using seq would do it. |
| 16:17:37 | <monochrom> | I was kind of looking for that because if you use --builddir=foo then it will be s/dist-newstyle/foo/ and I was wondering if I wrote my own tool how would I know that. |
| 16:17:55 | <c_wraith> | So both of those elements are chains of thunks that refer to the entire history of Set/Map insert calls |
| 16:18:44 | <leungbk> | c_wraith: So strict-eval would solve the memory issue? That's unexpected to me since Set and IntMap.strict are evaluated strictly afaiu. |
| 16:19:27 | hackage | reflex-dom-pandoc 0.6.0.0 - Render Pandoc documents to HTML using reflex-dom https://hackage.haskell.org/package/reflex-dom-pandoc-0.6.0.0 (sridca) |
| 16:19:29 | <c_wraith> | The easiest fix is turning on the BangPatterns extension and modifying the lambda to look at (!oldDistances, !oldTree, !oldPredecessors) |
| 16:20:46 | <c_wraith> | leungbk: that means *when they are forced to be evaluated* that they will be evaluated "fully" (to within the requirements of the type. Set only evaluates as much as necessary to balance the tree, Map only evaluates the keys as much as necessary to balance the tree and the values to WHNF) |
| 16:20:51 | <monochrom> | The example I shown was from an exe-only package. I wonder if it's different for a lib package, or I guess more precisely a lib target "cabal repl exe:..." vs "cabal repl lib:..." |
| 16:21:36 | <c_wraith> | leungbk: but your loop never does anything to cause oldTree or oldPredecessors to be evaluated at all. |
| 16:21:42 | <monochrom> | c_wraith: Good eyes, I missed that. |
| 16:21:45 | → | quicksilver joins (~jules@roobarb.crazydogs.org) |
| 16:22:12 | <c_wraith> | leungbk: all it does with them is throw them into a thunk behind the (,,) constructor |
| 16:22:54 | → | tzh joins (~tzh@2601:448:c500:5300::143b) |
| 16:23:10 | <c_wraith> | leungbk: and so when foldl' forces the state to WHNF for the next iteration, the (,,) constructor is evaluated, but no further. |
| 16:23:38 | <c_wraith> | monochrom: It's the first thing I look for when someone asks about too much memory use :) |
| 16:23:38 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 16:23:59 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 16:24:12 | → | oisdk joins (~oisdk@2001:bb6:3329:d100:7807:4c86:5073:949e) |
| 16:24:35 | × | alp quits (~alp@2a01:e0a:58b:4920:2089:d0d:8a96:a625) (Ping timeout: 272 seconds) |
| 16:24:35 | × | Franciman quits (~francesco@host-95-247-31-62.retail.telecomitalia.it) (Quit: Leaving) |
| 16:25:06 | <monochrom> | I looked for that too, but failed. |
| 16:25:26 | <leungbk> | c_wraith: Thanks a lot, I think I'm getting a better sense of the issue. I'll need to investigate more on my own. |
| 16:25:43 | <monochrom> | I stopped after I checked that "nextDist = du + weight" is kosher because "nextDist < ..." happened right away. |
| 16:26:27 | → | conal joins (~conal@64.71.133.70) |
| 16:27:12 | → | hari1 joins (~hari@195.206.169.184) |
| 16:27:37 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 16:27:49 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 16:28:21 | → | geekosaur joins (ac3a3bad@172.58.59.173) |
| 16:29:42 | → | psygate joins (~psygate@unaffiliated/psygate) |
| 16:31:22 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 16:31:40 | × | knupfer quits (~Thunderbi@200116b82ce4df00fc254dbd4df5ac33.dip.versatel-1u1.de) (Quit: knupfer) |
| 16:31:55 | → | knupfer joins (~Thunderbi@200116b82ce4df0099f7a7f92d599557.dip.versatel-1u1.de) |
| 16:31:58 | × | knupfer quits (~Thunderbi@200116b82ce4df0099f7a7f92d599557.dip.versatel-1u1.de) (Client Quit) |
| 16:32:25 | → | knupfer joins (~Thunderbi@200116b82ce4df000c5e28fdad441edb.dip.versatel-1u1.de) |
| 16:32:25 | × | knupfer quits (~Thunderbi@200116b82ce4df000c5e28fdad441edb.dip.versatel-1u1.de) (Client Quit) |
| 16:32:26 | → | conal joins (~conal@64.71.133.70) |
| 16:32:40 | → | knupfer joins (~Thunderbi@200116b82ce4df005d12f8a54a91044c.dip.versatel-1u1.de) |
| 16:33:08 | × | jonatanb quits (~jonatanb@79.184.190.239.ipv4.supernova.orange.pl) (Quit: Leaving...) |
| 16:34:07 | → | brandly joins (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) |
| 16:35:31 | <troydm> | what's easies way to strip .0 from number? |
| 16:36:04 | <troydm> | like I have Double, and I want to print it without leading .0 |
| 16:36:22 | × | borne quits (~fritjof@200116b864a02a00739dc2dd650b1f65.dip.versatel-1u1.de) (Ping timeout: 260 seconds) |
| 16:39:18 | → | mgalese joins (60e67243@pool-96-230-114-67.bstnma.fios.verizon.net) |
| 16:40:43 | × | fendor_ quits (~fendor@2001:629:3200:547:455f:533c:2a97:94e2) (Remote host closed the connection) |
| 16:41:27 | <[exa]> | troydm: can you throw a few examples? |
| 16:41:49 | <[exa]> | 'stripping .0' sounds like 'round' or 'truncate' but no idea if that's precisely what you wanted |
| 16:42:01 | <troydm> | [exa]: nvm, figured it out |
| 16:42:11 | <[exa]> | uh ok |
| 16:42:49 | <geekosaur> | sounds like they discovered printf %g appending ".0" and wanting it not to |
| 16:42:59 | <geekosaur> | or show |
| 16:44:18 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 16:44:27 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 16:45:13 | <Clint> | people use %g? |
| 16:45:33 | <geekosaur> | someone asked abou it the other day in here |
| 16:46:20 | <Clint> | hmm |
| 16:46:49 | <geekosaur> | of course, there's also "people use printf?" but there's no accounting for taste |
| 16:47:12 | <geekosaur> | but I think showGFloat has the same behavior |
| 16:49:01 | <maralorn> | Does anyone know of a Code formater that preserves or even introduces { ; } for all layout blocks? |
| 16:49:58 | <geekosaur> | does SPJ count? |
| 16:50:39 | <c_wraith> | he's not very automatic |
| 16:52:23 | × | livvy quits (~livvy@gateway/tor-sasl/livvy) (Ping timeout: 240 seconds) |
| 16:55:05 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 240 seconds) |
| 16:55:50 | × | nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Remote host closed the connection) |
| 16:56:21 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 16:56:42 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) (Remote host closed the connection) |
| 16:56:45 | <maralorn> | Who? |
| 16:57:12 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) |
| 16:57:59 | <ski> | SPJ |
| 16:58:49 | × | geekosaur quits (ac3a3bad@172.58.59.173) (Ping timeout: 245 seconds) |
| 16:59:44 | × | mgalese quits (60e67243@pool-96-230-114-67.bstnma.fios.verizon.net) (Remote host closed the connection) |
| 17:00:47 | <monochrom> | haha |
| 17:01:48 | <monochrom> | I think the real objection is economical. SPJ is too expensive to hire for code formatting. |
| 17:02:20 | <maerwald> | wow, that would be a boss move... |
| 17:02:34 | <maerwald> | "what's your code formatter?" - "SPJ" |
| 17:02:36 | × | kritzefitz quits (~kritzefit@2003:5b:203b:100:c23e:baff:feb8:8cdb) (Remote host closed the connection) |
| 17:02:39 | <dolio> | I would never let SPJ format my code. |
| 17:02:41 | <monochrom> | hehe |
| 17:02:50 | <dolio> | He uses all kinds of braces and semicolons. |
| 17:03:08 | <monochrom> | That's exactly what maralorn was looking for. |
| 17:03:08 | → | nineonine joins (~nineonine@216.81.48.202) |
| 17:03:20 | <maerwald> | a man with taste |
| 17:03:28 | → | geekosaur joins (ac3a3b6c@172.58.59.108) |
| 17:03:44 | <monochrom> | I used to do that. But only to make an old emacs haskell-mode indenter happy. |
| 17:03:47 | <dolio> | Oh, I see. :) |
| 17:04:12 | <monochrom> | But it's really old, today's version works much better now, no need to help it with SPJ format. |
| 17:04:19 | → | alp joins (~alp@2a01:e0a:58b:4920:b162:4ee9:a508:6abf) |
| 17:04:56 | <maralorn> | Wait, are you telling me he's the only one who likes that code style? |
| 17:04:57 | × | knupfer quits (~Thunderbi@200116b82ce4df005d12f8a54a91044c.dip.versatel-1u1.de) (Ping timeout: 260 seconds) |
| 17:05:05 | <maralorn> | I admit I think ghc and #haskell-onliners are the only two places I have ever seen them used.^^ |
| 17:05:06 | <Habib> | why does cabal v2-install work the first time i install a package then fail subsequent times until i clear the store and the environment file? |
| 17:05:09 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 17:05:11 | <Habib> | https://pastebin.com/raw/HB6R1fdw |
| 17:05:13 | → | knupfer joins (~Thunderbi@i5E86B40F.versanet.de) |
| 17:05:14 | <Cale> | The GHC source code is like a Haskell style guide in the form of a cautionary tale |
| 17:05:24 | × | raichoo quits (~raichoo@213.240.178.58) (Quit: Lost terminal) |
| 17:05:29 | × | psygate quits (~psygate@unaffiliated/psygate) (Quit: Leaving) |
| 17:06:09 | <dolio> | SPJ is the only one I know of. It's possible some of the other original folks like it. |
| 17:06:17 | <maerwald> | Habib: because env files are awful and no one uses them |
| 17:06:17 | <maralorn> | You know, that conversation only made me want that feature so much more. |
| 17:06:25 | <Cale> | I think Richard likes it as well |
| 17:06:30 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Remote host closed the connection) |
| 17:06:30 | × | knupfer quits (~Thunderbi@i5E86B40F.versanet.de) (Client Quit) |
| 17:06:34 | → | knupfer1 joins (~Thunderbi@200116b82ce4df00a0bd07f956f29bb7.dip.versatel-1u1.de) |
| 17:06:51 | <Cale> | But moreso, the thing I really can't stand is all the incomprehensibly abbreviated names |
| 17:07:24 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 17:07:29 | <maralorn> | So, what formatter do you people recommend should I make "Add --spj flag" PR against? |
| 17:07:44 | <Habib> | maerwald: but cabal uses a default environment file, anyway |
| 17:07:47 | × | mav1 quits (~mav@ip-88-152-10-227.hsi03.unitymediagroup.de) (Ping timeout: 240 seconds) |
| 17:07:55 | <maralorn> | Cale: That's true. Those are offensive. |
| 17:08:10 | <Habib> | if i didn't specify the environment, it'd just mean it affects my default environment file |
| 17:08:13 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 17:08:36 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 17:08:50 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 17:08:50 | <dolio> | Richard's a new kid, though. :) |
| 17:08:51 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 17:08:51 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 17:08:56 | <ghoulguy> | Habib: What version of cabal-install are you asking about? |
| 17:08:58 | knupfer1 | is now known as knupfer |
| 17:09:12 | <Habib> | i'm trying to install some packages to a separate store for strictly ghci use, so i can create some nice helper functions in ghci, then remove them from scope completely and even hide the packages/package-db after i'm done so they don't conflict with my usual package db |
| 17:09:21 | <Habib> | cabal-install 3.2.0.0 |
| 17:09:32 | <Habib> | sorry, my bad, 3.4.0.0 |
| 17:10:08 | <monochrom> | I think I don't have this problem with 3.2 |
| 17:10:41 | <dolio> | Did Miranda have a non-layout syntax that served as the target for layout? I was kind of wondering if SPJ is the only reason Haskell does. |
| 17:10:41 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 17:11:12 | × | nshepperd quits (~nshepperd@pool-96-239-61-124.nycmny.fios.verizon.net) (Ping timeout: 256 seconds) |
| 17:11:14 | <Habib> | i want to run a :!cabal v2-install --options-for-separate-store packages... at the start of my ghci, so i can always have the right dependencies, use them, then hide them once the helper functions have been defined |
| 17:11:33 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 17:13:14 | <maralorn> | otoh, naming variables is one of the three great challenges of programming. so having any policy for it is much more important, than which policy. |
| 17:14:48 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 17:14:51 | <Habib> | i think i installed 3.4.0.0 to get access to the 3.4.0.0 format version so i didn't have to specify default-language in my cabal file (it's optional in later version), but ended up deciding i want the default-language explicit anyway, so i guess i could downgrade and try again |
| 17:15:00 | <Habib> | 3.4.0.0 is in rc stage anyway |
| 17:18:04 | × | brandly quits (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) (Ping timeout: 246 seconds) |
| 17:18:13 | <Habib> | hmm… 3.2.0.0 behaves the same |
| 17:18:54 | → | Gurkenglas_ joins (~Gurkengla@unaffiliated/gurkenglas) |
| 17:19:27 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 240 seconds) |
| 17:19:43 | <monochrom> | Then again I didn't try for packages like process that already come with GHC. I only tried like hmatrix and vector and random. |
| 17:21:37 | <Habib> | monochrom: when you say process comes with ghc, do you mean as part of the haskell platform? |
| 17:21:55 | <Habib> | because i can't import it without installing it |
| 17:21:55 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 17:22:15 | <monochrom> | "comes with haskell platform" is true but much weaker than "comes with GHC" |
| 17:22:20 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 17:22:28 | hackage | commander-cli 0.10.1.0 - A command line argument/option parser library https://hackage.haskell.org/package/commander-cli-0.10.1.0 (sgschlesinger) |
| 17:22:35 | → | LKoen joins (~LKoen@81.255.219.130) |
| 17:22:46 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 17:22:48 | <Habib> | i don't understand how it comes with ghc then, if i can't import it without installing it with cabal |
| 17:23:05 | <geekosaur> | if you installed ghc from some OS package then it may have been split out by the packager |
| 17:23:08 | <Habib> | what libraries come with ghc then? |
| 17:23:21 | <geekosaur> | if you install from a tarball or ghcup then you have process and a few other libraries |
| 17:23:45 | <Habib> | is there an authoritative list of libraries that come with ghc vs. the haskell platform |
| 17:23:48 | <monochrom> | Everything here comes with GHC 8.10.1: https://downloads.haskell.org/~ghc/8.10.1/docs/html/libraries/index.html |
| 17:23:57 | × | DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Remote host closed the connection) |
| 17:24:21 | <Habib> | the conflict message does seem to point to a conflict between that version of process and the version of ghc |
| 17:24:38 | <Habib> | but i don't understand why it only conflicts after it's already successfully installed teh first time |
| 17:24:38 | × | andos quits (~dan@107-190-41-58.cpe.teksavvy.com) (Read error: Connection reset by peer) |
| 17:25:10 | → | andos joins (~dan@107-190-41-58.cpe.teksavvy.com) |
| 17:25:21 | <monochrom> | Is there, really, a version of haskell platform that has/uses/whatever GHC 8.10.1 ??!!! |
| 17:26:00 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 17:26:06 | <Habib> | and even then, if i install the exact version that comes with ghc 8.10.1, which is 1.6.8.2, it fails |
| 17:26:13 | <monochrom> | More generally, Haskell Platform is basically an obsoleted concept. There hasn't been any update. |
| 17:26:23 | <Habib> | monochrom: i don't know, i don't even know if the platform is still around |
| 17:26:51 | <monochrom> | But your GHC is 8.10.1 so you are not using any kind of Haskell Platform. |
| 17:26:58 | <Habib> | next question i should ask is why my bloody irc client won't even scroll automatically |
| 17:27:19 | <Habib> | sorry… i don't actually want to ask that |
| 17:27:57 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 17:28:23 | <Habib> | anyway, regardless, process-1.6.8.2 comes with ghc 8.10.1, which is what i'm on |
| 17:28:27 | <AWizzArd> | Are Snaplets something that might be called "Middleware" in other servers? |
| 17:28:37 | <Habib> | yet it succeeds installation the first time, then fails any subsequent installs |
| 17:28:45 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 240 seconds) |
| 17:29:04 | → | jneira_ joins (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) |
| 17:29:05 | → | DavidEichmann joins (~david@43.240.198.146.dyn.plus.net) |
| 17:30:23 | × | oisdk quits (~oisdk@2001:bb6:3329:d100:7807:4c86:5073:949e) (Quit: oisdk) |
| 17:31:51 | × | DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Remote host closed the connection) |
| 17:32:01 | × | LKoen quits (~LKoen@81.255.219.130) (Remote host closed the connection) |
| 17:32:59 | × | alp quits (~alp@2a01:e0a:58b:4920:b162:4ee9:a508:6abf) (Ping timeout: 272 seconds) |
| 17:33:19 | → | Franciman joins (~francesco@host-95-247-31-62.retail.telecomitalia.it) |
| 17:33:42 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds) |
| 17:37:39 | → | Guest_46 joins (50ec28e9@ip-233.net-80-236-40.suresnes.rev.numericable.fr) |
| 17:38:34 | → | nshepperd joins (~nshepperd@pool-96-239-61-124.nycmny.fios.verizon.net) |
| 17:38:54 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 17:39:07 | <Habib> | hmm, looks like i do have process in my default package db |
| 17:39:17 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 17:39:48 | <Habib> | i just didn't know it was a default package at the time, so i wanted to ensure it was installed by cabal and that if it tried to install it and it was already installed, it wouldn't fail |
| 17:40:36 | → | oisdk joins (~oisdk@2001:bb6:3329:d100:7807:4c86:5073:949e) |
| 17:41:16 | <Habib> | still, this behaviour isn't expected |
| 17:41:29 | → | vicfred joins (~vicfred@unaffiliated/vicfred) |
| 17:41:37 | <Habib> | is System.Process part of Haskell2010? |
| 17:41:51 | <geekosaur> | no |
| 17:42:19 | <geekosaur> | it is part of the implementation of ghc, hence of ghc-lib which is part of ghc |
| 17:43:02 | × | dyeplexer quits (~lol@unaffiliated/terpin) (Remote host closed the connection) |
| 17:43:07 | <Habib> | just checked, it isn't |
| 17:43:25 | × | Cthalupa quits (~cthulhu@47.186.39.187) (Ping timeout: 264 seconds) |
| 17:43:28 | <Habib> | ack, i keep repeating what people have already said |
| 17:43:40 | <Habib> | i really need to get my irc scroll checked |
| 17:45:09 | <Habib> | i'm gonna try this on a clean environment with a non-bundled library like aeson |
| 17:46:11 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 17:47:08 | → | fendor joins (~fendor@77.119.131.69.wireless.dyn.drei.com) |
| 17:47:28 | hackage | commander-cli 0.10.1.1 - A command line argument/option parser library https://hackage.haskell.org/package/commander-cli-0.10.1.1 (sgschlesinger) |
| 17:48:10 | × | jneira_ quits (~jneira@118.red-176-83-71.dynamicip.rima-tde.net) (Ping timeout: 246 seconds) |
| 17:48:33 | × | jneira quits (501e65ce@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.206) (Quit: Connection closed) |
| 17:49:51 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 17:50:45 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 17:52:00 | <Habib> | hmm, aeson just says “Up to date” when installing it and it's already there. something weird going on with process, perhaps due to being a bundled library already |
| 17:53:38 | → | jneira_ joins (~jneira@225.red-176-87-26.dynamicip.rima-tde.net) |
| 17:54:03 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 17:55:09 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 17:56:17 | × | int-e quits (~noone@int-e.eu) (Remote host closed the connection) |
| 17:56:35 | → | sbp joins (~sbp@2001:19f0:6800:1102:5400:ff:fe11:39a1) |
| 17:56:39 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 17:57:35 | <sbp> | anybody know if Chris Penner hangs around here? |
| 17:57:59 | × | geekosaur quits (ac3a3b6c@172.58.59.108) (Ping timeout: 245 seconds) |
| 18:00:02 | × | hari1 quits (~hari@195.206.169.184) () |
| 18:01:36 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 272 seconds) |
| 18:02:58 | × | knupfer quits (~Thunderbi@200116b82ce4df00a0bd07f956f29bb7.dip.versatel-1u1.de) (Quit: knupfer) |
| 18:03:10 | → | knupfer joins (~Thunderbi@200116b82ce4df00a0bd07f956f29bb7.dip.versatel-1u1.de) |
| 18:04:56 | → | wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) |
| 18:05:07 | × | jneira_ quits (~jneira@225.red-176-87-26.dynamicip.rima-tde.net) (Read error: Connection reset by peer) |
| 18:05:18 | → | jneira_ joins (~jneira@80.30.101.206) |
| 18:08:45 | → | geekosaur joins (ac3a3ed8@172.58.62.216) |
| 18:16:44 | <dsal> | I've seen him now and then. |
| 18:18:15 | × | catchme quits (uid355354@gateway/web/irccloud.com/x-ewqbboqewsctmvnj) (Quit: Connection closed for inactivity) |
| 18:19:52 | × | andos quits (~dan@107-190-41-58.cpe.teksavvy.com) (Quit: Leaving) |
| 18:21:03 | → | nados joins (~dan@107-190-41-58.cpe.teksavvy.com) |
| 18:21:17 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 18:21:48 | → | variable joins (~variable@185.244.214.216) |
| 18:22:11 | variable | is now known as Guest36719 |
| 18:23:13 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 18:23:37 | → | snyp joins (~rksht@49.207.204.102) |
| 18:23:53 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 18:24:18 | <snyp> | "StateT Maybe a" vs "MaybeT State a" - don't you have to read the implementation to see how they're different? |
| 18:25:22 | → | Tops21 joins (~Tobias@dyndsl-095-033-023-047.ewe-ip-backbone.de) |
| 18:25:25 | × | zaquest quits (~notzaques@5.128.210.178) (Ping timeout: 264 seconds) |
| 18:26:15 | <geekosaur> | no? you know that if the outer MaybeT fails you lose the State inside, whereas if reversed you keep the state, because it's outside |
| 18:27:56 | <sbp> | dsal: ah. under what nickname? |
| 18:28:01 | → | zaquest joins (~notzaques@5.128.210.178) |
| 18:28:05 | → | LKoen joins (~LKoen@lstlambert-657-1-123-43.w92-154.abo.wanadoo.fr) |
| 18:28:24 | × | Unhammer quits (~Unhammer@gateway/tor-sasl/unhammer) (Remote host closed the connection) |
| 18:28:47 | <lyxia> | sbp: he's on slack (functionalprogramming) under his own name. |
| 18:28:59 | → | Unhammer joins (~Unhammer@gateway/tor-sasl/unhammer) |
| 18:29:03 | × | Tops2 quits (~Tobias@dyndsl-095-033-023-047.ewe-ip-backbone.de) (Ping timeout: 265 seconds) |
| 18:29:32 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 18:30:04 | <snyp> | geekosaur: Does "MaybeT State a" ever make sense to use? |
| 18:30:12 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 18:30:26 | <geekosaur> | if the state is irrelevant in case of failure, yes |
| 18:30:58 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 18:31:44 | → | PerryThePlatypus joins (b644f401@182.68.244.1) |
| 18:31:56 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 18:32:21 | → | chaosmasttter joins (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) |
| 18:32:39 | → | isovector1 joins (~isovector@172.103.216.166.cable.tpia.cipherkey.com) |
| 18:33:33 | Gurkenglas_ | is now known as Gurkenglas |
| 18:33:47 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:aced:b361:828c:f8f1) (Ping timeout: 272 seconds) |
| 18:34:10 | <AWizzArd> | Can I use the unicode char `μ` in data constructors? I.e. data TimeUnit = NS | μs | MS | S |
| 18:34:32 | <geekosaur> | it's a letter character, so yes |
| 18:34:37 | <ski> | > isUpper 'μ' |
| 18:34:40 | <lambdabot> | False |
| 18:34:50 | <geekosaur> | oh, good point |
| 18:34:52 | <PerryThePlatypus> | Hey, I wanted to improve my Haskell skillz. I wanted to try LeetCode but unfortunately they do not support Haskell. Any alternatives in mind? I don't need online IDE. |
| 18:34:56 | <geekosaur> | has to be uppercase |
| 18:35:35 | <AWizzArd> | Okay. |
| 18:35:47 | <ski> | @unmtl StateT s (MaybeT m) a |
| 18:35:47 | <lambdabot> | s -> m (Maybe (a, s)) |
| 18:35:48 | <ski> | @unmtl MaybeT (StateT s m) a |
| 18:35:49 | <lambdabot> | s -> m (Maybe a, s) |
| 18:35:51 | <ski> | snyp ^ |
| 18:36:17 | <geekosaur> | hm |
| 18:36:18 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 18:36:49 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 18:37:25 | × | John20 quits (~John@82.46.59.122) (Ping timeout: 264 seconds) |
| 18:37:26 | <AWizzArd> | > isUpper 'Μ' |
| 18:37:29 | <lambdabot> | True |
| 18:37:36 | × | PerryThePlatypus quits (b644f401@182.68.244.1) (Remote host closed the connection) |
| 18:37:45 | <AWizzArd> | > (isUpper 'Μ', 'Μ' == 'M') |
| 18:37:47 | <lambdabot> | (True,False) |
| 18:37:54 | → | phaul joins (~phaul@ruby/staff/phaul) |
| 18:38:07 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 18:38:44 | → | int-e joins (~noone@silicon.int-e.eu) |
| 18:39:39 | → | Wuzzy joins (~Wuzzy@p5790e6f5.dip0.t-ipconnect.de) |
| 18:41:15 | <ski> | > map isUpper "µ㎲𝜇" |
| 18:41:17 | <lambdabot> | [False,False,False] |
| 18:41:21 | × | ystael quits (~ystael@209.6.50.55) (Read error: Connection reset by peer) |
| 18:43:02 | <snyp> | @unmtl StateT s (Maybe a) |
| 18:43:02 | <lambdabot> | err: `StateT s (Maybe a)' is not applied to enough arguments, giving `/\A. s -> Maybe a (A, s)' |
| 18:43:58 | <ski> | drop the brackets |
| 18:43:59 | → | conal joins (~conal@64.71.133.70) |
| 18:44:10 | × | phaul quits (~phaul@ruby/staff/phaul) (Ping timeout: 246 seconds) |
| 18:44:31 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) (Quit: cosimone) |
| 18:45:41 | → | Cthalupa joins (~cthulhu@47.186.47.75) |
| 18:45:47 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 240 seconds) |
| 18:45:52 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:1c60:69e9:f30b:d7e8) |
| 18:46:38 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 18:47:06 | → | phaul joins (~phaul@ruby/staff/phaul) |
| 18:47:11 | → | ystael joins (~ystael@209.6.50.55) |
| 18:47:25 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 18:48:28 | <sm[m]> | @freenode_PerryThePlatypus:matrix.org: exercism, project Euler, code.world |
| 18:48:28 | <lambdabot> | Unknown command, try @list |
| 18:49:33 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 18:49:43 | → | GyroW joins (~GyroW@d54c03e98.access.telenet.be) |
| 18:49:43 | × | GyroW quits (~GyroW@d54c03e98.access.telenet.be) (Changing host) |
| 18:49:43 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 18:49:52 | × | Zetagon quits (~leo@c151-177-52-233.bredband.comhem.se) (Remote host closed the connection) |
| 18:51:17 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 18:51:52 | → | jneira joins (501e65ce@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.206) |
| 18:52:09 | ski | looks at sm[m] |
| 18:53:08 | → | bitmapper joins (uid464869@gateway/web/irccloud.com/x-jxsyyeiuxmytinai) |
| 18:53:45 | × | phaul quits (~phaul@ruby/staff/phaul) (Ping timeout: 240 seconds) |
| 18:54:46 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 18:55:03 | tomsmeding | carefully notes that the intended recipient of that message had already left the chat |
| 19:01:27 | → | ashbreeze joins (~mark@72-161-253-219.dyn.centurytel.net) |
| 19:02:08 | → | DavidEichmann joins (~david@43.240.198.146.dyn.plus.net) |
| 19:03:45 | × | _ashbreeze_ quits (~mark@72-161-253-219.dyn.centurytel.net) (Ping timeout: 240 seconds) |
| 19:04:05 | × | conal quits (~conal@64.71.133.70) (Remote host closed the connection) |
| 19:04:18 | → | conal_ joins (~conal@64.71.133.70) |
| 19:04:26 | × | DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Remote host closed the connection) |
| 19:05:36 | → | John20 joins (~John@82.46.59.122) |
| 19:07:09 | → | _ashbreeze_ joins (~mark@72-161-48-15.dyn.centurytel.net) |
| 19:08:33 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 19:09:13 | × | ashbreeze quits (~mark@72-161-253-219.dyn.centurytel.net) (Ping timeout: 256 seconds) |
| 19:11:15 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 19:11:16 | × | vicfred quits (~vicfred@unaffiliated/vicfred) (Ping timeout: 256 seconds) |
| 19:12:22 | × | conal_ quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 19:12:30 | × | ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Quit: ->) |
| 19:13:21 | → | conal joins (~conal@64.71.133.70) |
| 19:13:42 | <sm[m]> | urggggh did it again. Apologies. Well maybe someone else cares |
| 19:15:01 | <int-e> | > (2^^(-1074), (2^^(-537))^2) -- meh. |
| 19:15:04 | <lambdabot> | (0.0,5.0e-324) |
| 19:16:03 | <geekosaur> | have some floating point |
| 19:16:12 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 19:16:39 | <int-e> | I guess a ^^ b does 1/(a^(-b)) for negative b, not (1/a)^(-b) |
| 19:17:07 | <int-e> | > (1/2^1074, (1/2)^1074) |
| 19:17:10 | <lambdabot> | (0.0,5.0e-324) |
| 19:19:43 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 19:22:03 | × | ryansmccoy quits (~ryansmcco@193.37.254.27) (Ping timeout: 260 seconds) |
| 19:22:26 | → | ryansmccoy joins (~ryansmcco@156.96.151.132) |
| 19:23:47 | <int-e> | (but neither implementation is strictly better than the other, so best to accept the behavior as it is) |
| 19:24:41 | → | proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net) |
| 19:25:57 | hackage | hakyll-alectryon 0.1.1.0 - Hakyll extension for rendering Coq code using Alectryon https://hackage.haskell.org/package/hakyll-alectryon-0.1.1.0 (lyxia) |
| 19:26:40 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) |
| 19:26:44 | <proofofme> | Hello. How do I print this data type to the console? Maybe [String] |
| 19:27:02 | <phadej> | |
| 19:27:49 | <proofofme> | No instance for (Show (IO (Maybe [String]))) |
| 19:27:49 | <proofofme> | arising from a use of ‘print’ |
| 19:28:20 | <phadej> | do { x <- thatIOAction; print x } |
| 19:29:10 | <proofofme> | Yes!!! Thank you phadej |
| 19:32:22 | × | isovector1 quits (~isovector@172.103.216.166.cable.tpia.cipherkey.com) (Ping timeout: 265 seconds) |
| 19:36:04 | <leungbk> | Why does valgrind report an 80-byte leak for a hello-world.hs file with `main = print "hello"` compiled with `ghc hello.hs`? Are there other compilation flags I need to give ghc? |
| 19:36:04 | × | ralejs quits (~ralejs@2620:10d:c093:400::5:a494) (Read error: Connection reset by peer) |
| 19:36:11 | → | alp joins (~alp@88.126.45.36) |
| 19:36:15 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 19:36:19 | × | geekosaur quits (ac3a3ed8@172.58.62.216) (Ping timeout: 245 seconds) |
| 19:36:49 | → | ralejs joins (~ralejs@2620:10d:c093:400::5:a494) |
| 19:37:54 | <ski> | proofofme : also `print =<< thatIOAction' |
| 19:38:40 | <tomsmeding> | (not sure if it's good to give beginners =<< instead of the standard >>=) |
| 19:38:42 | <monochrom> | valgrind is the wrong tool for GHC-generated executables. |
| 19:38:53 | → | Ariakenom joins (~Ariakenom@h-155-4-221-50.NA.cust.bahnhof.se) |
| 19:39:25 | <proofofme> | ski, that worked as well! How should I use the standard binding operator instead, tomsmeding? |
| 19:39:36 | <tomsmeding> | proofofme: thatIOAction >>= print |
| 19:39:37 | <tomsmeding> | :p |
| 19:39:42 | <tomsmeding> | it's the same thing, but with the arguments flipped |
| 19:39:43 | <ski> | you can say .. what tomsmeding said, as well |
| 19:39:45 | <ski> | yes |
| 19:39:55 | × | wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 260 seconds) |
| 19:39:56 | → | wroathe_ joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 19:39:59 | <ski> | sometimes the ordering for `=<<' reads more nicely |
| 19:40:00 | <proofofme> | ah! I see |
| 19:40:04 | <ski> | (also `<=<') |
| 19:40:05 | → | borne joins (~fritjof@200116b864a02a00739dc2dd650b1f65.dip.versatel-1u1.de) |
| 19:40:11 | <proofofme> | is <=< different? |
| 19:40:15 | <ski> | yes |
| 19:40:18 | <tomsmeding> | and >=> and all the plethora of operators that exist |
| 19:40:34 | <ski> | `<=<' composes two "monadic functions" |
| 19:40:35 | <tomsmeding> | it's not productive to get lost in the swamp of operators at first I think :) |
| 19:40:40 | <tomsmeding> | and I think monochrom will agree |
| 19:41:14 | <tomsmeding> | since >>= is the core operator from the Monad class; =<< is (trivially) defined in terms of >>= |
| 19:41:28 | <ski> | proofofme : but when you're starting, i think it's good to focus on `do'-notation and `return'/`pure', and then learn how the former maps to `>>=' and `>>' (or perhaps learn about them, before `do') |
| 19:41:53 | × | shafox quits (~shafox@106.51.234.111) (Remote host closed the connection) |
| 19:41:54 | × | raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Read error: Connection reset by peer) |
| 19:42:07 | <tomsmeding> | I guess depending on your prior programming experience, or general exposure to mathematics :p |
| 19:42:24 | → | raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) |
| 19:42:29 | <proofofme> | I've been studying category theory (I'm like 70% of the way through the standard curriculum) and reading some articles. I'm building a very small scraper script to get more familiar |
| 19:42:33 | × | AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Quit: Leaving) |
| 19:43:07 | <tomsmeding> | I say understand >>= first, then understand how do-notation is expressed in terms of it :p |
| 19:43:19 | <monochrom> | If you're from category theory, then you already know join, and you just need "m >>= k = join (fmap f m)" |
| 19:43:49 | <monochrom> | well, you know join under a Greek name. But it's: |
| 19:43:53 | <monochrom> | @type join |
| 19:43:55 | <lambdabot> | Monad m => m (m a) -> m a |
| 19:44:13 | <proofofme> | hmmm |
| 19:44:41 | × | oisdk quits (~oisdk@2001:bb6:3329:d100:7807:4c86:5073:949e) (Quit: oisdk) |
| 19:44:45 | × | Guest_46 quits (50ec28e9@ip-233.net-80-236-40.suresnes.rev.numericable.fr) (Remote host closed the connection) |
| 19:45:36 | <monochrom> | You probably also already know Kleisli arrows. In that case, that's >=>. |
| 19:46:13 | <monochrom> | or rather, >=> is the arrow composition for Kleisli arrows. |
| 19:46:14 | <sbp> | lyxia: thanks |
| 19:46:16 | ← | sbp parts (~sbp@2001:19f0:6800:1102:5400:ff:fe11:39a1) ("WeeChat 2.8") |
| 19:46:30 | <proofofme> | Interesting |
| 19:47:02 | × | wroathe_ quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds) |
| 19:47:22 | → | geekosaur joins (ac3a3eec@172.58.62.236) |
| 19:48:29 | → | isovector1 joins (~isovector@172.103.216.166) |
| 19:49:56 | × | isovector1 quits (~isovector@172.103.216.166) (Client Quit) |
| 19:50:28 | ski | idly wonders what CT concepts proofofme's covered |
| 19:50:32 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 19:50:55 | <proofofme> | I lightly understand what you said above and made a list to refamiliarize myself |
| 19:51:47 | × | knupfer quits (~Thunderbi@200116b82ce4df00a0bd07f956f29bb7.dip.versatel-1u1.de) (Ping timeout: 260 seconds) |
| 19:52:02 | <proofofme> | I've watched up to Chapter 7 in Bartosz Milewski's Category Theory playlist |
| 19:52:35 | <proofofme> | So "a monad is simply a monoid in the category of endofunctors" makes full sense to me now :) |
| 19:53:34 | <proofofme> | I've also been learning abstract algebra and some number theory. I am no expert by any means though. |
| 19:54:11 | <monochrom> | err typo. m >>= k = join (fmap k m) |
| 19:54:47 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 19:57:26 | × | int-e quits (~noone@silicon.int-e.eu) (Quit: leaving) |
| 19:57:42 | → | int-e joins (~noone@int-e.eu) |
| 20:01:51 | × | alp quits (~alp@88.126.45.36) (Ping timeout: 260 seconds) |
| 20:01:57 | hackage | neuron 1.0.0.0 - Future-proof system for plain-text notes. https://hackage.haskell.org/package/neuron-1.0.0.0 (sridca) |
| 20:03:27 | hackage | lorentz 0.6.2 - EDSL for the Michelson Language https://hackage.haskell.org/package/lorentz-0.6.2 (gromak) |
| 20:03:31 | → | MVQq joins (~anja@198.254.202.72) |
| 20:03:36 | → | GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 20:03:36 | × | GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 20:03:36 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 20:04:19 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 246 seconds) |
| 20:06:18 | × | MarcelineVQ quits (~anja@198.254.202.72) (Ping timeout: 256 seconds) |
| 20:07:14 | → | rprije joins (~rprije@203.214.95.251) |
| 20:09:29 | → | acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) |
| 20:09:32 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 272 seconds) |
| 20:10:38 | → | olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber) |
| 20:14:11 | → | conal joins (~conal@64.71.133.70) |
| 20:17:09 | → | ashbreeze joins (~mark@72-161-252-12.dyn.centurytel.net) |
| 20:18:25 | × | _ashbreeze_ quits (~mark@72-161-48-15.dyn.centurytel.net) (Ping timeout: 240 seconds) |
| 20:18:49 | × | John20 quits (~John@82.46.59.122) (Ping timeout: 264 seconds) |
| 20:20:50 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 20:20:57 | × | thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 260 seconds) |
| 20:25:47 | × | ashbreeze quits (~mark@72-161-252-12.dyn.centurytel.net) (Ping timeout: 240 seconds) |
| 20:27:19 | × | geekosaur quits (ac3a3eec@172.58.62.236) (Remote host closed the connection) |
| 20:27:21 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds) |
| 20:27:58 | → | ashbreeze joins (~mark@72-161-252-12.dyn.centurytel.net) |
| 20:35:01 | × | ashbreeze quits (~mark@72-161-252-12.dyn.centurytel.net) (Ping timeout: 264 seconds) |
| 20:36:40 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 20:37:18 | × | ryansmccoy quits (~ryansmcco@156.96.151.132) (Ping timeout: 260 seconds) |
| 20:37:47 | → | ryansmccoy joins (~ryansmcco@156.96.151.132) |
| 20:41:22 | × | coot quits (~coot@37.30.49.218.nat.umts.dynamic.t-mobile.pl) (Ping timeout: 256 seconds) |
| 20:45:26 | → | alp joins (~alp@2a01:e0a:58b:4920:ac57:f0c6:c76e:e7d6) |
| 20:46:10 | → | phaul joins (~phaul@ruby/staff/phaul) |
| 20:46:48 | × | balbirs quits (~balbirs__@bilbo.ozlabs.org) (Quit: ZNC 1.7.5+deb1 - https://znc.in) |
| 20:47:31 | → | balbirs joins (~balbirs__@ozlabs.org) |
| 20:48:53 | → | frdg joins (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) |
| 20:49:01 | × | Aquazi quits (uid312403@gateway/web/irccloud.com/x-bssvxoobsmajjsoa) (Quit: Connection closed for inactivity) |
| 20:54:01 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 20:55:20 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) (Remote host closed the connection) |
| 20:55:50 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) |
| 21:00:01 | × | Guest36719 quits (~variable@185.244.214.216) () |
| 21:01:23 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 21:02:07 | × | proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection) |
| 21:05:45 | × | Franciman quits (~francesco@host-95-247-31-62.retail.telecomitalia.it) (Quit: Leaving) |
| 21:07:00 | × | mcc2 quits (~pbodev1@5-15-16-231.residential.rdsnet.ro) (Quit: Nettalk6 - www.ntalk.de) |
| 21:13:04 | → | ClaudiusMaximus joins (~claude@198.123.199.146.dyn.plus.net) |
| 21:13:17 | × | ClaudiusMaximus quits (~claude@198.123.199.146.dyn.plus.net) (Changing host) |
| 21:13:17 | → | ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus) |
| 21:14:27 | × | justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 240 seconds) |
| 21:17:07 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 21:20:27 | × | justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Ping timeout: 260 seconds) |
| 21:21:58 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 21:22:16 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 21:22:38 | × | _vaibhavingale_ quits (~Adium@203.188.228.27) (Quit: Leaving.) |
| 21:23:15 | → | psygate joins (~psygate@unaffiliated/psygate) |
| 21:23:31 | × | borne quits (~fritjof@200116b864a02a00739dc2dd650b1f65.dip.versatel-1u1.de) (Ping timeout: 272 seconds) |
| 21:23:51 | × | justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Client Quit) |
| 21:24:08 | → | justsomeguy joins (~justsomeg@2603:9000:960a:fc00:c4d2:5b73:c7b7:3a2b) |
| 21:24:08 | × | justsomeguy quits (~justsomeg@2603:9000:960a:fc00:c4d2:5b73:c7b7:3a2b) (Changing host) |
| 21:24:08 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 21:26:45 | × | Tops21 quits (~Tobias@dyndsl-095-033-023-047.ewe-ip-backbone.de) (Read error: Connection reset by peer) |
| 21:28:22 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 21:28:29 | × | Ariakenom quits (~Ariakenom@h-155-4-221-50.NA.cust.bahnhof.se) (Quit: Leaving) |
| 21:28:32 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 21:28:33 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 21:28:33 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 21:30:44 | → | radge joins (~dav@84.45.212.159) |
| 21:31:56 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 21:32:41 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 21:33:34 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 21:34:55 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:a16f:75:586:b3b0) (Quit: cosimone) |
| 21:36:50 | → | borne joins (~fritjof@200116b864a02a00739dc2dd650b1f65.dip.versatel-1u1.de) |
| 21:36:59 | × | danvet_ quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 246 seconds) |
| 21:37:47 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 21:39:00 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 21:40:41 | → | kreetx joins (~markus@228-90-235-80.dyn.estpak.ee) |
| 21:41:12 | × | radge quits (~dav@84.45.212.159) (Quit: WeeChat 2.9) |
| 21:41:51 | × | raehik quits (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) (Quit: WeeChat 2.8) |
| 21:44:14 | × | LKoen quits (~LKoen@lstlambert-657-1-123-43.w92-154.abo.wanadoo.fr) (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:44:30 | → | justanotheruser joins (~justanoth@unaffiliated/justanotheruser) |
| 21:46:23 | → | cosimone joins (~cosimone@93-47-228-249.ip115.fastwebnet.it) |
| 21:46:51 | → | raehik joins (~raehik@cpc96984-rdng25-2-0-cust109.15-3.cable.virginm.net) |
| 21:47:47 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 21:50:29 | → | worc3131 joins (~quassel@2a02:c7f:c026:9500:7d0b:65d0:38a4:4786) |
| 21:50:31 | → | proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net) |
| 21:51:11 | → | thir joins (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) |
| 21:53:38 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 21:53:46 | → | GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 21:53:47 | × | GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 21:53:47 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 21:54:45 | → | oisdk joins (~oisdk@2001:bb6:3329:d100:7807:4c86:5073:949e) |
| 21:54:53 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds) |
| 21:55:16 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 21:55:49 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 21:56:02 | × | thir quits (~thir@p200300f27f0fc60038c1b16891cbfa03.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 21:56:25 | → | frank001 joins (~frank001@178.162.212.214) |
| 21:57:07 | <dolio> | (=<<) is good because it shows how homomorphisms of free algebras `m a -> m b` arise from maps `a -> m b`. |
| 21:57:27 | × | st8less quits (~st8less@2603:a060:11fd:0:9c66:9b18:c21:60c) (Ping timeout: 240 seconds) |
| 21:57:43 | → | conal joins (~conal@64.71.133.70) |
| 21:58:45 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving) |
| 21:59:07 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 22:01:21 | <dolio> | Of course, that only depends on `m a` being a free algebra. If you situate it in the category of all algebras, it's `(a -> r) -> m a -> r`, presuming `r` is an algebra. |
| 22:03:28 | → | falafel joins (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) |
| 22:04:01 | × | ryansmccoy quits (~ryansmcco@156.96.151.132) (Ping timeout: 246 seconds) |
| 22:04:36 | → | ryansmccoy joins (~ryansmcco@193.37.254.27) |
| 22:04:36 | <dminuoso> | proofofme: Now to the next step. An applicative is simply a monoid in the category of endofunctors as well! |
| 22:05:15 | × | fendor quits (~fendor@77.119.131.69.wireless.dyn.drei.com) (Remote host closed the connection) |
| 22:05:17 | <dminuoso> | But that category is equipped with a different tensor. In case of Monad it's endofunctor composition, and in case of Applicative it's Day convolution. :) |
| 22:05:41 | monochrom | cries |
| 22:05:46 | <dolio> | In that case it doesn't need to be an endofunctor, though. |
| 22:06:35 | × | worc3131 quits (~quassel@2a02:c7f:c026:9500:7d0b:65d0:38a4:4786) (Ping timeout: 272 seconds) |
| 22:07:34 | <proofofme> | interesting! I am referencing all this stuff right now |
| 22:08:22 | <monochrom> | I now agree with St. Augustine that you math nerds are pure evil. :) |
| 22:08:41 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 22:09:10 | <hpc> | we should make like pythagoras and throw them overboard |
| 22:09:18 | <monochrom> | Programmers work very hard to code up things, then a math nerd comes along to point out that "it's just a special case of this conceptually simple thing" |
| 22:09:19 | <dminuoso> | proofofme: As a fun excercise, try to think of other tensors and see whether you discover more such monoids. |
| 22:09:46 | <dminuoso> | There's at least three more tensors that yield interesting results. |
| 22:10:22 | <monochrom> | One time I was TAing in a computer graphics course. In terms of coding up ray tracing for example, intersection test for a ray with a sphere is very different from intersection test for a ray with a cube. |
| 22:10:32 | → | conal joins (~conal@64.71.133.70) |
| 22:10:56 | <dminuoso> | tomsmeding: I managed a testcase btw: https://gitlab.haskell.org/ghc/ghc/-/issues/18822 |
| 22:11:16 | <monochrom> | Then a math prof friend visited the graphics prof, we brought up that, and the math prof friend pointed out "but a cube is just a sphere under a different norm". |
| 22:11:54 | <dolio> | Maybe programmers should have looked at what math people were doing decades before, so they wouldn't have to reinvent it. |
| 22:12:14 | <dminuoso> | dolio: Heh. Or even at what programmers were doing decades before! |
| 22:12:25 | <dminuoso> | Im looking at you, mongodb developers. |
| 22:12:35 | <dolio> | Yeah, that too. |
| 22:13:23 | <monochrom> | I am sympathetic to them, though in disagreement, because as a consequence of the victors writing history, the nosql people never knew that historically databases started out as nosql. |
| 22:13:23 | × | jespada quits (~jespada@90.254.245.15) (Ping timeout: 246 seconds) |
| 22:13:27 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds) |
| 22:13:58 | × | justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Remote host closed the connection) |
| 22:14:12 | <dminuoso> | There's an influx of new programmers, completely oblivious about POSIX, relational algebra, interesting languages... |
| 22:14:14 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 22:14:35 | <monochrom> | If you tell them the old name "network database" they will totally misunderstand you because they don't know that "network" simply meant pointers back then. |
| 22:14:58 | <monochrom> | (They will think you mean, like, cloud.) |
| 22:14:59 | <dminuoso> | monochrom: If I stare at some of the early steps of MongoDB they are not just repeating it, but repeating it poorly. MongoDB will crash if you use more than 2GiB in your database on a 32 bit architecture. |
| 22:15:00 | <dolio> | If you squint at the 'algebra' thing above, you see that Lawvere invented CPS for algebra 12 years before Steele and Sussman. :) |
| 22:15:04 | → | conal joins (~conal@64.71.133.70) |
| 22:15:11 | <dminuoso> | I mean, for a database that's saying quite a lot. |
| 22:15:20 | <dminuoso> | Or the complete lack of any properties of ACID early on |
| 22:15:46 | <dminuoso> | It seemed to have been a "Lets see how hard a database can be, if we dont do any reading and just start writing" |
| 22:16:58 | → | jespada joins (~jespada@90.254.245.15) |
| 22:18:48 | <maralorn> | dolio: I say this as a mathematician. Normally people (like physicists, programmers) invent something and then after a few decads mathematicians are like "well what you did is btw. this really simple concept, that we invented motivated by what you did" |
| 22:19:49 | <monochrom> | And while we're at it... I wish I could write "C because (because A, so B)" up there for that sentence that I ended up wording "C because as a consequence of A, B". |
| 22:20:34 | <monochrom> | So the logical structure of what I was saying is: (A therefore B) therefore C. Marvel at the CPS structure! >:) |
| 22:20:55 | → | mirrorbird joins (~psutcliff@2a00:801:3f8:10df:3fb2:3ec3:6676:3873) |
| 22:21:38 | <dolio> | maralorn: If I were talking to mathematicians I'd be playing the opposite side. :) |
| 22:21:58 | <maralorn> | ^^ |
| 22:22:27 | <dolio> | They just stole our Martin-löf type theory. |
| 22:22:39 | <maralorn> | It's not always like that. But in general I think both sides deserve a lot of credit. And in a world where people tend to idolize abstractness, rigor and brute intelligence. I try to nudge the world view into the direction of valuing intuition, motivation and experience. |
| 22:22:40 | <monochrom> | heh |
| 22:24:22 | <monochrom> | That is a minority world from what I saw. |
| 22:24:51 | <monochrom> | The majority world idolize intuition, experience, and after-the-fact rationalization instead. |
| 22:25:00 | <monochrom> | Just look at politics. |
| 22:25:43 | × | spew quits (uid195861@gateway/web/irccloud.com/x-ypeilgetepuhkpyp) (Quit: Connection closed for inactivity) |
| 22:26:12 | <dolio> | I mean, it wasn't long ago that I was talking in here about how mathematicians are all wrong when they tell physicists they 'aren't allowed to do' various stuff with derivatives because it doesn't work in classical analysis or whatever. |
| 22:26:46 | <dolio> | Because they went off and studied something different than what physicists are actually doing, but decided the math was the real thing. |
| 22:27:30 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 22:29:03 | → | conal joins (~conal@64.71.133.70) |
| 22:29:13 | × | conal quits (~conal@64.71.133.70) (Client Quit) |
| 22:30:28 | <proofofme> | So let's say that I have a field of type `Maybe [String]` and want to compare it to elements from input of type [String], and return the index of the first match, if it exists. Would I use mapM_ to accomplish this? |
| 22:32:21 | <monochrom> | No. More like fmap. |
| 22:32:57 | <monochrom> | What does "compare" mean to compare Nothing against ["hello", "hi"] ? |
| 22:34:33 | <proofofme> | Just ["hello", "hi"], yeah? |
| 22:34:38 | <proofofme> | is that what you mean? |
| 22:34:49 | <dminuoso> | So, just out of curiosity proofofme |
| 22:34:54 | <monochrom> | No. You wrote "compare Maybe [String] to [String]". |
| 22:35:05 | <dminuoso> | You dabble in non-trivial category theory but seem to be stuck in the beginning steps of Haskell. |
| 22:35:11 | <dminuoso> | What's your motivation behind learning CT? |
| 22:35:17 | <monochrom> | So I compare Nothing :: Maybe [String] to ["hello", "hi"] :: [String] |
| 22:35:31 | <maralorn> | I read up on the Monads are Monoids in the category of Endofunctors thing. A few years ago I was like "A now I get it.". Now I feel that's like saying "a bycicle is just two wheels with pedals." It's not really wrong but it's a really bad definition and I can think of contraptions that fit the name, that don‘t match at all. |
| 22:36:29 | <proofofme> | My main motivation is personal fulfillment in learning this stuff, but also applying it professionally to write better code, whether it's Haskell or whatever else I'm using. |
| 22:37:10 | <proofofme> | I'm really new at non-trivial Haskell |
| 22:37:19 | <proofofme> | or less-trivial Haskell, I should say |
| 22:37:31 | <dminuoso> | proofofme: My personal recommendation, stay clear of Category Theory then. |
| 22:37:36 | → | conal joins (~conal@64.71.133.70) |
| 22:37:45 | <proofofme> | why's that? |
| 22:37:50 | × | chaosmasttter quits (~chaosmast@p200300c4a70b40010854fe5f0255a133.dip0.t-ipconnect.de) (Quit: WeeChat 2.9) |
| 22:37:50 | <koz_> | maralorn: This. I especially feel that a lot of people (especially learners) fixate too much on what a monad _is_, and less on 'why we care in the first place'. |
| 22:37:55 | → | _ashbreeze_ joins (~mark@184-157-33-36.dyn.centurytel.net) |
| 22:38:07 | <dminuoso> | Unless you do this out of personal enjoyment for CT itself, CT has very little bang for bucks in terms of programming. |
| 22:38:28 | <proofofme> | I want to learn CT, abstract algebra, and number theory for my own sake |
| 22:38:28 | <maralorn> | koz_: That also. |
| 22:38:41 | <dminuoso> | While some of the really advanced folks can use it in some particular situations, I dont think one can appreciate even half the stuff unless you happen to be well versed in multiple fields of maths already |
| 22:39:02 | <dminuoso> | proofofme: In that case, dont mind me! |
| 22:39:11 | <dminuoso> | Just wanted to make sure you didn't fall into the trap I (and many others) did. :) |
| 22:39:28 | <maralorn> | koz_: But unless someone can enlighten me in the error of my ways. It now feels like that is not even something a mathematician would say. |
| 22:39:42 | <dminuoso> | Because I learned category theory for the sake of having an easier entry into Haskell. Turned out, I understood the joke `a monad is just..`, went to Haskell, and didn't even understand how to use IO at all. |
| 22:39:45 | <dminuoso> | (True story) |
| 22:39:58 | <dolio> | What isn't? |
| 22:40:09 | <proofofme> | haha I feel that |
| 22:40:39 | <maralorn> | dolio: "Monads are Monoids in the category of Endofunctors" |
| 22:41:26 | <dolio> | maralorn: It's a one-off sentence in Categories for the Working Mathematician, I think. |
| 22:41:35 | × | Jesin quits (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net) (Quit: Leaving) |
| 22:41:46 | <maralorn> | Hm |
| 22:41:53 | <dolio> | And for some reason gets quoted all over. |
| 22:42:17 | <maralorn> | But what does "A Monoid in the category C" even mean? |
| 22:42:37 | <dolio> | I think it's quoted somewhere by Wadler, maybe, and that's why it's popular amongst programmers. |
| 22:42:57 | <dminuoso> | maralorn: A monoid (or monoid object) (M, μ, η) in a monoidal category (C, ⊗, I) is an object M together with two morphisms |
| 22:43:09 | <dminuoso> | (I ruthlessly copy pasted it, but I would have said the same thing myself |
| 22:43:28 | <dminuoso> | (well followed by blahblablah( |
| 22:43:31 | <maralorn> | Ah, okay. Fair enough. |
| 22:43:40 | <dolio> | In MacLaine I think it comes at the end of explaining how it works. |
| 22:44:23 | <dolio> | And for Wadler it's a joke that doesn't actually explain anything. |
| 22:44:51 | <monochrom> | The real numbers are just the complete Archimedian ordered field. >:) |
| 22:44:52 | <maralorn> | Then the Wikipedia article is just exceptionally bad at making that point. It even has a [Citation needed] next to the claim … |
| 22:45:53 | <maralorn> | monochrom: Well that is how we defined them in my first semester, so I am okay with that. |
| 22:45:55 | <dminuoso> | maralorn, dolio: According to stackoverflow, the particular joking phrasing is actually from: http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html |
| 22:46:07 | <dminuoso> | (With a fictional attribution to Wadler) |
| 22:46:45 | <dolio> | Oh, okay. |
| 22:46:45 | <dminuoso> | And I think that joke is what got it popular, but the joke is sometimes lost |
| 22:46:56 | <monochrom> | Any sufficiently insider joke is indistinguishable from sufficiently advanced knowledge. |
| 22:47:04 | <dminuoso> | monochrom: Haha true. |
| 22:48:23 | <maralorn> | That page doesn‘t load for me. :-( |
| 22:49:22 | <monochrom> | Learning monads is not easy. After successfully learning something challenging, people make jokes for relief. I'm sure this happens in every profession. I'm sure similar nerdy jokes are among accountants, lawyers, medical doctors, everything. |
| 22:50:17 | <dolio> | It seems like the irony of this discussion is that it's not really mathematicians saying it. It's programmers. |
| 22:50:24 | <monochrom> | But when such insider jokes leak out, they sound like words of deep wisdom to beginners, and beginners misbelieve that they must understand them rather than just go "haha" and take it easy. |
| 22:50:29 | <maralorn> | Yeah, there is an evolution of jokes about different math jokes which funnieness depends on your own skilllevel. |
| 22:50:43 | <maralorn> | First you don‘t even get it's a math joke and it's not funny. |
| 22:51:04 | <dminuoso> | I mean to be fair, the core essence of "a monad is just..." is very valuable and ever present in my head. |
| 22:51:14 | <dminuoso> | But it's not the category theory definition that I think about |
| 22:51:21 | <maralorn> | Later you know enough math, to understand it's a joke, but you don‘t know why, so you laugh with the others. |
| 22:51:36 | <dminuoso> | I rather have a visual/mental model of: https://gist.github.com/dminuoso/d5ab4ba5d8a5142dde9f4d4c736e3ecb |
| 22:51:55 | <maralorn> | Then you know barely enough math to understand the joke and you find it hilarious. |
| 22:52:14 | <dminuoso> | Just to address your comment about "this is not even something a mathematician would say" |
| 22:52:26 | → | heebo joins (~user@cpc97956-croy24-2-0-cust20.19-2.cable.virginm.net) |
| 22:53:18 | <maralorn> | And some years later the knowledge required seems so basic, that you maybe laugh a little. |
| 22:54:10 | <monochrom> | So, like that one on smbc? |
| 22:54:13 | × | xsperry quits (~as@unaffiliated/xsperry) () |
| 22:54:19 | <maralorn> | dminuoso: Well I was wrong about that. Apparently that sentence has a very precise meaning if you know monoidal categories and a generelized definition of monoid. |
| 22:54:39 | <monochrom> | "Did you know that every sum of two primes is greater than 2" |
| 22:54:43 | <dolio> | It's hard to believe I hadn't heard that quip before 2009, though. |
| 22:54:55 | <dminuoso> | maralorn: I like Saunders Mac Lanes definition more, but I'd rephrase it into: |
| 22:55:17 | <dminuoso> | A monad is a monoid in a monoidal category equipped with endofunctor composition as its tensor. |
| 22:55:26 | <dminuoso> | Err |
| 22:55:38 | <dminuoso> | A monad is a monoid in the monoidal category of endofunctors equipped with endofunctor composition as its tensor. |
| 22:55:54 | <dolio> | I'm going to guess it was only written down somewhere permanent in 2009. |
| 22:55:55 | × | ryansmccoy quits (~ryansmcco@193.37.254.27) (Ping timeout: 260 seconds) |
| 22:56:02 | × | cosimone quits (~cosimone@93-47-228-249.ip115.fastwebnet.it) (Quit: cosimone) |
| 22:56:04 | <dminuoso> | But really, this is neither the conclusion of some large chunk of text, nor is it a particularly funny joke |
| 22:56:12 | <dminuoso> | So it's pretty valueless |
| 22:56:27 | → | ryansmccoy joins (~ryansmcco@193.37.254.27) |
| 22:56:54 | <heebo> | if im using ghcup , hie , haskell language server: whats the best build tool to use , stack or cabal? |
| 22:56:59 | → | Jesin joins (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net) |
| 22:57:00 | <dminuoso> | As programmers, I think the kleisli category route to think of programmers is a bit more natural to think of. |
| 22:57:05 | <hpc> | the slightly funnier version goes something like "a monad is a monad in the 2-category of categories" |
| 22:57:07 | <monochrom> | cabal |
| 22:57:35 | <maralorn> | dminuoso: Yeah, that gist makes it very clear. I also think for definition I prefer join over bind. |
| 22:58:08 | × | zacts quits (~zacts@dragora/developer/zacts) (Quit: leaving) |
| 22:58:12 | × | kreetx quits (~markus@228-90-235-80.dyn.estpak.ee) (Quit: leaving) |
| 22:58:28 | <dminuoso> | I think bind is better to think of. |
| 22:58:45 | <dminuoso> | Then you can think of (<=<) as the principle operation of monads |
| 22:58:52 | <dminuoso> | You get some pretty elegant laws with that |
| 22:59:09 | <monochrom> | I like them both. Both have helped me greatly. |
| 22:59:14 | <dminuoso> | Assoc: f <=< (g <=< h) = (f <=< g) <=< h |
| 22:59:25 | <dminuoso> | Identity: f <=< return = return <=< f = f |
| 22:59:34 | <maralorn> | heebo: Note a) hie is deprecated in favor of haskell-language-server and b) the choice of your build tool is largely orthogonal to the rest of the setup. But c) yeah, I'd also say, cabal. |
| 22:59:57 | <dminuoso> | (All these definitions are of course equivalent) |
| 23:00:16 | <heebo> | thanks, just getting back into things. ill remove my hie setup in favour of hie |
| 23:00:16 | <monochrom> | Oh, my consideration is simply "if you use stack, you would not be with ghcup in the first place" |
| 23:00:29 | <heebo> | er haskell -language server i mean |
| 23:00:41 | <maralorn> | Well that is the monoid Wikipedia claims makes a monad a monoid … |
| 23:01:05 | → | conal_ joins (~conal@66.115.157.46) |
| 23:01:09 | <heebo> | monochrom: i only used ghcup because its the easiest way to install hls |
| 23:01:09 | <dminuoso> | maralorn: At the very core, monads and monoids are deeply related :) |
| 23:01:18 | <dminuoso> | nclatlab has a slightly different take again |
| 23:01:19 | <monochrom> | Ah |
| 23:01:44 | <dminuoso> | As a handwaving idea: A monad is a structure that is a lot like a monoid, but that lives in a bicategory rather than a monoidal category. In other words, the concept of a monad is a vertical categorification of that of a monoid. |
| 23:02:15 | <dminuoso> | Which connects to hpc's joke earlier |
| 23:02:18 | <heebo> | but i'll get back into cabal i always felt a little uncomfortable with the fact that stack sits on top of cabal and you end up having to maintain cabal files even with a stack setup |
| 23:02:39 | ← | heebo parts (~user@cpc97956-croy24-2-0-cust20.19-2.cable.virginm.net) ("ERC (IRC client for Emacs 26.2)") |
| 23:02:41 | <phadej> | cabal-install /= Cabal |
| 23:02:47 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 240 seconds) |
| 23:02:48 | <phadej> | there is no "cabal" (lowercase ;) |
| 23:03:07 | <monochrom> | We mean cabal-install. |
| 23:03:24 | <phadej> | stack doesn't sit on top of cabal-install |
| 23:03:28 | <dminuoso> | maralorn: My largest revelation was to see how Applicative and Monad were related. How Monad has a very deep sense of "sequencing" in all its definitions (in a very handwaving sense), while Applicative has a sort of "diamond" branching notion to it. |
| 23:03:33 | <maralorn> | phadej: So are they Cabal-files or cabal-install-files?^^ |
| 23:03:40 | <phadej> | maralorn: Cabal-files |
| 23:03:55 | <dminuoso> | It made me realize how the Applicative superclass constraint of Monad feels somewhat wrong, because it suggests a relationship that feels more accidental |
| 23:03:58 | <monochrom> | The confusion comes from the executable name "cabal". |
| 23:04:19 | <phadej> | it would be very painful if we had two (or more!) non-interoptible package specification formats |
| 23:05:06 | <dolio> | dminuoso: But do you know that arrows are also related? |
| 23:05:17 | <dminuoso> | dolio: What do you mean? |
| 23:05:46 | <maralorn> | dminuoso: I have seen one or two talks about how you can not introspect a Monad, because in a bind anything can happen. |
| 23:05:48 | <phadej> | dminuoso: it is "accidental", but also always true in the *specific category* of Haskell |
| 23:05:51 | <phadej> | types |
| 23:05:52 | × | dhouthoo quits (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be) (Quit: WeeChat 2.9) |
| 23:06:27 | <dolio> | dminuoso: Arrows are monoids with respect to profunctor composition (plus an extra thing). |
| 23:06:46 | <dminuoso> | dolio: Arrow is the one abstraction I've never really understood. :) |
| 23:06:47 | × | leungbk quits (~user@2605:e000:1315:706:1e77:a69f:2d77:7de4) (Ping timeout: 240 seconds) |
| 23:06:57 | <dolio> | https://homepages.inf.ed.ac.uk/cheunen/publications/2006/arrows/arrows.pdf |
| 23:06:58 | <maralorn> | So for me Functor and Aplicative feel kinda close, whereas Monads are really heavy weight. |
| 23:07:07 | <phadej> | Arrows are very ad-hoc abstraction |
| 23:07:33 | <phadej> | the `arr` doesn't fit. |
| 23:07:37 | <dminuoso> | maralorn: The relationship Im getting at, is that each Monad induces a trivial Applicative instance, rather than "Applicative being a sort of precursor to Monad" |
| 23:08:44 | <dminuoso> | dolio: Cheers! A very brief skim suggests this should be readable with my expertise. Ill crunch that on the weekend |
| 23:09:33 | <maralorn> | dminuoso: I am not sure I understand. Each Monoid induces a trivial Semigroup instance sounds to me nearly equivalent to "Semigroup being a sort of precursor to Monoid" |
| 23:09:46 | → | siloxid joins (~user@unaffiliated/siloxid) |
| 23:09:58 | <phadej> | maralorn: not true. |
| 23:10:02 | <dolio> | It won't make arrows any more relevant, but it's an amusing fact. |
| 23:10:08 | <phadej> | Monoid is "Semigroup + unit" |
| 23:10:19 | <phadej> | but (<*>) and (>>=) are very different |
| 23:10:43 | × | Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Ping timeout: 260 seconds) |
| 23:10:46 | <phadej> | or liftA2 (,) and join -- if you look for more "categorical" members |
| 23:10:49 | <maralorn> | Ah, okay. |
| 23:11:07 | <monochrom> | What is "precursor"? Does it carry a historical view, or is it simply logical subsumption? |
| 23:11:34 | <monochrom> | or something a bit different from both? |
| 23:11:54 | <maralorn> | You are saying we could give a different applicative instance for a Monad, but having another semigroup for a monoid would just violate the definition. |
| 23:12:04 | <dminuoso> | monochrom: Just a handwaving term |
| 23:12:11 | <phadej> | maralorn: in Haskell no |
| 23:12:43 | × | revprez_1nzio quits (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net) (Ping timeout: 260 seconds) |
| 23:12:57 | → | redmynk joins (~redmynk@2804:1b2:180:5c13:a8b7:4418:5b7e:8baa) |
| 23:13:23 | <maralorn> | phadej: Because of the choosen hierarchy and the laws to combine them? |
| 23:13:24 | <dolio> | But there are other semigroup structures on various monoids. They're just not the one used in the monoid. |
| 23:13:27 | <phadej> | but I think that in some category there could be Applicative-like things and Monad-like things for some functor, which aren't compatible |
| 23:13:31 | → | revprez_anzio joins (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net) |
| 23:14:00 | <phadej> | dolio: monoid is (carrier set, <>, mempty) |
| 23:14:14 | <dminuoso> | maralorn: What Im about to say requires some long thinking and building up intuition to make real sense, so take this with a grain of salt and not too literally. |
| 23:14:14 | <dolio> | I know what a monoid is. |
| 23:15:24 | <phadej> | there are different applicative strucures for `f` in Haskell too, ZipList and ordinary [] instance |
| 23:15:44 | <dminuoso> | maralorn: Monad is somehow about `sequencing` (and I mean this more abstract than just effects). Applicative otoh is rather a diamond that branches in parallel and joins again. |
| 23:15:45 | <phadej> | but having them different won't be very good idea |
| 23:16:15 | <phadej> | i.e. if Applicative weren't superclass of Monad, and Applicative [] were ZipList like |
| 23:16:26 | <maralorn> | I have to say in the last few weeks I kinda got the impression, that having a monoid class was a mistake. I have observed multiple occasions where people assumed the wrong of multiple possible monoid instances for some type and got subtle bugs because of that. |
| 23:16:44 | <dminuoso> | maralorn: The fact that Applicative usually carries "sequencing semantics" arises from the fact that the superclass constraint demands the Applicative instance and Monad instance be coherent. So as long as we have a Monad instance, the Applicative diamond is a sort of "go left side, and *then* to right side, and *then* join together" |
| 23:17:09 | <dminuoso> | These coherence rules exist for good reasons, but they do lead to Applicative looking too much like Monad most of the time. |
| 23:17:18 | <dolio> | No, Applicative is about sequencing, because it's not commutative. |
| 23:19:40 | <dminuoso> | dolio: Can you elaborate? |
| 23:19:50 | <phadej> | it can be commutative though :) |
| 23:20:19 | <maralorn> | e.g. (<>) :: (a -> a) -> (a -> a) |
| 23:20:39 | <phadej> | f <*> x can be (&) <$> x <*> f |
| 23:21:33 | <dolio> | Monads can be commutative. |
| 23:21:59 | <phadej> | you cannot really do `k` "first" in `m >>= k` |
| 23:22:05 | <phadej> | there is dependency |
| 23:22:14 | <phadej> | and I think that's what is dminuoso is after |
| 23:22:27 | <phadej> | being too pedantic doens't help |
| 23:22:59 | <dminuoso> | As a particular example, Haxl is a real-world example of how Applicatives let you explore parallel code. |
| 23:24:12 | <dolio> | It is an over-generalization to say that Applicative is "about" the use case of haxl. |
| 23:24:31 | <phadej> | I don't think it's too far fetched |
| 23:24:42 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 23:24:55 | <phadej> | most intersting Applicative usages are exploiting the interspectability of Applicative computations |
| 23:24:58 | × | nineonine quits (~nineonine@216.81.48.202) (Remote host closed the connection) |
| 23:25:11 | <phadej> | haxl is very aggressive, so in a sense a good example |
| 23:25:27 | <phadej> | optparse-applicative is another one, less controversial maybe |
| 23:26:07 | <dminuoso> | Overall, Applicative seems very underused. Mostly, we just use the convenient interface of `ap` but with Monad semantics. |
| 23:26:34 | <dminuoso> | At least for non-library writers. |
| 23:27:22 | <phadej> | there aren't many non-Monad Applicatives |
| 23:27:28 | <dminuoso> | It's pretty much that coherence law I referenced earlier that mostly puts Applicative into the shadows |
| 23:27:30 | → | leungbk joins (~user@cpe-104-33-52-83.socal.res.rr.com) |
| 23:27:36 | <maralorn> | There should be a significant difference between applicative parsers and monodal parsers, right? |
| 23:27:57 | <maralorn> | An applicative parser might be much better optimizable? |
| 23:27:58 | × | leungbk quits (~user@cpe-104-33-52-83.socal.res.rr.com) (Remote host closed the connection) |
| 23:28:06 | <phadej> | maralorn: Applicative parsers is regex-applicative |
| 23:28:10 | <dolio> | Anyhow, the commutative point is that Applicative allows for things where `f <*> x` is not the same as `x <**> f` (assuming I got that right). This means that there is a well-defined sequence that the operations have been combined in, even if the semantics decide that is irrelevant. |
| 23:28:13 | <dminuoso> | maralorn: Better yet, parsers based on selective functors! |
| 23:28:27 | <dminuoso> | (selective functors are a breed between monadic and applicative) |
| 23:28:43 | <dminuoso> | With selective parsers, you get static analyzability but dynamic choices of subsequent effects. :) |
| 23:29:02 | <phadej> | with observable equality (to recognise recursion) you get CFG (check Earley) |
| 23:29:05 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 23:30:25 | × | frdg quits (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) (Remote host closed the connection) |
| 23:30:42 | <dminuoso> | If I can convince my employer to spend a few weeks, I'd love to make a optparse-selective. |
| 23:32:31 | <dminuoso> | dolio: I see, well, I'd rather consider that a case of "associativity" than "sequencing" in some abtract sense. |
| 23:32:44 | <dolio> | I'm not even sure the characterization makes sense with Haxl, because the 'join' part is monad, right? |
| 23:33:01 | <phadej> | dminuoso: what would you need selective power for there? |
| 23:33:12 | <dolio> | Sequences are the primordial associative structure. |
| 23:33:39 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 23:33:55 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 23:33:55 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 23:33:55 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 23:34:27 | <dolio> | Anyhow, I could maybe agree that Applicative is about sequences of things, and Monad is about nested things, and what Haxl does is take advantage that you can parallelize sequences of things. |
| 23:34:43 | <dminuoso> | phadej: Oh just parsing differently depending on previous flags. Nothing too fancy really |
| 23:34:54 | → | vicfred joins (~vicfred@unaffiliated/vicfred) |
| 23:34:58 | → | frdg joins (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) |
| 23:35:14 | <dminuoso> | It was mostly just "would be nice to have this" cases. |
| 23:36:00 | × | acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 272 seconds) |
| 23:36:44 | → | jedws joins (~jedws@121.209.161.98) |
| 23:37:07 | <dminuoso> | dolio: At the end this has become a discussion about what particular intutions/mind models we have adapted. My mind model is based on thinking of `Day` and (:.:), or (<*>) and (>>=). One comes with a sequencing of effects, data dependencies, the other does not. |
| 23:37:21 | <maralorn> | Is there an applicative or selective parsing library? |
| 23:37:36 | <dminuoso> | maralorn: optparse-applicative is an applicative option parsing library |
| 23:37:44 | <dminuoso> | https://github.com/J-mie6/ParsleyHaskell |
| 23:38:14 | <dminuoso> | Is an example of a selective parser combinator library that analyzes and optimizes your parser in TH. |
| 23:38:18 | × | ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Quit: ->) |
| 23:38:53 | → | acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) |
| 23:39:08 | <maralorn> | I think you can‘t have a lift instance for monadic parsers, is that right? |
| 23:40:32 | <maralorn> | Wait that repo has no README and is not on hackage? :-( |
| 23:40:39 | <dminuoso> | dolio: So what you mentioned about non-commutative applicatives, I realized my mistake. So I'd say you still have conceptual parallel branching, but the combination of results has some sequencing yes. |
| 23:40:40 | × | conal_ quits (~conal@66.115.157.46) (Quit: Computer has gone to sleep.) |
| 23:40:55 | <dminuoso> | But based on that, I would not go as far as saying that "sequencing is the defining characteristic of applicative" |
| 23:41:30 | <dminuoso> | Consider: |
| 23:41:54 | <dolio> | The whole difference between `f <*> x` and `x <**> f` in a non-commutative Applicative is that it won't in general be combining the same 'results'. |
| 23:41:55 | <dminuoso> | We could think of Applicative as being desribed by `f a -> f b -> f (a, b)` as its signature method |
| 23:42:12 | <dminuoso> | So yeah, there's a clear ordering in the tuple, but the core essence lies in what happens with the `f` |
| 23:42:18 | <ghoulguy> | If we wanted to speculate on the defining characteristic we could start by staring at the free structure: http://hackage.haskell.org/package/free-5.1.4/docs/Control-Applicative-Free.html#t:Ap |
| 23:42:56 | <dminuoso> | So `f a -> f b -> f (a, b)` suggests potential branching as opposed to linear data dependencies. static effects as opposed to dynamic effects. |
| 23:43:02 | <ghoulguy> | it's a sequence of primitives |
| 23:43:10 | <ghoulguy> | the branching doesn't matter because of the associative-like law |
| 23:43:37 | <ghoulguy> | I'm late to to the party so you might already be past that |
| 23:44:32 | <ghoulguy> | it's an ordered sequence of some primitives combined with a pure function to make all the type-indexes match up |
| 23:44:45 | × | xff0x quits (~fox@2001:1a81:53a8:5900:4dd1:b846:131b:3964) (Ping timeout: 272 seconds) |
| 23:45:15 | → | xff0x joins (~fox@2001:1a81:53a8:5900:18dc:5fd3:ab0c:ba1c) |
| 23:45:24 | <dminuoso> | sure, that's just paraphrasing what dolio just said though with more elaborate terms. :) |
| 23:45:25 | × | proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection) |
| 23:45:33 | <ghoulguy> | oh, maybe that means dolio is right! |
| 23:45:56 | × | MVQq quits (~anja@198.254.202.72) (Quit: q) |
| 23:46:09 | <dminuoso> | Well, you are still free to interpret these in parallel |
| 23:46:24 | <dminuoso> | Or you could interpret the right first, then the left.. |
| 23:46:30 | → | MarcelineVQ joins (~anja@198.254.202.72) |
| 23:46:39 | <dminuoso> | There's nothing about it that forces you into an effect order |
| 23:46:56 | <dminuoso> | Yes, at the end you have a particular ordering in which you combine the results again |
| 23:47:12 | <dminuoso> | Ap could have also been defined as |
| 23:47:16 | <dolio> | If Applicatives are 'about' parallelism, why are there so many examples where you can't do them in parallel, because the order matters? |
| 23:47:25 | <dminuoso> | Ap :: f a -> Ap f b -> Ap f (a, b) |
| 23:47:35 | <ghoulguy> | Some applicatives allow you to work in parallel, but that's not inherent to applicatives |
| 23:47:47 | <dminuoso> | dolio: Because most of the time you have a Monad instance, and then the coherence laws matter. |
| 23:47:50 | <dolio> | Shouldn't those be illegal? |
| 23:48:01 | <dminuoso> | And it's the coherence laws that force the Applicative to have the Monad semantics. |
| 23:48:14 | <dminuoso> | And the monad itself is inherently sequenced because of that data dependency in (>>=) |
| 23:48:42 | <dminuoso> | dolio: That's a bit more extreme than what I suggested, but yeah, that's the crux of it! |
| 23:48:57 | <dminuoso> | They are just trivial instances induced by the monad |
| 23:48:59 | <dolio> | What's the proof that there area no non-monad Applicatives where ordering matters? |
| 23:49:38 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 23:49:45 | <dminuoso> | Look, I think you're taking this a bit too exact. |
| 23:50:02 | <dminuoso> | % :t (<*>) |
| 23:50:03 | <yahb> | dminuoso: Applicative f => f (a -> b) -> f a -> f b |
| 23:50:31 | <dminuoso> | This f has no sequencing built into its type |
| 23:50:46 | <dminuoso> | And if we stare at Day we see this deeper again |
| 23:50:49 | <c_wraith> | There are monads where the order doesn't matter outside of the data dependency. Maybe, for instance. |
| 23:50:51 | <dolio> | I think I used one recently, actually. It was basically state composed with writer. |
| 23:50:51 | <dminuoso> | % data Day f g a where Day :: f x -> g y -> (x -> y -> a) -> Day f g a |
| 23:50:52 | <yahb> | dminuoso: |
| 23:50:58 | <ghoulguy> | Monad doesn't even enforce an "effect order" which is how we get the reverse state examples |
| 23:51:05 | <dminuoso> | ghoulguy: Of course they do! |
| 23:51:07 | <dminuoso> | % :t (>>=) |
| 23:51:07 | <yahb> | dminuoso: Monad m => m a -> (a -> m b) -> m b |
| 23:51:13 | <dminuoso> | It's buried right into the type here. |
| 23:51:28 | <dolio> | Also the one people use that collects multiple error messages. |
| 23:51:29 | <dminuoso> | You cant run `m b` without having an `a` to begin with |
| 23:51:29 | <c_wraith> | Reader and Identity for the trivial examples |
| 23:51:45 | <c_wraith> | dminuoso: Proxy? |
| 23:51:54 | <ghoulguy> | dminuoso: who said I had to "run" m a to get an a? |
| 23:52:07 | <ghoulguy> | It's my m |
| 23:52:33 | <dolio> | There were people a while back talking about a sub-monad of IO that could have its operations re-ordered, too. |
| 23:52:49 | <dolio> | ACIO or something. |
| 23:53:05 | <c_wraith> | > undefined >>= undefined :: Proxy () |
| 23:53:08 | <lambdabot> | Proxy |
| 23:53:09 | → | g-belmonte joins (~g-belmont@2804:14c:8786:9312:3638:eaf5:dc36:146d) |
| 23:53:35 | <ghoulguy> | dminuoso: I think you're making too much out of the data dependency suggested by the type of (>>=) and the lack of that same obvious data dependency in (<*>) |
| 23:53:37 | <c_wraith> | no values of a, b, Proxy a, or Proxy b |
| 23:53:47 | <c_wraith> | (as inputs, anyway) |
| 23:53:57 | <dminuoso> | ghoulguy: Let's take another approach then. |
| 23:54:10 | <dminuoso> | Can we agree that the signature method of Monad is `m :.: m ~> m` ? |
| 23:54:27 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:1c60:69e9:f30b:d7e8) (Ping timeout: 260 seconds) |
| 23:54:31 | <dminuoso> | And equivalently the signature method of Applicative is: m `Day` m ~> m ? |
| 23:54:50 | <dminuoso> | (Perhaps I shouldnt have used backticks in the first example, that seems mildly confusing) |
| 23:55:21 | <maralorn> | :t Day |
| 23:55:23 | <lambdabot> | error: Data constructor not in scope: Day |
| 23:55:28 | <dminuoso> | % data Day f g a where Day :: f x -> g y -> (x -> y -> a) -> Day f g a |
| 23:55:28 | <yahb> | dminuoso: |
| 23:55:33 | <maralorn> | % :t Day |
| 23:55:34 | <yahb> | maralorn: f x -> g y -> (x -> y -> a) -> Day f g a |
| 23:56:07 | <maralorn> | Why is it called Day? |
| 23:56:28 | <dminuoso> | maralorn: It's named after Brian Day who introduced the day convolution. |
| 23:56:45 | <maralorn> | huh |
| 23:56:47 | × | falafel quits (~falafel@2605:e000:1527:d491:1ccf:5c8d:7928:e9cc) (Ping timeout: 260 seconds) |
| 23:57:58 | <dminuoso> | ghoulguy: The abstract, handwaving, sequencing (of effects) semantics are buried into (:.:). If we think of functors as effects in Haskell, the (associative) composition of two functors is almost literally the sequencing of two effects. |
| 23:58:01 | → | conal joins (~conal@66.115.157.46) |
| 23:59:39 | <dolio> | You know, GHC does not guarantee that IORef reads/writes appear to happen in a certain order, or even a possible interleaving of orders. |
| 23:59:44 | <dolio> | I made a model of it in Agda. |
All times are in UTC on 2020-10-08.