Home freenode/#haskell: Logs Calendar

Logs on 2021-01-17 (freenode/#haskell)

00:01:00 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 246 seconds)
00:04:45 × m0rphism quits (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) (Ping timeout: 240 seconds)
00:05:24 HarveyPwca joins (~HarveyPwc@2601:246:c180:a570:29df:3b00:ad0e:3a06)
00:06:21 × conal quits (~conal@172.93.146.171) (Quit: Computer has gone to sleep.)
00:06:41 nbloomf joins (~nbloomf@2600:1700:ad14:3020:194c:6210:349e:a14)
00:06:56 machinedgod joins (~machinedg@24.105.81.50)
00:07:53 threestrikes joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
00:08:49 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 265 seconds)
00:08:53 <threestrikes> what's the prefered library to manipulate directories
00:12:23 × adeene quits (~adeene@181.131.0.191) (Read error: Connection reset by peer)
00:15:24 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
00:15:30 × tsrt^ quits (~hph@ip98-184-89-2.mc.at.cox.net) ()
00:15:45 × BaneAliens quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
00:16:10 BaneAliens joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
00:16:28 <threestrikes> \help
00:16:31 <threestrikes> lol
00:16:33 <threestrikes> sorry
00:16:43 polyrain joins (~polyrain@121.222.65.83)
00:16:54 × threestrikes quits (~haskell@cpe-24-243-229-2.hot.res.rr.com) (Quit: WeeChat 2.9)
00:17:08 threestrikes joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
00:17:48 <threestrikes> :1
00:18:06 <threestrikes> /
00:18:41 × polyrain quits (~polyrain@121.222.65.83) (Client Quit)
00:20:48 × LKoen quits (~LKoen@119.169.9.109.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
00:20:56 threestrikes parts (~haskell@cpe-24-243-229-2.hot.res.rr.com) ()
00:23:03 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
00:24:26 × tomku quits (~tomku@unaffiliated/tomku) (Quit: Lost terminal)
00:25:18 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
00:25:41 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
00:25:52 tomku joins (~tomku@unaffiliated/tomku)
00:26:54 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
00:27:54 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 256 seconds)
00:28:30 Jd007 joins (~Jd007@162.156.11.151)
00:29:05 × arybczak quits (~unknown@2a02:a312:c83d:7800:bb7f:5c00:4f48:cc5c) (Quit: Konversation terminated!)
00:29:16 xiinotulp joins (~q@node-uk8.pool-125-24.dynamic.totinternet.net)
00:30:03 threestrikes joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
00:30:44 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 256 seconds)
00:31:09 × tomku quits (~tomku@unaffiliated/tomku) (Ping timeout: 260 seconds)
00:31:27 tomku joins (~tomku@unaffiliated/tomku)
00:31:48 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
00:32:08 <monochrom> package name "directory", module name System.Directory. Comes with GHC.
00:32:43 superstar64 joins (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net)
00:32:54 × plutoniix quits (~q@node-unf.pool-125-24.dynamic.totinternet.net) (Ping timeout: 260 seconds)
00:32:56 jamm joins (~jamm@unaffiliated/jamm)
00:36:51 × DavidEichmann quits (~david@234.109.45.217.dyn.plus.net) (Remote host closed the connection)
00:37:56 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
00:44:24 brisbin joins (~patrick@pool-173-49-158-4.phlapa.fios.verizon.net)
00:44:25 PhysiPysi joins (~PhysiPysi@217.27.130.32)
00:48:35 <vst> Not necessarily "preferred" but if you are using `path` library, you may wish to check `path-io` library: https://hackage.haskell.org/package/path-io
00:51:38 tff^ joins (~hph@ip98-184-89-2.mc.at.cox.net)
00:51:53 xcmw joins (~textual@2603-6011-2200-f103-58d2-afd7-13ca-553f.res6.spectrum.com)
00:53:58 Wuzzy joins (~Wuzzy@p5790ea1f.dip0.t-ipconnect.de)
00:54:06 × jamm quits (~jamm@unaffiliated/jamm) (Remote host closed the connection)
00:56:40 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
01:02:08 × Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.)
01:03:07 <DigitalKiwi> Consult Haddocks for usage, which should be trivial. <-- well now i know it's hard :(
01:03:49 × mctpyt quits (~mctpyt@190.192.51.111) (Ping timeout: 260 seconds)
01:04:21 Kaiepi joins (~Kaiepi@47.54.252.148)
01:04:24 × Kaeipi quits (~Kaiepi@47.54.252.148) (Ping timeout: 265 seconds)
01:05:40 mctpyt joins (~mctpyt@190.192.51.111)
01:07:20 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:07:26 da39a3ee5e6b4b0d joins (~da39a3ee5@2403:6200:8876:3a8e:d956:f43e:d9a3:9155)
01:08:12 × BosonCollider quits (~olofs@90-227-86-119-no542.tbcn.telia.com) (Ping timeout: 272 seconds)
01:08:54 conal joins (~conal@66.115.157.31)
01:10:49 prlCIql6ruclcri joins (~f9jawUfat@2800:810:514:e7:4bb:7908:1ead:3448)
01:12:53 × mctpyt quits (~mctpyt@190.192.51.111) (Quit: WeeChat 3.0)
01:17:39 minimario joins (2fe3e53b@047-227-229-059.res.spectrum.com)
01:18:52 slack1256 joins (~slack1256@dvc-186-186-101-190.movil.vtr.net)
01:19:30 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
01:19:53 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 256 seconds)
01:20:27 × columbarius1 quits (~columbari@muedsl-82-207-236-129.citykom.de) (Ping timeout: 246 seconds)
01:20:40 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
01:22:37 columbarius1 joins (~columbari@mue-88-130-54-120.dsl.tropolys.de)
01:25:00 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 246 seconds)
01:27:01 × xcmw quits (~textual@2603-6011-2200-f103-58d2-afd7-13ca-553f.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:28:07 mctpyt joins (~mctpyt@unaffiliated/mctpyt)
01:28:28 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
01:32:32 <minimario> is there any way to unregister a package in my .cabal directory with "ghc-pkg unregister"? when i ghc-pkg list it, it's not showing up
01:33:59 × xiinotulp quits (~q@node-uk8.pool-125-24.dynamic.totinternet.net) (Quit: Leaving)
01:36:17 BosonCollider joins (~olofs@90-227-86-119-no542.tbcn.telia.com)
01:38:19 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
01:38:49 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net)
01:40:45 Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net)
01:41:25 <sm[m]> minimario: try cabal exec -- ghc-pkg list, etc
01:41:37 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
01:42:18 <minimario> sm[m] do i need a .cabal file for that
01:42:45 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
01:43:28 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 260 seconds)
01:43:31 <sm[m]> uh yes, if you're not in a cabal project you don't need that
01:43:57 <minimario> i cabal installed something and i'm trying to remove it :P
01:44:14 <minimario> and i have no idea how to properly do this
01:44:48 <minimario> apparantly i'm supposed to use ghc-pkg unregister, but ghc-pkg can't find my package
01:45:43 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
01:46:28 × kupi quits (uid212005@gateway/web/irccloud.com/x-rcpdjhlifilityqt) (Quit: Connection closed for inactivity)
01:47:18 <dolio> If ghc-pkg can't find it, then there's nothing to unregister, presumably.
01:47:31 <sm[m]> sorry.. cabal has a few different modes and places it keeps packages, depending on version and flags
01:48:10 <sm[m]> oh yeah, and packages containing only executables are never listed
01:48:29 × vst quits (~vst@2406:3003:2004:2e8a:88e0:d:26a8:735e) (Remote host closed the connection)
01:48:43 <minimario> i see the package in my .cabal though
01:49:02 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
01:50:13 <minimario> if i just remove it from my .cabal/bin would that work
01:50:16 <minimario> as in rm -rf it
01:50:40 <dolio> `ghc-pkg unregister` would just remove it from a database keeping track of where that package is. It wouldn't remove the files that got installed from your disk.
01:50:42 vst joins (~vst@2406:3003:2004:2e8a:88e0:d:26a8:735e)
01:51:05 <dolio> (And other information besides just where it is.)
01:51:39 <dolio> The reason to unregister it before deleting the files is so that GHC doesn't think it still has access to that package.
01:53:57 × dan64- quits (~dan64@dannyadam.com) (Quit: ZNC - http://znc.in)
01:53:59 × revprez_anzio quits (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net) (Ping timeout: 260 seconds)
01:54:41 revprez_anzio joins (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net)
01:55:08 <sm[m]> To remove executables, yes you can rm those from ~/.cabal/bin
01:55:28 × mouseghost quits (~draco@wikipedia/desperek) (Quit: mew wew)
01:55:44 × Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Ping timeout: 256 seconds)
01:57:33 × mctpyt quits (~mctpyt@unaffiliated/mctpyt) (Ping timeout: 246 seconds)
01:58:29 × minimario quits (2fe3e53b@047-227-229-059.res.spectrum.com) (Quit: Connection closed)
01:59:53 mctpyt joins (~mctpyt@unaffiliated/mctpyt)
02:08:31 vicfred joins (~vicfred@unaffiliated/vicfred)
02:11:10 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:11:36 × brisbin quits (~patrick@pool-173-49-158-4.phlapa.fios.verizon.net) (Ping timeout: 256 seconds)
02:13:10 Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net)
02:14:33 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
02:16:32 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
02:18:30 × Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Ping timeout: 272 seconds)
02:19:32 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 256 seconds)
02:22:10 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
02:22:24 Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net)
02:24:16 × ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Quit: ->)
02:25:34 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
02:26:18 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
02:28:13 × BaneAliens quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
02:28:37 BaneAliens joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
02:30:02 × xff0x quits (~xff0x@2001:1a81:52fe:9d00:ad11:362b:2ade:56c2) (Ping timeout: 264 seconds)
02:30:18 × slack1256 quits (~slack1256@dvc-186-186-101-190.movil.vtr.net) (Remote host closed the connection)
02:30:29 minimario joins (2fe3e53b@047-227-229-059.res.spectrum.com)
02:30:49 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 264 seconds)
02:31:58 xff0x joins (~xff0x@2001:1a81:5336:d000:3eab:bcec:ac10:46f6)
02:36:12 xcmw joins (~textual@2603-6011-2200-f103-58d2-afd7-13ca-553f.res6.spectrum.com)
02:37:07 × xcmw quits (~textual@2603-6011-2200-f103-58d2-afd7-13ca-553f.res6.spectrum.com) (Client Quit)
02:37:46 christo joins (~chris@81.96.113.213)
02:38:45 × vicfred quits (~vicfred@unaffiliated/vicfred) (Remote host closed the connection)
02:40:02 × perrier-jouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.0)
02:41:26 vicfred joins (~vicfred@unaffiliated/vicfred)
02:41:45 × vicfred quits (~vicfred@unaffiliated/vicfred) (Remote host closed the connection)
02:42:36 × christo quits (~chris@81.96.113.213) (Ping timeout: 256 seconds)
02:42:47 ADG1089_ joins (~adg1089@122.163.165.143)
02:44:11 × minimario quits (2fe3e53b@047-227-229-059.res.spectrum.com) (Quit: Connection closed)
02:45:06 shatriff joins (~vitaliish@176-52-216-242.irishtelecom.com)
02:45:06 × ADG1089_ quits (~adg1089@122.163.165.143) (Read error: Connection reset by peer)
02:46:28 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:50:27 × Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Read error: Connection reset by peer)
02:53:01 × shatriff quits (~vitaliish@176-52-216-242.irishtelecom.com) (Ping timeout: 264 seconds)
02:53:07 × superstar64 quits (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net) (Quit: Connection closed)
02:53:59 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
02:54:29 pavonia joins (~user@unaffiliated/siracusa)
02:54:38 jamm joins (~jamm@unaffiliated/jamm)
02:56:33 shatriff joins (~vitaliish@176-52-216-242.irishtelecom.com)
02:57:46 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
02:57:50 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Remote host closed the connection)
02:57:54 ADG1089__ joins (~aditya@122.163.165.143)
02:58:10 CMCDragonkai1 joins (~Thunderbi@124.19.3.250)
02:58:21 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
02:59:17 × jamm quits (~jamm@unaffiliated/jamm) (Ping timeout: 260 seconds)
02:59:29 wei2912 joins (~wei2912@unaffiliated/wei2912)
03:00:24 × conal quits (~conal@66.115.157.31) (Quit: Computer has gone to sleep.)
03:03:13 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Ping timeout: 264 seconds)
03:05:35 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
03:07:54 × Moyst_ quits (~moyst@212-149-213-144.bb.dnainternet.fi) (Ping timeout: 246 seconds)
03:08:48 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
03:13:22 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 256 seconds)
03:17:38 iridescent joins (2fe3e53b@047-227-229-059.res.spectrum.com)
03:17:47 iridescent parts (2fe3e53b@047-227-229-059.res.spectrum.com) ()
03:18:21 × Ariakenom quits (~Ariakenom@2001:9b1:efb:fc00:34ff:5936:6927:ced3) (Read error: Connection reset by peer)
03:20:09 elliott__ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
03:20:34 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
03:27:39 threestrikes_ joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
03:28:22 Kaeipi joins (~Kaiepi@47.54.252.148)
03:28:31 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
03:29:40 × HarveyPwca quits (~HarveyPwc@2601:246:c180:a570:29df:3b00:ad0e:3a06) (Quit: Leaving)
03:30:14 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
03:30:21 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
03:30:22 × wei2912 quits (~wei2912@unaffiliated/wei2912) (Ping timeout: 256 seconds)
03:30:22 × threestrikes quits (~haskell@cpe-24-243-229-2.hot.res.rr.com) (Ping timeout: 256 seconds)
03:30:22 × reda quits (~reda@unaffiliated/reda) (Ping timeout: 256 seconds)
03:30:22 × jkarni quits (~jkarni@116.203.146.226) (Ping timeout: 256 seconds)
03:30:29 reda joins (~reda@4.ip-137-74-112.eu)
03:30:29 sgibber2018 joins (d055ed90@208.85.237.144)
03:30:38 wei2912 joins (~wei2912@unaffiliated/wei2912)
03:30:51 jkarni joins (~jkarni@116.203.146.226)
03:30:52 reda is now known as Guest39046
03:30:56 × CMCDragonkai1 quits (~Thunderbi@124.19.3.250) (Ping timeout: 256 seconds)
03:30:56 × BaneAliens quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Ping timeout: 256 seconds)
03:30:56 × Foritus quits (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net) (Ping timeout: 256 seconds)
03:30:56 × Kaiepi quits (~Kaiepi@47.54.252.148) (Ping timeout: 256 seconds)
03:30:56 × kipras`away quits (~kipras@92.61.39.34) (Ping timeout: 256 seconds)
03:31:04 kipras`away joins (~kipras@re199n846.sritis.lt)
03:31:14 Foritus joins (~buggery@cpc91316-watf11-2-0-cust68.15-2.cable.virginm.net)
03:31:20 × threestrikes_ quits (~haskell@cpe-24-243-229-2.hot.res.rr.com) (Client Quit)
03:31:38 threestrikes joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
03:31:51 × threestrikes quits (~haskell@cpe-24-243-229-2.hot.res.rr.com) (Client Quit)
03:34:20 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Ping timeout: 256 seconds)
03:41:01 × theDon quits (~td@muedsl-82-207-238-004.citykom.de) (Ping timeout: 264 seconds)
03:42:38 theDon joins (~td@94.134.91.203)
03:43:03 × shatriff quits (~vitaliish@176-52-216-242.irishtelecom.com) (Remote host closed the connection)
03:43:37 shatriff joins (~vitaliish@176-52-216-242.irishtelecom.com)
03:46:45 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Quit: birdd)
03:47:03 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:48:01 ph88 joins (~ph88@2a02:8109:9e00:7e5c:edab:a6c4:60f2:9240)
03:49:40 adharsh joins (~adharsh@117.216.168.127)
03:51:26 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
03:52:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
03:54:10 xirhtogal joins (~lagothrix@unaffiliated/lagothrix)
03:54:10 lagothrix is now known as Guest35254
03:54:10 × Guest35254 quits (~lagothrix@unaffiliated/lagothrix) (Killed (orwell.freenode.net (Nickname regained by services)))
03:54:10 xirhtogal is now known as lagothrix
04:00:02 × alexelcu quits (~alexelcu@142.93.180.198) (Quit: ZNC 1.8.2 - https://znc.in)
04:00:08 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Quit: birdd)
04:00:59 alexelcu joins (~alexelcu@142.93.180.198)
04:01:13 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:194c:6210:349e:a14) (Remote host closed the connection)
04:03:01 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
04:03:03 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
04:03:36 jpds joins (~jpds@gateway/tor-sasl/jpds)
04:04:59 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Remote host closed the connection)
04:05:53 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
04:06:16 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
04:07:33 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 256 seconds)
04:07:49 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
04:08:02 × jfe quits (~user@pool-71-184-149-134.bstnma.fios.verizon.net) (Quit: ERC (IRC client for Emacs 27.1))
04:09:06 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
04:09:33 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
04:12:43 × kini quits (~kini@unaffiliated/kini) (Remote host closed the connection)
04:14:00 kini joins (~kini@unaffiliated/kini)
04:17:27 × quinn quits (~quinn@c-73-223-224-163.hsd1.ca.comcast.net) (Quit: ZNC 1.8.1 - https://znc.in)
04:19:04 nphard joins (3aa56852@58.165.104.82)
04:20:13 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
04:20:50 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
04:21:12 × stree quits (~stree@50-108-70-224.adr01.mskg.mi.frontiernet.net) (Quit: Caught exception)
04:21:30 stree joins (~stree@50-108-70-224.adr01.mskg.mi.frontiernet.net)
04:23:12 quinn joins (~quinn@c-73-223-224-163.hsd1.ca.comcast.net)
04:24:34 × zaquest quits (~notzaques@5.128.210.178) (Remote host closed the connection)
04:25:15 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 246 seconds)
04:25:36 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:28:40 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
04:30:25 × wei2912 quits (~wei2912@unaffiliated/wei2912) (Remote host closed the connection)
04:30:55 wei2912 joins (~wei2912@unaffiliated/wei2912)
04:30:56 × wei2912 quits (~wei2912@unaffiliated/wei2912) (Remote host closed the connection)
04:32:00 × adharsh quits (~adharsh@117.216.168.127) (Quit: adharsh)
04:33:59 wei2912 joins (~wei2912@unaffiliated/wei2912)
04:38:30 dan64 joins (~dan64@dannyadam.com)
04:42:40 × ystael quits (~ystael@209.6.50.55) (Ping timeout: 256 seconds)
04:44:33 threestrikes joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
04:44:39 × mirrorbird quits (~psutcliff@2a00:801:446:b70b:607:9995:9930:4d27) (Quit: Leaving)
04:45:23 adharsh joins (~adharsh@117.216.168.127)
04:46:47 × hidedagger quits (~nate@unaffiliated/hidedagger) (Quit: WeeChat 3.0)
04:47:45 <threestrikes> in the haskell book in the lamda section. How would I say
04:47:51 <threestrikes> \x.x?
04:48:01 <threestrikes> is it lamda x dot x?
04:48:04 <glguy> in Haskell? \x -> x
04:48:12 <glguy> Or are you asking how to pronounce it?
04:48:17 <threestrikes> Yes :)
04:48:26 <threestrikes> How to pronounce it.
04:51:35 <glguy> I don't know if there's a right answer, but what you write is how I would say it
04:53:24 <threestrikes> Ok
04:54:58 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
04:57:01 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
04:57:13 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
04:57:33 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
04:58:34 × zebrag quits (~inkbottle@aaubervilliers-654-1-109-134.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
05:00:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
05:01:18 conal joins (~conal@198.8.81.77)
05:01:43 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 246 seconds)
05:02:21 × Tene quits (~tene@poipu/supporter/slacker/tene) (Ping timeout: 246 seconds)
05:02:32 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 272 seconds)
05:02:56 × ByronJohnson quits (~bairyn@unaffiliated/bob0) (Ping timeout: 240 seconds)
05:05:31 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Remote host closed the connection)
05:09:14 Tene joins (~tene@mail.digitalkingdom.org)
05:09:14 × Tene quits (~tene@mail.digitalkingdom.org) (Changing host)
05:09:14 Tene joins (~tene@poipu/supporter/slacker/tene)
05:09:48 ByronJohnson joins (~bairyn@unaffiliated/bob0)
05:10:28 × da39a3ee5e6b4b0d quits (~da39a3ee5@2403:6200:8876:3a8e:d956:f43e:d9a3:9155) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:10:53 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
05:14:25 × kini quits (~kini@unaffiliated/kini) (Remote host closed the connection)
05:15:02 <threestrikes> was just watching a lecture and it was pronounced lamda x returning x
05:15:44 kini joins (~kini@unaffiliated/kini)
05:16:19 × adharsh quits (~adharsh@117.216.168.127) (Quit: adharsh)
05:17:23 <ephemient> who writes \x.x? λx.x or \x->x I would understand...
05:26:35 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
05:27:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
05:28:57 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
05:29:23 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
05:31:04 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 256 seconds)
05:32:37 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
05:34:00 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-wdnvdmzeqlpwwcbr) ()
05:34:25 × raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
05:36:43 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Ping timeout: 246 seconds)
05:37:10 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
05:37:52 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
05:39:51 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
05:40:25 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
05:44:58 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 272 seconds)
05:47:41 <jle`> it's the typical math notation https://en.wikipedia.org/wiki/Lambda_calculus
05:48:30 zaquest joins (~notzaques@5.128.210.178)
05:48:38 × Wuzzy quits (~Wuzzy@p5790ea1f.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
05:51:15 × Marissa quits (Marissa@33.anserq.com) (Quit: Marissa)
05:51:20 × srk quits (~sorki@gateway/tor-sasl/sorki) (Remote host closed the connection)
05:51:28 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
05:51:41 srk joins (~sorki@gateway/tor-sasl/sorki)
05:53:47 Marissa joins (Marissa@33.anserq.com)
05:53:55 × elliott__ quits (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 265 seconds)
05:54:42 × Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Read error: Connection reset by peer)
05:55:40 christo joins (~chris@81.96.113.213)
05:55:58 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 246 seconds)
05:58:05 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
06:00:13 × threestrikes quits (~haskell@cpe-24-243-229-2.hot.res.rr.com) (Ping timeout: 264 seconds)
06:01:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:01:31 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
06:01:59 × berberman_ quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
06:02:33 berberman joins (~berberman@unaffiliated/berberman)
06:07:11 <jle`> ah yeah, the backslash is def odd. but i guess it's understood as the "ascii" version of lambda
06:07:47 <jle`> like how people sometimes right us for microsecond (μs)
06:08:16 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
06:08:31 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
06:10:12 rayyyy joins (~nanoz@gateway/tor-sasl/nanoz)
06:13:12 ADG1089_ joins (~adg1089@122.163.165.143)
06:14:58 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
06:16:31 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
06:16:52 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
06:17:08 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
06:17:28 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: leaving)
06:18:39 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
06:18:49 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Client Quit)
06:20:03 × ebutleriv quits (sid217783@gateway/web/irccloud.com/x-verpyznohhsayxxo) (Ping timeout: 246 seconds)
06:20:12 × jared-w quits (uid405292@gateway/web/irccloud.com/x-znflubjkxqieqjlw) (Ping timeout: 258 seconds)
06:20:26 × AndreasK quits (uid320732@gateway/web/irccloud.com/x-bidajccraqzbxuat) (Ping timeout: 264 seconds)
06:20:26 × gOOgler quits (uid125351@gateway/web/irccloud.com/x-jdvndeteehxffire) (Ping timeout: 264 seconds)
06:20:32 × d0liver quits (sid363046@gateway/web/irccloud.com/x-yxldiyijvvvoeqdg) (Ping timeout: 260 seconds)
06:20:33 × SrPx quits (sid108780@gateway/web/irccloud.com/x-ugcimtnskspafeof) (Ping timeout: 260 seconds)
06:20:55 gOOgler joins (uid125351@gateway/web/irccloud.com/x-kfwutrekvoilnxmc)
06:20:56 d0liver joins (sid363046@gateway/web/irccloud.com/x-vbakmemyhoumgknq)
06:21:33 jared-w joins (uid405292@gateway/web/irccloud.com/x-enbmdufejzohjtur)
06:21:38 AndreasK joins (uid320732@gateway/web/irccloud.com/x-veigohyuhseujixu)
06:21:42 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 272 seconds)
06:21:46 ebutleriv joins (sid217783@gateway/web/irccloud.com/x-fnjwxppdlbxyqkzv)
06:22:19 SrPx joins (sid108780@gateway/web/irccloud.com/x-jmazapunyhkbueet)
06:25:19 × BosonCollider quits (~olofs@90-227-86-119-no542.tbcn.telia.com) (Ping timeout: 256 seconds)
06:26:03 <arahael> jle`: I think the question was \ *with* the period there.
06:26:28 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
06:28:54 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
06:30:03 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
06:30:15 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Client Quit)
06:33:01 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Remote host closed the connection)
06:33:16 × jlamothe quits (~jlamothe@198.251.55.207) (Ping timeout: 240 seconds)
06:33:18 ais joins (~ais@86.100.110.212)
06:35:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
06:39:01 <ais> I'm trying to understand what are nested `do` statements doing here: https://paste.ubuntu.com/p/qrgbJZzwS5/ . This does not work if i remove the second do statements, but i only ever used nested do's in if else statements, so i don't understand what is it doing here.
06:39:49 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
06:41:02 jonathanx joins (~jonathan@h-176-109.A357.priv.bahnhof.se)
06:41:04 × jonathanx quits (~jonathan@h-176-109.A357.priv.bahnhof.se) (Client Quit)
06:45:42 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
06:47:15 × xsperry quits (~as@unaffiliated/xsperry) ()
06:48:06 <siraben> Any idea why this code: https://godbolt.org/z/7a8396 generates 80 more instructions when typeclasses are used?
06:48:37 × kini quits (~kini@unaffiliated/kini) (Remote host closed the connection)
06:49:06 × ADG1089_ quits (~adg1089@122.163.165.143) (Ping timeout: 246 seconds)
06:49:50 × nphard quits (3aa56852@58.165.104.82) (Quit: Ping timeout (120 seconds))
06:49:53 kini joins (~kini@unaffiliated/kini)
06:50:37 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 264 seconds)
06:50:51 <jle`> ais: doesn't work as in, doesn't compile?
06:51:13 <ais> it does not parse the arithmetic operation
06:51:33 <ais> "2 + 2" returns empty string, but with the nested do, it returns 4
06:51:53 <jle`> my best guess is that the do is causing things to associate differnetly
06:52:30 <jle`> without it it becomes (do t <- term; symbol "+"..return (t+e)) <|> return t
06:52:39 × Nikotiini quits (~ubuntu@ec2-52-213-118-142.eu-west-1.compute.amazonaws.com) (Ping timeout: 260 seconds)
06:52:47 <jle`> with it it becomes do t <- ter; ((do symbol "+"; ... <|> return t)
06:54:11 <ais> but how can the second do block have `t` in scope, if it's executed first?
06:55:13 Tario joins (~Tario@201.192.165.173)
06:55:52 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
06:55:52 <ais> or is laziness then playing a part
06:57:27 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
06:57:39 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
06:57:49 xsperry joins (~as@unaffiliated/xsperry)
06:58:12 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
07:01:03 Nikotiini joins (~ubuntu@ec2-52-213-118-142.eu-west-1.compute.amazonaws.com)
07:01:41 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:02:14 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 272 seconds)
07:02:52 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 272 seconds)
07:03:15 × ViCi quits (daniel@10PLM.ro) (Quit: Quit!)
07:05:21 ViCi joins (daniel@10PLM.ro)
07:07:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds)
07:07:28 dyeplexer joins (~lol@unaffiliated/terpin)
07:09:26 Saukk joins (~Saukk@83-148-239-3.dynamic.lounea.fi)
07:09:42 <jle`> ais: it's in scope since it's the next line of the do block
07:09:50 <jle`> hm, are you familiar with how do-blocks desugar?
07:10:07 <jle`> `x <- foo; bar` is sugar for `foo >>= (\x -> bar)`
07:10:10 <jle`> so the x is in scope for bar
07:13:05 <ais> a bit, but i'm not yet comfortable with it
07:16:45 × greyskull quits (~greyskull@51.194.80.91) (Ping timeout: 246 seconds)
07:17:21 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
07:20:53 <ais> all the examples with do blocks and desugaring are usually with some print operations, but since here the Parser type is a lambda where the bind operation applies functions to the inside of a lambda, i have a real hard time trying to understand how the execution is working here with these nested do's
07:23:50 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 256 seconds)
07:26:23 <jle`> it would probably help to manually parenthesize them
07:26:59 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
07:28:04 <jle`> ais: this is how i might do it https://paste.ubuntu.com/p/T8HqTsVyxz/
07:28:17 <jle`> try de-suguaring the top-level do block
07:28:25 <jle`> remember that do blocks just evaluate into single expressions
07:28:36 <jle`> so (do ...) <|> return x is just going to be <some expression> <|> return x
07:28:59 <jle`> er, lines 4 and 10 there should probably be the same thing
07:29:08 <jle`> i just left an extra line break unintentionally
07:31:03 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
07:31:43 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:496f:dbf0:f4d6:670) (Ping timeout: 260 seconds)
07:32:01 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 264 seconds)
07:33:15 ericsagnes joins (~ericsagne@2405:6580:0:5100:5c55:ae7f:aac0:425b)
07:33:22 <ais> i actually already tried to desugar a part of this program
07:33:27 <ais> and ended up with a mess
07:33:30 <ais> lol
07:33:48 <jle`> does the parentheses help?
07:34:03 <jle`> the first one becomes pretty straightforward i think, with the explicit parens
07:34:18 <jle`> it's term >>= (\t -> (do blah) <|> return t)
07:34:18 × sgibber2018 quits (d055ed90@208.85.237.144) (Quit: Connection closed)
07:34:25 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
07:34:48 <jle`> so you see that term's result is getting piped into something that could possibly fail (the do block), and if that fails, 'return t' is tried instead
07:35:01 <ais> https://paste.ubuntu.com/p/qbX2m7ZRX5/
07:35:16 <ais> here i tried to "desugar" what is happening with the "string" parser type
07:35:26 <ais> and got a bit lost
07:35:56 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
07:36:47 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
07:36:52 <jle`> hm, sounds like you're both desugaring the do notation as well as applying the definition of >>=
07:37:10 <jle`> to me, looking at it in terms of the definition of >>= doesn't help me understand things too much
07:37:17 <jle`> i like to look at each `Parser` value semantically
07:37:25 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
07:37:26 <jle`> as a unit of meaning that represents something
07:37:28 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Ping timeout: 246 seconds)
07:37:47 <jle`> so for `string (x:xs)`, you could interpret it as "parse x, then parse (string xs), and the result is (x:xs)"
07:38:40 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:38:50 <jle`> for your nested case, you could interpret it as "parse a term (call it t). then try to parse {a "+" and then an epression}...if that fails, just return t itself
07:39:50 <ais> ok, thanks, i will copy your suggestins and will try from the start
07:39:53 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
07:40:05 <ais> maybe a few attempts will clear up things for me more
07:41:14 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 256 seconds)
07:41:24 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 256 seconds)
07:42:18 Varis joins (~Tadas@unaffiliated/varis)
07:44:28 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 246 seconds)
07:44:41 <jle`> i think that's the advantage of parser combinators, to me -- the ability to think about parsers as values you can build up from meaningful primitive values
07:44:56 <jle`> how >>=/etc. works for them and how they work under the hood are an implementation detail
07:45:03 <jle`> it's still important to know, and good for learning
07:45:17 <jle`> but once you get past the basics it's maybe more useful to look at the semantic picture
07:45:52 <jle`> ie it's more easy to understand a simple math algorithm (like calculating `factorial x = product [1..x]`) once you move past the level of flipping bits with half-adders to represent addition
07:48:21 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
07:49:35 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
07:49:41 sgibber2018 joins (d055ed90@208.85.237.144)
07:50:00 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
07:54:57 philopsos joins (~caecilius@gateway/tor-sasl/caecilius)
07:57:42 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
07:58:03 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
07:59:05 × Saukk quits (~Saukk@83-148-239-3.dynamic.lounea.fi) (Remote host closed the connection)
08:03:11 evanjs- joins (~evanjs@075-129-098-007.res.spectrum.com)
08:03:22 ais_ joins (~ais@86.100.110.212)
08:03:22 × conal quits (~conal@198.8.81.77) (Ping timeout: 256 seconds)
08:03:22 × evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Ping timeout: 256 seconds)
08:03:22 × fre_ quits (~freusque@104.238.190.229) (Ping timeout: 256 seconds)
08:03:30 × Nikotiini quits (~ubuntu@ec2-52-213-118-142.eu-west-1.compute.amazonaws.com) (Ping timeout: 256 seconds)
08:03:30 × ais quits (~ais@86.100.110.212) (Ping timeout: 256 seconds)
08:03:30 × cynick quits (~worm@ec2-52-206-86-1.compute-1.amazonaws.com) (Ping timeout: 256 seconds)
08:03:30 × m1dnight1 quits (~m1dnight@188.ip-51-91-158.eu) (Ping timeout: 256 seconds)
08:03:30 × PlasmaStar quits (plasma@unaffiliated/plasmastar) (Ping timeout: 256 seconds)
08:03:30 × kosmikus quits (~kosmikus@haskell/developer/kosmikus) (Ping timeout: 256 seconds)
08:03:33 fre joins (~freusque@104.238.190.229)
08:03:47 cynick joins (~worm@ec2-52-206-86-1.compute-1.amazonaws.com)
08:03:47 kosmikus joins (~kosmikus@haskell/developer/kosmikus)
08:03:54 Nikotiini joins (~ubuntu@ec2-52-213-118-142.eu-west-1.compute.amazonaws.com)
08:04:04 × Varis quits (~Tadas@unaffiliated/varis) (Ping timeout: 256 seconds)
08:04:04 × wei2912 quits (~wei2912@unaffiliated/wei2912) (Ping timeout: 256 seconds)
08:04:04 × Cthalupa quits (~cthulhu@47.186.47.75) (Ping timeout: 256 seconds)
08:04:04 × arw quits (~arw@impulse.informatik.uni-erlangen.de) (Ping timeout: 256 seconds)
08:04:04 × glamas quits (~glamas@107.182.17.237) (Ping timeout: 256 seconds)
08:04:11 arw joins (~arw@impulse.informatik.uni-erlangen.de)
08:04:13 glamas joins (~glamas@107.182.17.237)
08:04:19 wei2912 joins (~wei2912@unaffiliated/wei2912)
08:04:20 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
08:04:21 Cthalupa joins (~cthulhu@47.186.47.75)
08:04:22 Varis joins (~Tadas@unaffiliated/varis)
08:04:22 conal_ joins (~conal@198.8.81.77)
08:04:38 × theDon quits (~td@94.134.91.203) (Ping timeout: 256 seconds)
08:04:55 theDon joins (~td@94.134.91.203)
08:06:45 m1dnight1 joins (~m1dnight@188.ip-51-91-158.eu)
08:06:50 PlasmaStar joins (plasma@unaffiliated/plasmastar)
08:07:24 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
08:08:56 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
08:09:22 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 272 seconds)
08:10:50 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
08:11:32 × Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007)
08:12:38 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
08:12:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
08:13:15 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
08:14:16 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
08:17:39 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 246 seconds)
08:21:23 bitmagie joins (~Thunderbi@200116b806e3f600f1149994c5b1b9f3.dip.versatel-1u1.de)
08:36:17 Moyst joins (~moyst@212-149-213-144.bb.dnainternet.fi)
08:39:43 × rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Ping timeout: 240 seconds)
08:44:16 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
08:46:01 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
08:46:38 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
08:48:31 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
08:50:19 × kini quits (~kini@unaffiliated/kini) (Remote host closed the connection)
08:50:21 × gioyik quits (~gioyik@186.112.104.70) (Quit: WeeChat 3.0)
08:50:54 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 246 seconds)
08:51:40 kini joins (~kini@unaffiliated/kini)
08:53:25 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
08:55:41 × bitmagie quits (~Thunderbi@200116b806e3f600f1149994c5b1b9f3.dip.versatel-1u1.de) (Quit: bitmagie)
08:57:21 rajivr joins (uid269651@gateway/web/irccloud.com/x-kitzykvumhbtkqal)
08:58:26 <dexterfoo> Which function do I use to detect if I am running inside ghci or compiled exe?
08:58:41 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
09:00:01 Ayo joins (~quassel@82.177.83.189)
09:00:29 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
09:01:04 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
09:03:19 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
09:05:44 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 272 seconds)
09:08:58 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
09:09:19 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
09:13:18 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 246 seconds)
09:13:18 × danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 246 seconds)
09:13:50 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 264 seconds)
09:14:28 mputz joins (~Thunderbi@dslb-088-064-063-125.088.064.pools.vodafone-ip.de)
09:15:38 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
09:19:44 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
09:22:43 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 240 seconds)
09:23:44 × tomboy64 quits (~tomboy64@gateway/tor-sasl/tomboy64) (Ping timeout: 240 seconds)
09:23:46 hexo joins (~hexo@gateway/tor-sasl/hexo)
09:24:49 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 264 seconds)
09:25:31 × p-core quits (~Thunderbi@2001:718:1e03:5128:3697:eeda:19aa:8e56) (Quit: p-core)
09:25:53 p-core joins (~Thunderbi@2001:718:1e03:5128:3697:eeda:19aa:8e56)
09:25:53 × prlCIql6ruclcri quits (~f9jawUfat@2800:810:514:e7:4bb:7908:1ead:3448) (Ping timeout: 272 seconds)
09:26:13 tomboy64 joins (~tomboy64@gateway/tor-sasl/tomboy64)
09:27:22 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
09:28:03 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
09:29:44 × mozzarella quits (~sam@unaffiliated/sam113101) (Read error: Connection reset by peer)
09:31:34 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 246 seconds)
09:32:35 × hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-hmzxqoillnpejpnj) (Quit: Connection closed for inactivity)
09:32:58 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 246 seconds)
09:33:48 × mctpyt quits (~mctpyt@unaffiliated/mctpyt) (Quit: WeeChat 3.0)
09:37:57 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
09:41:39 × Sonderblade quits (~helloman@94.191.152.250) (Read error: Connection reset by peer)
09:41:52 Sonderblade joins (~helloman@94.191.152.250)
09:42:58 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
09:43:16 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 240 seconds)
09:44:41 remedy joins (~remedy@51.194.80.91)
09:47:39 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 260 seconds)
09:48:26 pera joins (pera@gateway/vpn/mullvad/pera)
09:52:58 knupfer joins (~Thunderbi@200116b82c6a6700e8008bfffe8cad6b.dip.versatel-1u1.de)
09:53:28 × knupfer quits (~Thunderbi@200116b82c6a6700e8008bfffe8cad6b.dip.versatel-1u1.de) (Remote host closed the connection)
09:53:36 knupfer joins (~Thunderbi@200116b82c6a6700542cde19098204ff.dip.versatel-1u1.de)
09:53:37 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
09:54:43 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
09:57:13 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
09:58:37 hekkaidekapus} joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
10:00:08 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
10:01:43 × hekkaidekapus{ quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
10:04:46 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Ping timeout: 265 seconds)
10:06:16 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Read error: Connection reset by peer)
10:06:40 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
10:07:17 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
10:07:25 kritzefitz joins (~kritzefit@212.86.56.80)
10:07:30 × kritzefitz quits (~kritzefit@212.86.56.80) (Client Quit)
10:08:17 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
10:09:34 fendor joins (~fendor@178.165.128.107.wireless.dyn.drei.com)
10:09:34 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Remote host closed the connection)
10:09:48 o1lo01ol1o joins (~o1lo01ol1@bl11-140-216.dsl.telepac.pt)
10:10:28 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
10:10:48 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
10:12:53 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net)
10:13:15 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
10:14:05 <ephemient> > GHC.Environment.getFullArgs >>= print . System.FilePath.takeFileName . head
10:14:08 <lambdabot> error:
10:14:08 <lambdabot> Not in scope: ‘GHC.Environment.getFullArgs’
10:14:08 <lambdabot> No module named ‘GHC.Environment’ is imported.error:
10:14:24 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Ping timeout: 256 seconds)
10:14:33 <ephemient> @let import GHC.Environment
10:14:35 <lambdabot> Defined.
10:14:46 <ephemient> > getFullArgs >>= print . takeFileName . head
10:14:47 BaneAliens2 joins (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com)
10:14:49 <lambdabot> error:
10:14:49 <lambdabot> Variable not in scope: takeFileName :: String -> a0
10:14:59 <ephemient> @let import System.FilePath
10:15:00 <lambdabot> Defined.
10:15:03 <ephemient> > getFullArgs >>= print . takeFileName . head
10:15:06 <lambdabot> <IO ()>
10:15:27 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit)
10:15:30 <ephemient> hmm I guess it won't work on lambdabot
10:15:38 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 264 seconds)
10:16:22 × o1lo01ol1o quits (~o1lo01ol1@bl11-140-216.dsl.telepac.pt) (Remote host closed the connection)
10:17:53 Neuromancer joins (~Neuromanc@unaffiliated/neuromancer)
10:17:58 LKoen joins (~LKoen@119.169.9.109.rev.sfr.net)
10:18:39 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
10:19:28 mozzarella joins (~sam@unaffiliated/sam113101)
10:20:30 × pera quits (pera@gateway/vpn/mullvad/pera) (Ping timeout: 246 seconds)
10:23:21 aplainze1akind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
10:23:26 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit)
10:23:30 aplainze1akind is now known as aplainzetakind
10:24:30 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
10:26:26 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:26:41 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
10:26:57 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
10:27:32 ubert joins (~Thunderbi@p200300ecdf1ee024e02324fb94e406b3.dip0.t-ipconnect.de)
10:29:08 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Ping timeout: 256 seconds)
10:30:18 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
10:30:40 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
10:31:24 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
10:31:58 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
10:32:31 × shatriff quits (~vitaliish@176-52-216-242.irishtelecom.com) (Remote host closed the connection)
10:32:44 shatriff joins (~vitaliish@176-52-216-242.irishtelecom.com)
10:32:49 × conal_ quits (~conal@198.8.81.77) (Ping timeout: 246 seconds)
10:35:12 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 246 seconds)
10:38:12 × Sonderblade quits (~helloman@94.191.152.250) (Ping timeout: 256 seconds)
10:40:20 conal joins (~conal@198.8.81.77)
10:43:16 × Ayo quits (~quassel@82.177.83.189) (Ping timeout: 240 seconds)
10:47:24 ircbrowse_tom joins (~ircbrowse@64.225.78.177)
10:47:25 Server sets mode +CLnt
10:47:35 × DTZUZU quits (~DTZUZU@205.ip-149-56-132.net) (Read error: Connection reset by peer)
10:49:53 <ij> if I have (&&) <$> action <*> action', then both actions will be computed? even if the first would've sufficed?
10:50:17 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
10:52:33 <[exa]> ij: depends on how the Applicative wrap behaves. For example, if `action :: Maybe Bool`, there's no reason to evaluate `action'` if the first action "fails"
10:52:55 <ij> ah, they're IOs
10:53:20 <ij> hm, maybe I can use allM
10:53:21 <[exa]> ij: that being said, if the first thing returns `Just False`, the second action can return `Just undefined` and it will work.
10:53:50 <[exa]> IO can fail and short-circuit basically, anytime b/c it interacts with OS
10:57:16 perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
10:58:04 <[exa]> > andM [Just False, undefined]
10:58:07 <lambdabot> error:
10:58:07 <lambdabot> • Variable not in scope: andM :: [Maybe Bool] -> t
10:58:07 <lambdabot> • Perhaps you meant ‘and’ (imported from Data.List)
10:58:20 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:58:22 <ij> :t allM
10:58:24 <lambdabot> error:
10:58:24 <lambdabot> • Variable not in scope: allM
10:58:24 <lambdabot> • Perhaps you meant one of these:
10:58:31 <ij> it's in extra
10:58:41 <ij> I won't have undefined
10:58:47 <ephemient> @hoogle allM
10:58:48 <lambdabot> Control.Monad.Extra allM :: Monad m => (a -> m Bool) -> [a] -> m Bool
10:58:48 <lambdabot> Extra allM :: Monad m => (a -> m Bool) -> [a] -> m Bool
10:58:48 <lambdabot> Control.Monad.Loops allM :: Monad m => (a -> m Bool) -> [a] -> m Bool
10:58:48 <[exa]> it's not defined here. It would print `Just False`, andM/allM copy the short-circuiting behavior of the inner boolean to the wrap
10:58:51 <ij> though I see how it might come in handy
10:59:28 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
10:59:31 <[exa]> ...which is what you want if I understood it correctly :]
10:59:49 <ephemient> :t \a b -> a >>= bool (pure False) b
10:59:51 <lambdabot> Monad m => m Bool -> m Bool -> m Bool
11:00:53 _noblegas joins (uid91066@gateway/web/irccloud.com/x-fvgaqktiekoiqbcg)
11:01:41 × wei2912 quits (~wei2912@unaffiliated/wei2912) (Remote host closed the connection)
11:02:15 <ij> I'm not sure about the semantics
11:02:16 × neiluj quits (~jco@unaffiliated/neiluj) (Ping timeout: 272 seconds)
11:02:35 <ij> i.e. if it won't get computed it can be undefined
11:02:47 <[exa]> ij: there are 2 possible short-circuits there, 1] if the monad fails 2] if the bool is False
11:02:48 <ij> whether those are the same
11:03:37 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 246 seconds)
11:03:44 neiluj joins (~jco@91-167-203-101.subs.proxad.net)
11:04:29 <[exa]> allM processes both, the `(&&) <$> ...` you showed above will retain all monad actions (ie. fail if there's at least one monadic fail in the list) but will short-circuit only the booleans (the monads can return whatever they want after the first False, just their "side-effects" will be retained
11:05:47 <[exa]> the snipped that ephemient showed above is the "smart &&" that is used in allM, to propagate the returning of False to also short-circuit the monadic execution
11:05:55 da39a3ee5e6b4b0d joins (~da39a3ee5@2403:6200:8876:3a8e:d956:f43e:d9a3:9155)
11:06:56 × conal quits (~conal@198.8.81.77) (Ping timeout: 256 seconds)
11:07:39 × Neuromancer quits (~Neuromanc@unaffiliated/neuromancer) (Ping timeout: 256 seconds)
11:09:55 conal joins (~conal@198.8.81.77)
11:10:55 <[exa]> btw you can try various combinations of `andM [print 1 >> return False, print 2 >> return False]`, and the same with `(&&) <$> ...`, or better `fmap and . sequenceA`
11:11:40 kritzefitz joins (~kritzefit@212.86.56.80)
11:13:01 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
11:16:26 × _bin quits (~bin@2600:1700:10a1:38d0:4b5:a737:1596:3bbc) (Quit: ZNC - https://znc.in)
11:16:41 _bin joins (~bin@2600:1700:10a1:38d0:f996:1ec:ae90:ed89)
11:17:18 Franciman joins (~francesco@host-82-48-174-127.retail.telecomitalia.it)
11:17:59 Ayo joins (~quassel@82.177.83.189)
11:23:13 × Ayo quits (~quassel@82.177.83.189) (Ping timeout: 246 seconds)
11:24:52 Neuromancer joins (~Neuromanc@unaffiliated/neuromancer)
11:25:17 Alleria joins (~textual@zrcout.mskcc.org)
11:25:41 Alleria is now known as Guest56052
11:26:19 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
11:33:38 kuribas joins (~user@ptr-25vy0i878yf5hm2w2v7.18120a2.ip6.access.telenet.be)
11:33:53 Ayo joins (~quassel@82.177.83.189)
11:37:03 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Remote host closed the connection)
11:39:18 DavidEichmann joins (~david@234.109.45.217.dyn.plus.net)
11:40:31 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 256 seconds)
11:40:34 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
11:43:23 worc3131 joins (~quassel@2a02:c7f:dcc4:6500:cf0e:3346:8766:ab20)
11:43:55 × Ayo quits (~quassel@82.177.83.189) (Ping timeout: 256 seconds)
11:44:27 <idnar> siraben: probably the code to build the typeclass dictionaries along with the method accessor
11:46:25 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 264 seconds)
11:46:55 <siraben> idnar: wouldn't monomorphisation take care of that?
11:47:41 <idnar> siraben: you're exporting the polymorphic code
11:48:06 BosonCollider joins (~olofs@90-227-86-119-no542.tbcn.telia.com)
11:48:35 <siraben> Ah
11:48:35 nilof joins (~olofs@90-227-86-119-no542.tbcn.telia.com)
11:52:56 × BosonCollider quits (~olofs@90-227-86-119-no542.tbcn.telia.com) (Ping timeout: 272 seconds)
11:56:26 × knupfer quits (~Thunderbi@200116b82c6a6700542cde19098204ff.dip.versatel-1u1.de) (Ping timeout: 264 seconds)
11:56:44 × worc3131 quits (~quassel@2a02:c7f:dcc4:6500:cf0e:3346:8766:ab20) (Ping timeout: 246 seconds)
11:56:51 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
11:57:18 __monty__ joins (~toonn@unaffiliated/toonn)
12:05:32 ADG1089__ joins (~aditya@122.163.165.143)
12:07:34 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
12:09:43 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
12:10:06 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
12:10:32 p3n joins (~p3n@217.198.124.246)
12:10:48 × p3n quits (~p3n@217.198.124.246) (Remote host closed the connection)
12:11:57 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
12:15:12 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
12:16:50 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 264 seconds)
12:18:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
12:19:37 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 265 seconds)
12:23:20 × LittleFox quits (~littlefox@rondra.lf-net.org) (Remote host closed the connection)
12:24:30 LittleFox joins (~littlefox@rondra.lf-net.org)
12:25:08 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 256 seconds)
12:28:21 ph88^ joins (~ph88@2a02:8109:9e00:7e5c:2086:3c20:f471:b7c2)
12:32:43 × ph88 quits (~ph88@2a02:8109:9e00:7e5c:edab:a6c4:60f2:9240) (Ping timeout: 272 seconds)
12:40:54 mhinz joins (~mhi^@unaffiliated/mhi/x-9993184)
12:42:39 geekosaur joins (ac3a3bd3@172.58.59.211)
12:44:03 mouseghost joins (~draco@87-206-9-185.dynamic.chello.pl)
12:44:03 × mouseghost quits (~draco@87-206-9-185.dynamic.chello.pl) (Changing host)
12:44:03 mouseghost joins (~draco@wikipedia/desperek)
12:45:11 christo joins (~chris@81.96.113.213)
12:46:50 × xff0x quits (~xff0x@2001:1a81:5336:d000:3eab:bcec:ac10:46f6) (Ping timeout: 264 seconds)
12:47:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
12:47:18 xff0x joins (~xff0x@2001:1a81:5336:d000:7c55:f390:549c:7d91)
12:48:08 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
12:49:34 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
12:53:07 × coeus quits (~coeus@p200300d0273e3a0010a118dda365b6f5.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
12:54:38 × vst quits (~vst@2406:3003:2004:2e8a:88e0:d:26a8:735e) (Ping timeout: 264 seconds)
12:57:20 <ski> s/monad fails/action fails/,s/monads/monadic actions/
12:58:13 <[exa]> true.
13:04:54 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
13:05:50 kritzefitz joins (~kritzefit@212.86.56.80)
13:08:10 rayyyy joins (~nanoz@gateway/tor-sasl/nanoz)
13:08:32 coeus joins (~coeus@p200300d0274147008292896d606877b0.dip0.t-ipconnect.de)
13:09:29 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Ping timeout: 256 seconds)
13:09:57 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
13:10:02 × ubert quits (~Thunderbi@p200300ecdf1ee024e02324fb94e406b3.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
13:10:19 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
13:10:40 × Rudd0 quits (~Rudd0@185.189.115.103) (Ping timeout: 246 seconds)
13:11:20 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 265 seconds)
13:11:37 o1lo01ol1o joins (~o1lo01ol1@dsl-51-169.bl26.telepac.pt)
13:12:52 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
13:15:16 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 272 seconds)
13:15:38 × shatriff quits (~vitaliish@176-52-216-242.irishtelecom.com) (Remote host closed the connection)
13:16:14 shatriff joins (~vitaliish@176-52-216-242.irishtelecom.com)
13:16:32 × o1lo01ol1o quits (~o1lo01ol1@dsl-51-169.bl26.telepac.pt) (Ping timeout: 272 seconds)
13:17:16 × nilof quits (~olofs@90-227-86-119-no542.tbcn.telia.com) (Remote host closed the connection)
13:17:23 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
13:17:26 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 264 seconds)
13:17:40 nilof joins (~olofs@90-227-86-119-no542.tbcn.telia.com)
13:20:01 × darjeeling_ quits (~darjeelin@122.245.218.239) (Ping timeout: 264 seconds)
13:20:29 darjeeling_ joins (~darjeelin@122.245.218.239)
13:21:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
13:23:32 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 246 seconds)
13:25:36 berberman joins (~berberman@unaffiliated/berberman)
13:25:43 × son0p quits (~son0p@181.58.39.182) (Quit: leaving)
13:30:16 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
13:30:23 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
13:30:27 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 256 seconds)
13:30:29 drbean joins (~drbean@TC210-63-209-48.static.apol.com.tw)
13:30:45 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
13:34:33 ffej joins (~ffej@s91904426.blix.com)
13:35:30 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 265 seconds)
13:36:12 son0p joins (~son0p@181.136.122.143)
13:37:08 Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362)
13:39:05 × _noblegas quits (uid91066@gateway/web/irccloud.com/x-fvgaqktiekoiqbcg) (Quit: Connection closed for inactivity)
13:39:08 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
13:39:20 polyphem joins (~p0lyph3m@2a02:810d:640:776c:76d7:55f6:f85b:c889)
13:42:39 × geekosaur quits (ac3a3bd3@172.58.59.211) (Quit: Ping timeout (120 seconds))
13:44:54 acidjnk_new joins (~acidjnk@p200300d0c704e72889e508a3ead3d306.dip0.t-ipconnect.de)
13:45:03 × rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Ping timeout: 240 seconds)
13:48:22 × drbean quits (~drbean@TC210-63-209-48.static.apol.com.tw) (Ping timeout: 256 seconds)
13:48:47 tlaxkit joins (~kvirc@89.35.63.16)
13:48:53 geekosaur joins (ac3a3bd3@172.58.59.211)
13:49:43 christo joins (~chris@81.96.113.213)
13:49:44 × da39a3ee5e6b4b0d quits (~da39a3ee5@2403:6200:8876:3a8e:d956:f43e:d9a3:9155) (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:53:27 × ffej quits (~ffej@s91904426.blix.com) (Remote host closed the connection)
13:53:36 × shatriff quits (~vitaliish@176-52-216-242.irishtelecom.com) (Remote host closed the connection)
13:53:40 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
13:53:49 shatriff joins (~vitaliish@176-52-216-242.irishtelecom.com)
13:55:07 × dyeplexer quits (~lol@unaffiliated/terpin) (Ping timeout: 246 seconds)
13:56:09 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
13:56:20 dyeplexer joins (~lol@unaffiliated/terpin)
13:58:00 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 256 seconds)
13:59:43 rayyyy joins (~nanoz@gateway/tor-sasl/nanoz)
14:01:30 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds)
14:05:30 m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de)
14:05:37 pera joins (pera@gateway/vpn/mullvad/pera)
14:07:56 × cheater quits (~user@unaffiliated/cheater) (Ping timeout: 240 seconds)
14:10:21 Ariakenom joins (~Ariakenom@2001:9b1:efb:fc00:3850:9fd0:d03b:fe17)
14:11:15 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
14:12:58 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
14:13:27 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
14:13:50 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
14:16:30 × xff0x quits (~xff0x@2001:1a81:5336:d000:7c55:f390:549c:7d91) (Remote host closed the connection)
14:16:35 LKoen_ joins (~LKoen@119.169.9.109.rev.sfr.net)
14:16:48 xff0x joins (~xff0x@2001:1a81:5336:d000:236:5c77:9b1c:d6cf)
14:18:17 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 260 seconds)
14:19:11 × LKoen quits (~LKoen@119.169.9.109.rev.sfr.net) (Ping timeout: 246 seconds)
14:20:55 × berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
14:21:22 berberman joins (~berberman@unaffiliated/berberman)
14:21:44 da39a3ee5e6b4b0d joins (~da39a3ee5@2403:6200:8876:3a8e:d956:f43e:d9a3:9155)
14:21:58 lukelau_ is now known as lukelau
14:22:27 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
14:23:02 jpds joins (~jpds@gateway/tor-sasl/jpds)
14:25:56 <siraben> idnar: but when I put `main = print (norm (1,2,3))` and `main = print (norm3 (1,2,3))` where `norm` is the typeclass version and `norm3` is the regular function, the typeclass version is still larger
14:27:32 <idnar> siraben: you need an export list still I think
14:28:40 × son0p quits (~son0p@181.136.122.143) (Ping timeout: 265 seconds)
14:28:43 lamba joins (05c2c76e@5.194.199.110)
14:30:16 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 3.0)
14:31:33 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
14:34:21 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
14:34:26 zebrag joins (~inkbottle@aaubervilliers-654-1-109-134.w86-212.abo.wanadoo.fr)
14:36:52 prlCIql6ruclcri joins (~f9jawUfat@2800:810:514:e7:4bb:7908:1ead:3448)
14:37:01 × lamba quits (05c2c76e@5.194.199.110) (Quit: Connection closed)
14:37:33 lamba joins (05c2c76e@5.194.199.110)
14:37:49 × lamba quits (05c2c76e@5.194.199.110) (Client Quit)
14:40:00 son0p joins (~son0p@181.136.122.143)
14:40:31 jlamothe joins (~jlamothe@198.251.55.207)
14:40:50 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Read error: Connection reset by peer)
14:43:27 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 3.0)
14:44:11 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
14:49:03 Tario joins (~Tario@201.192.165.173)
14:49:04 × geekosaur quits (ac3a3bd3@172.58.59.211) (Ping timeout: 248 seconds)
14:50:43 × dftxbs3e quits (~dftxbs3e@unaffiliated/dftxbs3e) (Remote host closed the connection)
14:50:58 dftxbs3e joins (~dftxbs3e@unaffiliated/dftxbs3e)
14:51:07 × hololeap quits (~hololeap@unaffiliated/hololeap) (Ping timeout: 246 seconds)
14:51:16 goepsilongo joins (~user@2603-7000-ab00-62ed-b08e-e1b6-7c6c-8336.res6.spectrum.com)
14:55:14 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
14:56:04 Sheilong joins (uid293653@gateway/web/irccloud.com/x-mbxdfsspznlskpfg)
14:56:55 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
14:57:03 geekosaur joins (ac3a3bd3@172.58.59.211)
14:58:59 machinedgod joins (~machinedg@24.105.81.50)
15:00:13 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
15:02:06 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 256 seconds)
15:03:20 Tario joins (~Tario@201.192.165.173)
15:04:39 o1lo01ol1o joins (~o1lo01ol1@176.78.51.169)
15:04:40 kritzefitz joins (~kritzefit@212.86.56.80)
15:04:57 × sw1nn quits (~sw1nn@2a00:23c6:2385:3a00:f123:6af9:d5d5:5175) (Ping timeout: 260 seconds)
15:05:50 × berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
15:05:58 × prlCIql6ruclcri quits (~f9jawUfat@2800:810:514:e7:4bb:7908:1ead:3448) (Quit: Leaving)
15:07:03 berberman joins (~berberman@unaffiliated/berberman)
15:09:16 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds)
15:09:37 × o1lo01ol1o quits (~o1lo01ol1@176.78.51.169) (Ping timeout: 256 seconds)
15:11:01 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 264 seconds)
15:11:49 × perrier-jouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.0)
15:14:29 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
15:15:34 × shatriff quits (~vitaliish@176-52-216-242.irishtelecom.com) (Remote host closed the connection)
15:15:37 knupfer joins (~Thunderbi@200116b82c6a67009ce5b9fffe103f71.dip.versatel-1u1.de)
15:15:39 × knupfer quits (~Thunderbi@200116b82c6a67009ce5b9fffe103f71.dip.versatel-1u1.de) (Client Quit)
15:15:40 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
15:15:50 knupfer joins (~Thunderbi@mue-88-130-61-056.dsl.tropolys.de)
15:17:28 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
15:18:15 sw1nn joins (~sw1nn@2a00:23c6:2385:3a00:9b97:771f:9a63:bf52)
15:18:41 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
15:18:43 asheshambasta joins (~user@ptr-e1lysaugoubvdkasp03.18120a2.ip6.access.telenet.be)
15:18:51 asheshambasta parts (~user@ptr-e1lysaugoubvdkasp03.18120a2.ip6.access.telenet.be) ()
15:19:14 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 264 seconds)
15:20:00 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
15:20:17 hiroaki joins (~hiroaki@ip4d166c42.dynamic.kabel-deutschland.de)
15:20:41 × machinedgod quits (~machinedg@24.105.81.50) (Quit: leaving)
15:21:38 × Franciman quits (~francesco@host-82-48-174-127.retail.telecomitalia.it) (Quit: Leaving)
15:24:39 urodna joins (~urodna@unaffiliated/urodna)
15:26:34 fnurglewitz joins (uid263868@gateway/web/irccloud.com/x-nhzoizuedcpgsddc)
15:30:26 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 256 seconds)
15:30:44 × mouseghost quits (~draco@wikipedia/desperek) (Quit: mew wew)
15:33:22 Baerwin joins (~tadeas@185-219-166-254-static.vivo.cz)
15:33:31 Baerwin parts (~tadeas@185-219-166-254-static.vivo.cz) ()
15:35:12 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:37:01 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
15:37:15 saitamaplus joins (uid272474@gateway/web/irccloud.com/x-wxoxutqrvtcmzjrx)
15:37:41 o1lo01ol1o joins (~o1lo01ol1@dsl-51-169.bl26.telepac.pt)
15:38:04 di-wu parts (~5ee075ce@178.62.248.58) ("Bye.")
15:38:40 mmmattyx joins (uid17782@gateway/web/irccloud.com/x-qvjkocemxgyxrpwr)
15:41:52 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
15:43:30 threestrikes joins (~haskell@cpe-24-243-229-2.hot.res.rr.com)
15:45:29 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Remote host closed the connection)
15:48:48 <ij> @hoogle m (Either e a) -> ExceptT m e a
15:48:49 <lambdabot> No results found
15:49:42 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 256 seconds)
15:50:31 <ij> ah, it's EitherT, not ExceptT
15:51:43 × philopsos quits (~caecilius@gateway/tor-sasl/caecilius) (Ping timeout: 240 seconds)
15:54:19 Saukk joins (~Saukk@83-148-239-3.dynamic.lounea.fi)
15:54:41 <ski> @type ExceptT
15:54:43 <lambdabot> m (Either e a) -> ExceptT e m a
15:54:52 × son0p quits (~son0p@181.136.122.143) (Ping timeout: 272 seconds)
15:59:42 × Guest18729 quits (~z@ics141-225.icsincorporated.com) (Remote host closed the connection)
15:59:49 juuandyy joins (~juuandyy@90.166.144.65)
16:00:44 <ij> hm
16:00:55 <ij> from mtl, right?
16:01:56 <ski> `transformers'
16:02:04 saolof joins (~olofs@90-227-86-119-no542.tbcn.telia.com)
16:02:07 kottt joins (~kottt@178.162.209.171)
16:02:20 LKoen joins (~LKoen@119.169.9.109.rev.sfr.net)
16:02:45 urodna_ joins (~urodna@unaffiliated/urodna)
16:02:50 Alleria joins (~textual@zrcout.mskcc.org)
16:03:03 Saukk_ joins (~Saukk@83-148-239-3.dynamic.lounea.fi)
16:03:13 Alleria is now known as Guest66726
16:03:41 mputz1 joins (~Thunderbi@dslb-088-064-063-125.088.064.pools.vodafone-ip.de)
16:04:13 exferenc- joins (~exference@2a01:4f8:c0c:e::2)
16:04:42 Rudd0 joins (~Rudd0@185.189.115.108)
16:04:55 × Guest56052 quits (~textual@zrcout.mskcc.org) (Ping timeout: 256 seconds)
16:04:55 × mputz quits (~Thunderbi@dslb-088-064-063-125.088.064.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
16:04:55 × nckx quits (~nckx@tobias.gr) (Ping timeout: 256 seconds)
16:04:55 × hexagoxel quits (~hexagoxel@hexagoxel.de) (Ping timeout: 256 seconds)
16:04:55 × exferenceBot quits (~exference@hexagoxel.de) (Ping timeout: 256 seconds)
16:04:55 × conal quits (~conal@198.8.81.77) (Ping timeout: 256 seconds)
16:04:56 exferenc- is now known as exferenceBot
16:05:09 × LKoen_ quits (~LKoen@119.169.9.109.rev.sfr.net) (Ping timeout: 256 seconds)
16:05:09 × dyeplexer quits (~lol@unaffiliated/terpin) (Ping timeout: 256 seconds)
16:05:10 × nilof quits (~olofs@90-227-86-119-no542.tbcn.telia.com) (Ping timeout: 256 seconds)
16:05:10 × Neuromancer quits (~Neuromanc@unaffiliated/neuromancer) (Ping timeout: 256 seconds)
16:05:10 × acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 256 seconds)
16:05:10 × jonn quits (~sweater@206.81.18.26) (Ping timeout: 256 seconds)
16:05:10 × atomi quits (~atomi@35.71.197.35.bc.googleusercontent.com) (Ping timeout: 256 seconds)
16:05:37 dyeplexer joins (~lol@unaffiliated/terpin)
16:05:38 hexagoxel joins (~hexagoxel@hexagoxel.de)
16:05:41 jonn joins (~sweater@206.81.18.26)
16:05:43 × Saukk quits (~Saukk@83-148-239-3.dynamic.lounea.fi) (Ping timeout: 256 seconds)
16:05:44 × urodna quits (~urodna@unaffiliated/urodna) (Ping timeout: 256 seconds)
16:05:44 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
16:05:44 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 256 seconds)
16:05:44 × tlaxkit quits (~kvirc@89.35.63.16) (Ping timeout: 256 seconds)
16:05:44 × Moyst quits (~moyst@212-149-213-144.bb.dnainternet.fi) (Ping timeout: 256 seconds)
16:05:44 × Cthalupa quits (~cthulhu@47.186.47.75) (Ping timeout: 256 seconds)
16:05:44 × fre quits (~freusque@104.238.190.229) (Ping timeout: 256 seconds)
16:05:48 nckx joins (~nckx@tobias.gr)
16:05:54 conal joins (~conal@198.8.81.77)
16:05:59 mputz1 is now known as mputz
16:06:00 Cthalupa joins (~cthulhu@47.186.47.75)
16:06:03 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 240 seconds)
16:06:06 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
16:06:12 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
16:06:27 perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
16:06:41 atomi joins (~atomi@35.71.197.35.bc.googleusercontent.com)
16:06:44 hexo joins (~hexo@gateway/tor-sasl/hexo)
16:06:47 weimu joins (~weimu@host-79-40-87-225.business.telecomitalia.it)
16:07:08 fre joins (~freusque@104.238.190.229)
16:08:02 Moyst joins (~moyst@212-149-213-144.bb.dnainternet.fi)
16:08:09 acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net)
16:11:18 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:11:19 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
16:15:26 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
16:16:10 son0p joins (~son0p@181.136.122.143)
16:17:09 hololeap joins (~hololeap@unaffiliated/hololeap)
16:19:42 × _ashbreeze_ quits (~mark@64.85.214.234.reverse.socket.net) (Remote host closed the connection)
16:20:26 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Ping timeout: 264 seconds)
16:21:44 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
16:23:19 christo joins (~chris@81.96.113.213)
16:27:49 × matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Quit: ZNC 1.8.2 - https://znc.in)
16:28:32 × da39a3ee5e6b4b0d quits (~da39a3ee5@2403:6200:8876:3a8e:d956:f43e:d9a3:9155) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:30:26 × saolof quits (~olofs@90-227-86-119-no542.tbcn.telia.com) (Ping timeout: 256 seconds)
16:31:15 matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
16:33:54 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
16:34:47 Neuromancer joins (~Neuromanc@unaffiliated/neuromancer)
16:38:35 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
16:39:43 × son0p quits (~son0p@181.136.122.143) (Ping timeout: 256 seconds)
16:39:53 × matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Ping timeout: 246 seconds)
16:41:01 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
16:42:04 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
16:42:28 saolof joins (~olofs@90-227-86-119-no542.tbcn.telia.com)
16:43:01 × mhinz quits (~mhi^@unaffiliated/mhi/x-9993184) (Quit: mhinz)
16:43:47 matryoshka joins (~matryoshk@184.75.223.227)
16:44:54 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
16:45:38 × acidjnk_new quits (~acidjnk@p200300d0c704e72889e508a3ead3d306.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
16:46:19 Jd007 joins (~Jd007@162.156.11.151)
16:46:31 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Ping timeout: 256 seconds)
16:49:58 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 272 seconds)
16:51:21 Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362)
16:51:47 gnu-linuxera joins (~kvirc@89.35.63.16)
16:52:02 × matryoshka quits (~matryoshk@184.75.223.227) (Quit: ZNC 1.8.2 - https://znc.in)
16:52:02 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
16:52:24 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
16:52:31 bor0 joins (~boro@unaffiliated/boro/x-000000001)
16:52:56 <ij> @hoogle m a -> ExceptT e m a
16:52:57 <lambdabot> No results found
16:53:10 <ij> is it only ExceptT . fmap return?
16:53:11 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 265 seconds)
16:53:15 <ij> :t ExceptT . fmap return
16:53:17 <lambdabot> Functor m => m a -> ExceptT e m a
16:53:56 × geekosaur quits (ac3a3bd3@172.58.59.211) (Quit: Ping timeout (120 seconds))
16:54:17 <bor0> (Asked this the other day but trying again :) I have written an evaluator for a very simple language (addition, multiplication, subtraction). Besides literals, it also supports identifiers. How can I approach writing a Hoare-like implementation (preconditions and postconditions) on top of this language?
16:54:35 × revprez_anzio quits (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net) (Ping timeout: 246 seconds)
16:55:02 geekosaur joins (ac3a3bd3@172.58.59.211)
16:55:50 Lord_of_Life_ is now known as Lord_of_Life
16:57:14 Deide joins (~Deide@217.155.19.23)
16:57:46 × gnu-linuxera quits (~kvirc@89.35.63.16) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
16:58:12 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds)
16:59:07 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
16:59:26 samsepi0l joins (~jh@2a02:908:2e30:a440:9b59:4b04:b912:5db)
17:00:40 <bor0> Just found https://www.cl.cam.ac.uk/archive/mjcg/HoareLogic/Lectures/AllLectures.pdf, might be useful as something to start with..
17:02:34 matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
17:04:25 × pera quits (pera@gateway/vpn/mullvad/pera) (Ping timeout: 264 seconds)
17:04:28 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
17:04:37 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
17:05:51 × matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Client Quit)
17:06:06 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
17:06:16 pera joins (~pera@unaffiliated/pera)
17:06:40 tlaxkit joins (~kvirc@89.35.63.16)
17:07:11 revprez_anzio joins (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net)
17:10:33 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
17:11:36 kritzefitz joins (~kritzefit@212.86.56.80)
17:14:09 × sgibber2018 quits (d055ed90@208.85.237.144) (Quit: Connection closed)
17:14:12 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
17:14:15 × Saukk_ quits (~Saukk@83-148-239-3.dynamic.lounea.fi) (Remote host closed the connection)
17:16:05 × juuandyy quits (~juuandyy@90.166.144.65) (Ping timeout: 240 seconds)
17:16:17 × xff0x quits (~xff0x@2001:1a81:5336:d000:236:5c77:9b1c:d6cf) (Ping timeout: 246 seconds)
17:17:13 × berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
17:17:17 xff0x joins (~xff0x@2001:1a81:5336:d000:7a03:81e8:7211:5b81)
17:17:38 berberman joins (~berberman@unaffiliated/berberman)
17:18:09 matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809)
17:23:19 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
17:23:46 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
17:24:05 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
17:24:23 × geekosaur quits (ac3a3bd3@172.58.59.211) (Quit: Connection closed)
17:25:23 × perrier-jouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.0)
17:25:37 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
17:26:12 jpds joins (~jpds@gateway/tor-sasl/jpds)
17:27:02 × berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
17:27:09 × dyeplexer quits (~lol@unaffiliated/terpin) (Remote host closed the connection)
17:27:28 berberman joins (~berberman@unaffiliated/berberman)
17:28:53 × danso quits (~dan@23-233-104-25.cpe.pppoe.ca) (Quit: WeeChat 3.0)
17:34:31 Jeanne-Kamikaze joins (~Jeanne-Ka@static-198-54-134-137.cust.tzulo.com)
17:35:36 × Guest66726 quits (~textual@zrcout.mskcc.org) (Ping timeout: 256 seconds)
17:37:52 × pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Ping timeout: 256 seconds)
17:39:12 pfurla joins (~pfurla@64.145.79.225)
17:41:32 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Read error: Connection reset by peer)
17:42:46 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
17:43:08 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
17:47:02 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
17:48:08 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 256 seconds)
17:48:17 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 256 seconds)
17:48:27 × threestrikes quits (~haskell@cpe-24-243-229-2.hot.res.rr.com) (Quit: WeeChat 2.9)
17:49:13 × samsepi0l quits (~jh@2a02:908:2e30:a440:9b59:4b04:b912:5db) (Quit: Konversation terminated!)
17:54:17 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
17:54:55 juuandyy joins (~juuandyy@90.166.144.65)
17:56:55 × goepsilongo quits (~user@2603-7000-ab00-62ed-b08e-e1b6-7c6c-8336.res6.spectrum.com) (Read error: Connection reset by peer)
17:57:56 gioyik joins (~gioyik@186.112.104.70)
17:58:39 × bor0 quits (~boro@unaffiliated/boro/x-000000001) (Quit: Leaving)
18:00:04 × conal quits (~conal@198.8.81.77) (Quit: Computer has gone to sleep.)
18:01:20 × rajivr quits (uid269651@gateway/web/irccloud.com/x-kitzykvumhbtkqal) (Quit: Connection closed for inactivity)
18:02:53 mouseghost joins (~draco@87-206-9-185.dynamic.chello.pl)
18:02:53 × mouseghost quits (~draco@87-206-9-185.dynamic.chello.pl) (Changing host)
18:02:53 mouseghost joins (~draco@wikipedia/desperek)
18:05:41 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
18:05:50 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
18:06:34 kupi joins (uid212005@gateway/web/irccloud.com/x-vnlnspyexpsfovoh)
18:07:28 Alleria joins (~textual@2603-7000-3040-0000-c12c-929c-070d-5eab.res6.spectrum.com)
18:07:52 Alleria is now known as Guest57843
18:08:10 _ashbreeze_ joins (~mark@64.85.214.234.reverse.socket.net)
18:10:24 conal joins (~conal@198.8.81.231)
18:15:59 × ericsagnes quits (~ericsagne@2405:6580:0:5100:5c55:ae7f:aac0:425b) (Ping timeout: 272 seconds)
18:17:00 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
18:21:43 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 256 seconds)
18:21:45 × howdoi quits (uid224@gateway/web/irccloud.com/x-iwzynhogbftxdtln) (Quit: Connection closed for inactivity)
18:22:53 shaunren joins (~shaunren@104.156.64.158)
18:22:59 × Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa)
18:25:30 × shaunren quits (~shaunren@104.156.64.158) (Quit: Quit)
18:25:35 ADG1089__ joins (~aditya@122.163.165.143)
18:27:15 Deide joins (~Deide@217.155.19.23)
18:28:10 ericsagnes joins (~ericsagne@2405:6580:0:5100:133b:71bb:64b:9caa)
18:28:42 shaunren joins (~shaunren@104.156.64.158)
18:31:07 carlomagno joins (~cararell@148.87.23.13)
18:34:44 × conal quits (~conal@198.8.81.231) (Quit: Computer has gone to sleep.)
18:35:46 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-jllbcrojcqgpytds)
18:35:51 <b4er> You probably haven't got an answer as there is too much room for interpretation.
18:37:07 <b4er> bor0, it could be anything from extending a datatype to be sth. like `Stmt {pre, post :: [Condition]}` up to "this is not decidable so there's no implementation"
18:37:46 conal joins (~conal@198.8.81.231)
18:38:48 × ChaiTRex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (Remote host closed the connection)
18:39:15 ChaiTRex joins (~ChaiTRex@gateway/tor-sasl/chaitrex)
18:43:00 rwdrich joins (560395a9@cpc159427-cmbg20-2-0-cust424.5-4.cable.virginm.net)
18:44:48 × rwdrich quits (560395a9@cpc159427-cmbg20-2-0-cust424.5-4.cable.virginm.net) (Client Quit)
18:44:59 TheCommieDuck joins (~mark@host-78-146-136-48.as13285.net)
18:45:25 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
18:46:37 × xff0x quits (~xff0x@2001:1a81:5336:d000:7a03:81e8:7211:5b81) (Ping timeout: 260 seconds)
18:47:17 xff0x joins (~xff0x@83.236.21.174)
18:47:18 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
18:47:54 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
18:48:20 × pfurla quits (~pfurla@64.145.79.225) (Ping timeout: 246 seconds)
18:50:52 pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
18:52:19 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 256 seconds)
18:53:00 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
18:53:24 ADG1089__ joins (~aditya@122.163.165.143)
18:57:27 perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
18:57:51 × shaunren quits (~shaunren@104.156.64.158) (Quit: Quit)
18:58:08 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 246 seconds)
18:58:48 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
18:59:11 ADG1089__ joins (~aditya@122.163.165.143)
19:02:00 tuxcaeli joins (~shaun@104.156.64.158)
19:02:44 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
19:02:55 × carlomagno quits (~cararell@148.87.23.13) (Quit: Leaving.)
19:03:12 jpds joins (~jpds@gateway/tor-sasl/jpds)
19:03:30 berberman_ joins (~berberman@unaffiliated/berberman)
19:03:32 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds)
19:04:13 × xsperry quits (~as@unaffiliated/xsperry) ()
19:05:13 × Forlorn quits (~Forlorn@unaffiliated/forlorn) (Read error: Connection reset by peer)
19:06:18 × juuandyy quits (~juuandyy@90.166.144.65) (Quit: Konversation terminated!)
19:06:40 × centril quits (~centril@213-66-146-92-no250.tbcn.telia.com) (Quit: WeeChat 3.0)
19:07:27 × conal quits (~conal@198.8.81.231) (Quit: Computer has gone to sleep.)
19:11:39 vicfred joins (~vicfred@unaffiliated/vicfred)
19:13:03 Bratishka joins (~user@158.46.97.79)
19:13:08 Bratishka parts (~user@158.46.97.79) ("ERC (IRC client for Emacs 26.3)")
19:15:20 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
19:15:43 × tff^ quits (~hph@ip98-184-89-2.mc.at.cox.net) ()
19:18:03 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Remote host closed the connection)
19:18:18 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
19:18:20 × knupfer quits (~Thunderbi@mue-88-130-61-056.dsl.tropolys.de) (Read error: Connection reset by peer)
19:18:23 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
19:18:25 knupfer1 joins (~Thunderbi@200116b82c6a67004c35ee1b32fb873c.dip.versatel-1u1.de)
19:18:33 jpds joins (~jpds@gateway/tor-sasl/jpds)
19:19:38 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
19:20:03 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
19:20:47 knupfer1 is now known as knupfer
19:20:57 gioyik_ joins (~gioyik@186.112.104.70)
19:21:07 gnu-linuxera joins (~kvirc@89.35.63.16)
19:21:20 kritzefitz joins (~kritzefit@212.86.56.80)
19:21:29 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
19:21:47 × Deide quits (~Deide@217.155.19.23) (Ping timeout: 256 seconds)
19:21:57 Deide joins (~Deide@217.155.19.23)
19:22:03 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
19:22:25 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
19:22:42 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
19:23:29 × gioyik quits (~gioyik@186.112.104.70) (Ping timeout: 256 seconds)
19:23:29 × Neuromancer quits (~Neuromanc@unaffiliated/neuromancer) (Ping timeout: 256 seconds)
19:23:36 <ij> does IO interfere with optimisations? my maze solver had pure reads from the board, now it has IO reads
19:24:03 × tlaxkit quits (~kvirc@89.35.63.16) (Ping timeout: 256 seconds)
19:24:22 <monochrom> That question is too broad. The only correct answer is "it depends".
19:24:44 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
19:25:18 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
19:25:21 <ij> It's meant to be broad – it can only get worse, but should it in some instances?
19:25:27 <ij> I guess what you're saying is yes
19:25:34 <ij> is is*
19:25:38 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
19:25:51 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
19:27:14 <merijn> ij: What do you mean "it can only get worse"?
19:27:48 <ij> I would imagine having IO adds uncertainty, so you can optimize less, so speed can only get worse
19:27:49 <dexterfoo> In my executable cabal file, I have: "ghc-options: -threaded". Do I also need this flag in my library cabal file?
19:27:54 <merijn> ij: Why?
19:28:01 <merijn> dexterfoo: No
19:28:04 <monochrom> I am always baffled at how programmers are obsessed with vagarities.
19:28:04 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood)
19:28:29 <merijn> dexterfoo: -threaded tells GHC whether to use the threaded runtime or not, but the runtime isn't linked until you build an executable, so it does nothing for libraries
19:28:36 <monochrom> given that source code is one of the only few things in the whole world that can't tolerate vagarities.
19:28:51 <dexterfoo> merijn: thank you
19:29:03 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
19:29:11 <merijn> dexterfoo: In fact, you'll get warnings if you try :p
19:29:19 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
19:29:38 <ij> monochrom, are you refering to me? 😅
19:30:24 <merijn> monochrom: last week I saw the tweet: "Becoming a senior engineer means saying "it depends" until you retire or die" ;)
19:30:42 <monochrom> Amen
19:31:30 <ij> I've also never heard the word vagarities before
19:31:51 <merijn> ij: IO doesn't add uncertainty. Why would it? It just means a stricter sequencing of operations
19:32:10 <merijn> Whether that effects performance positively, negatively, or not at all is "it depends"
19:33:22 <ij> I had some vague, unthoroughly throughthought feeling that it might
19:33:23 <__monty__> ij: An example where IO might improve performance is if it allows you to use a mutable data structure and your problem benefits from such.
19:33:40 <ij> __monty__, of course :)
19:34:25 <ij> I've been trying to rewrite my Map-ful code to mutable vectors over the weekend and it has been a challenge
19:34:28 <merijn> __monty__: Even without mutability it might improve performance for some reason
19:35:22 × o1lo01ol1o quits (~o1lo01ol1@dsl-51-169.bl26.telepac.pt) (Remote host closed the connection)
19:35:30 <__monty__> merijn: Sure, I'm only trying to provide a simple example of when IO might have a positive impact on performance. Though I guess my example doesn't have anything to do with GHC's optimizations.
19:36:52 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 256 seconds)
19:41:13 <b4er> I have wondered this before: are there examples of optimizations that have a negative impact on performance?
19:41:23 <b4er> Possibly even non-contrived ones?
19:41:25 <merijn> b4er: Lots :p
19:41:38 <merijn> b4er: Inlining can have massive positive or negative impact, for one
19:41:47 <b4er> If there's one there must be lots ;P
19:42:18 DTZUZU joins (~DTZUZU@205.ip-149-56-132.net)
19:42:31 geekosaur joins (ac3a3eac@172.58.62.172)
19:42:45 × pera quits (~pera@unaffiliated/pera) (Ping timeout: 256 seconds)
19:42:58 <b4er> merijn: are you assuming that users are adding pragmas or what GHC does without hints?
19:43:12 <monochrom> Or you could just declare "those don't count as optimizations".
19:43:13 <merijn> b4er: Anything that affects memory layout can ruin performance too
19:43:30 <merijn> b4er: Both
19:44:35 <MarcelineVQ> not quite the topic but I'm just gonna drop this lovely little article in here again https://chrispenner.ca/posts/wc
19:44:59 × kuribas quits (~user@ptr-25vy0i878yf5hm2w2v7.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
19:45:11 <__monty__> b4er: An interesting topic that sounds adjacent is deoptimization in JITs.
19:45:38 <b4er> Ooh, I remember that one but it's been a long time. I should revisit it, thanks for the reminder
19:48:53 <b4er> The crap a JIT compiler needs to deal with, haha wtf I did not even know that deoptimizations exist
19:49:39 niekvandepas joins (~niekvande@dhcp-077-249-088-250.chello.nl)
19:49:51 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:50:18 <__monty__> It's actually pretty cool. It allows you to optimize past what conventional compilers can do.
19:51:30 Franciman joins (~francesco@host-82-48-174-127.retail.telecomitalia.it)
19:52:11 <b4er> What a coincidence there's a talk at POPL in three days about it
19:52:59 <b4er> Yeah, it seems like a pretty interesting topic. Thanks for that mention
19:54:01 <monochrom> As beginners talk like how they're very keen on performance, they go on to write the moral equivalent of "f n = f (n-1) + f (n-1)" (as opposed to "f n = let y = f (n-1) in y+y"), therefore using exponential time algorithms to kill performance and then go on to expect that a 10% speedup by the compiler matters at all.
19:54:46 <monochrom> Now, you might say that you never literally wrote that code. But I said "the moral equivalent of".
19:54:59 <merijn> monochrom: Or worrying about the performance of integer addition for disk bound code :p
19:55:13 × niekvandepas quits (~niekvande@dhcp-077-249-088-250.chello.nl) (Ping timeout: 256 seconds)
19:55:25 o1lo01ol1o joins (~o1lo01ol1@dsl-51-169.bl26.telepac.pt)
19:55:32 × TheCommieDuck quits (~mark@host-78-146-136-48.as13285.net) (Quit: WeeChat 3.0)
19:55:47 <monochrom> I have seen multiple beginners approach tree-search and tree-update algorithms the following way, which are the moral equivalent of f n = f (n-1) + f (n-1)
19:55:52 <b4er> Joke's on you, I never actually write any code
19:55:59 <monochrom> Heh OK!
19:56:18 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
19:57:06 <monochrom> Now, I just said tree, I didn't say balanced or wide tree. The tree can be a bit degenerate or biased or whatever you call it, such that if it has n nodes its depth can still be like n/2 or n-100 or something proportional to n.
19:57:44 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
19:59:10 <b4er> Tbf (maybe not the tree example), a beginner might struggle with getting it to work in the first place so they might not want to focus on algorithmic "details"
19:59:16 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
20:00:14 × o1lo01ol1o quits (~o1lo01ol1@dsl-51-169.bl26.telepac.pt) (Ping timeout: 265 seconds)
20:00:53 <monochrom> Suppose the task is to look for a certain node and change a datum there. Beginners will write what they think is a harmless 2-pass algorithm, "doit t = if <dive down to look for the desired node> then <dive down to look for the desired node again but this time change the datum> else t"
20:00:55 <b4er> I'm pretty sure I once ported a horrible implementation from using lists to an even worse one based on vectors without first optimizing more important things :(
20:01:07 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
20:01:25 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
20:01:51 <merijn> Welp...it's been a while since I had a power outage >.>
20:03:04 <monochrom> b4er, I am talking about f**king 3rd year CS students. They may be beginners to Haskell but they are not beginners to programming.
20:03:44 slack1256 joins (~slack1256@dvc-186-186-101-190.movil.vtr.net)
20:04:04 <merijn> Hell, some career programmers of 15 years fuck up like that :p
20:07:01 <monochrom> Also, IME, ironically, the best way (highest probability, least time) to get it to work is to think of the "details" early on in the first place.
20:07:04 <__monty__> Does sound like imperative thinking though.
20:07:31 <__monty__> "Find the index, if it exists use the index to update."
20:07:53 <monochrom> The expoential-time code I have seen are invariably manifestations of XY problems and procratinating confronting the problem head-on.
20:08:20 <__monty__> merijn: I thought losing your government wasn't a big deal? : >
20:08:49 <Uniaika> can nix be used to build haskell programs in a distributed fashion?
20:08:49 <monochrom> I wouldn't blame it on imperative thinking. In imperative programming, you wouldn't do it either unless you have an array, not a tree or linked list.
20:09:18 <merijn> __monty__: lol
20:09:21 <b4er> I agree that example can not be excused
20:09:59 <merijn> __monty__: Someone looked it up, of the 16 since 1973, 9 have fallen/resigned so my 40% number was actually on the low side for recent years :p
20:11:30 <__monty__> Uniaika: Yes but maybe not distributed in the way you want.
20:11:37 o1lo01ol1o joins (~o1lo01ol1@176.78.51.169)
20:11:46 _ht_ joins (~quassel@82-169-194-8.biz.kpn.net)
20:11:55 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Read error: Connection reset by peer)
20:12:21 <Uniaika> __monty__: (do I even know what I want…?)
20:13:34 <__monty__> Uniaika: Nix can distribute builds across remote builders. Where a build is an entire package.
20:13:43 × Tesseraction quits (~Tesseract@unaffiliated/tesseraction) (Remote host closed the connection)
20:15:47 <Uniaika> argh, so I would have to pre-package all my deps beforehand
20:15:49 <Uniaika> not great
20:16:05 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
20:16:25 × o1lo01ol1o quits (~o1lo01ol1@176.78.51.169) (Ping timeout: 264 seconds)
20:18:11 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
20:19:15 <devalot> Uniaika: All of Hackage has already been packaged up in nixpkgs. But if you have a lot of non-Hackage deps I can see where that'd be a problem.
20:20:17 <Uniaika> hmm, I don't have that requirement
20:21:50 jpds joins (~jpds@gateway/tor-sasl/jpds)
20:22:59 × acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 256 seconds)
20:23:44 <__monty__> It's distribution of builds also isn't in no way smart or advanced. It's basically do as many builds as allowed locally then in order of how "fast" remote builders are do as many builds as allowed on each. How fast a remote builder is is determined by a score you assign it in the configuration file. For each remote build the local machine fetches everything, then sends everything to the remote builder,
20:23:51 <__monty__> then fetches the results. (Though you can enable binary caches for each remote builder, combined with a local (to the remote builders) cache proxy this can offset a ton of unnecessary traffic.)
20:24:41 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Quit: WeeChat 2.9)
20:27:35 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
20:27:52 ph88_ joins (~ph88@2a02:8109:9e00:7e5c:fdfa:eb88:6763:9df5)
20:28:43 <Uniaika> __monty__: I was thinking of that because I'm going to get a slightly beefier computer at home tomorrow, and I was wondering if I could take advantage of both of them for building heavy Haskell deps
20:29:03 × ais_ quits (~ais@86.100.110.212) (Quit: Konversation terminated!)
20:29:11 <Uniaika> and it would require switching to nix for my project (which isn't too much of a bad thing)
20:29:48 <__monty__> Depending on how familiar you are with the nixpkgs haskell infra I'd recommend checking out haskell.nix.
20:30:08 nrh^ joins (nrh@ip98-184-89-2.mc.at.cox.net)
20:30:33 <__monty__> Uniaika: In such a case I highly recommend setting up a local cache proxy btw.
20:31:14 Tesseraction joins (~Tesseract@unaffiliated/tesseraction)
20:32:09 × ph88^ quits (~ph88@2a02:8109:9e00:7e5c:2086:3c20:f471:b7c2) (Ping timeout: 272 seconds)
20:32:33 × gnu-linuxera quits (~kvirc@89.35.63.16) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
20:34:27 conal joins (~conal@107.181.166.111)
20:35:43 × DavidEichmann quits (~david@234.109.45.217.dyn.plus.net) (Ping timeout: 260 seconds)
20:36:51 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
20:39:11 superstar64 joins (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net)
20:41:12 × _ashbreeze_ quits (~mark@64.85.214.234.reverse.socket.net) (Remote host closed the connection)
20:41:58 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
20:42:44 _ashbreeze_ joins (~mark@64.85.214.234.reverse.socket.net)
20:42:47 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 246 seconds)
20:43:31 Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362)
20:44:03 × rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Ping timeout: 240 seconds)
20:45:20 cheater joins (~user@unaffiliated/cheater)
20:47:05 FFIisANightmare joins (571ad876@host-87-26-216-118.business.telecomitalia.it)
20:48:41 <slack1256> Does anyone use `hasktorch` on nixos? What is the standard way to play with it on a repl?
20:50:21 <Uniaika> thanks __monty__
20:50:31 o1lo01ol1o joins (~o1lo01ol1@dsl-51-169.bl26.telepac.pt)
20:52:50 atraii joins (~atraii@c-98-32-64-84.hsd1.ut.comcast.net)
20:53:49 mctpyt joins (~mctpyt@unaffiliated/mctpyt)
20:54:25 × FFIisANightmare quits (571ad876@host-87-26-216-118.business.telecomitalia.it) (Quit: Connection closed)
20:55:48 FFIisANightmare joins (571ad876@host-87-26-216-118.business.telecomitalia.it)
20:55:54 <ij> merijn, I figured out why I think so: because I rewrote pure access code to IO access code, which is not optimized in every place, so
20:56:57 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
20:57:03 <ij> (accidental enter too early) anyway, so some things might be accessed twice with the same index, but it's IO, so you couldn't detect that it's going to be the same data
20:57:35 <merijn> ij: Optimistic if you think the compiler will magically detect that in the pure case...
20:57:48 <ij> probably
20:58:32 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
20:59:03 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
21:01:54 acidjnk_new joins (~acidjnk@p200300d0c704e72889e508a3ead3d306.dip0.t-ipconnect.de)
21:02:38 × _ht_ quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
21:03:28 carlomagno joins (~cararell@148.87.23.7)
21:03:53 mirrorbird joins (~psutcliff@2a00:801:446:b70b:607:9995:9930:4d27)
21:05:28 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-mbxdfsspznlskpfg) (Quit: Connection closed for inactivity)
21:06:21 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Remote host closed the connection)
21:07:27 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
21:09:59 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
21:10:30 jpds joins (~jpds@gateway/tor-sasl/jpds)
21:10:43 amerigo joins (uid331857@gateway/web/irccloud.com/x-mmjgktraxkstufqk)
21:14:08 × FFIisANightmare quits (571ad876@host-87-26-216-118.business.telecomitalia.it) (Ping timeout: 248 seconds)
21:15:47 × saitamaplus quits (uid272474@gateway/web/irccloud.com/x-wxoxutqrvtcmzjrx) (Quit: Connection closed for inactivity)
21:20:22 b3z joins (~b3z@vmd41962.contaboserver.net)
21:20:37 × knupfer quits (~Thunderbi@200116b82c6a67004c35ee1b32fb873c.dip.versatel-1u1.de) (Remote host closed the connection)
21:20:46 knupfer joins (~Thunderbi@200116b82c6a6700dde80dfd95534571.dip.versatel-1u1.de)
21:20:47 × atraii quits (~atraii@c-98-32-64-84.hsd1.ut.comcast.net) (Ping timeout: 256 seconds)
21:21:03 × BaneAliens2 quits (~BaneAlien@cpe-75-82-164-119.socal.res.rr.com) (Quit: WeeChat 1.7)
21:21:43 <b3z> I am trying to calculate Pi in haskell using the bailey-bowein-plouffe formula https://pastebin.com/Gua4pDN7
21:22:03 <b3z> But I get a parse error. What does that mean here and what am I doing wrong=
21:23:42 <merijn> You don't have the entire file, so how can we tell?
21:23:56 <merijn> Parse error on line 8, but you only have 3 lines of code...
21:24:11 <MarcelineVQ> you're missing a ) at least, as the error is suggesting
21:24:22 <ij> merijn, in this case I am quite sure the compiler would've optimized it before in this case
21:24:33 <b3z> merijn: above its just blank lines
21:24:57 <b3z> well that is what I thought as well, I have to double check again
21:24:57 × knupfer quits (~Thunderbi@200116b82c6a6700dde80dfd95534571.dip.versatel-1u1.de) (Read error: Connection reset by peer)
21:25:18 knupfer joins (~Thunderbi@200116b82c6a6700a91fa26f3f7d98b4.dip.versatel-1u1.de)
21:25:37 <b3z> oh okay, brackets in haskell are weired
21:25:42 <MarcelineVQ> You can check this by counting, you have 7 ( ​ and 6 )
21:26:00 <b3z> yes I made some mistake.
21:26:17 <merijn> Or better yet, don't have such a huge expression and assign them to some named variables >.>
21:26:32 <b3z> But if I have a function which takes 1 arg ist then e.g. x+1 counted as one or do I have to put brackets?
21:26:54 × knupfer quits (~Thunderbi@200116b82c6a6700a91fa26f3f7d98b4.dip.versatel-1u1.de) (Client Quit)
21:26:58 hyperisco joins (~hyperisco@104-195-141-253.cpe.teksavvy.com)
21:27:39 <hyperisco> so the span thing from yesterday… I see that it is deduplicating the work of evaluating the predicate
21:27:50 <Ariakenom> f x+1 is the same as (f x) + 1
21:28:11 <hyperisco> but to get the snd, even after completely traversing fst, it seems you have to follow a list of thunks just as long
21:28:30 <hyperisco> which is not what I was hoping for
21:28:45 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Quit: Lost terminal)
21:28:48 knupfer joins (~Thunderbi@200116b82c6a6700a8710fba33e9d71b.dip.versatel-1u1.de)
21:29:59 <Ariakenom> ^ b3z
21:30:02 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
21:30:05 <hyperisco> I think I need some unsafe effects
21:30:34 <hyperisco> the cost is not the predicate, it is the traversal, because the list is long
21:30:48 × kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection)
21:36:47 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
21:38:12 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
21:38:47 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 246 seconds)
21:40:03 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
21:42:12 <b3z> alright thanks
21:42:59 × geekosaur quits (ac3a3eac@172.58.62.172) (Quit: Ping timeout (120 seconds))
21:43:04 × superstar64 quits (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net) (Quit: Ping timeout (120 seconds))
21:44:39 superstar64 joins (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net)
21:46:03 <b3z> Okay now I got it to compile. But why is there no result getting out of this? https://pastebin.com/KtTSwfM4
21:46:16 × conal quits (~conal@107.181.166.111) (Quit: Computer has gone to sleep.)
21:46:16 ulidtko|k joins (~ulidtko@193.111.48.79)
21:46:34 <b3z> I also tried to make it more readable merijn
21:46:37 Wuzzy joins (~Wuzzy@p5790e034.dip0.t-ipconnect.de)
21:47:18 <b3z> fyi I just startet doing things in haskell so I am sorry for these beginner mistakes
21:50:25 × ulidtko|k quits (~ulidtko@193.111.48.79) (Ping timeout: 246 seconds)
21:50:41 GuerrillaMonkey joins (~Jeanne-Ka@static-198-54-134-138.cust.tzulo.com)
21:51:12 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
21:51:46 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
21:52:56 × Jeanne-Kamikaze quits (~Jeanne-Ka@static-198-54-134-137.cust.tzulo.com) (Ping timeout: 240 seconds)
21:54:54 howdoi joins (uid224@gateway/web/irccloud.com/x-ogsrfvagjsxkfags)
21:56:15 conal joins (~conal@89.187.182.122)
21:57:05 <__monty__> b3z: Integer division of 1 by something greater than 2 is 0 because the exact result is less than 0.5.
21:57:17 <__monty__> Maybe you want to use Doubles? Or Rational?
21:57:41 × lawid quits (~quassel@dslb-090-186-099-166.090.186.pools.vodafone-ip.de) (Read error: Connection reset by peer)
21:58:01 <b3z> Oh that's not automatically?
21:58:38 <__monty__> You're using integer division "quot" rather than regular division "/".
21:58:47 lawid joins (~quassel@dslb-090-186-099-166.090.186.pools.vodafone-ip.de)
21:58:53 <__monty__> > 1 `quot` 3
21:58:55 <lambdabot> 0
21:58:57 <__monty__> > 1 / 3
21:58:59 <lambdabot> 0.3333333333333333
21:59:19 <b3z> I see you have to be very precise in haskell
22:00:17 <b3z> So i'd the do something like > 1.0/18.0**2.0
22:00:19 <__monty__> You'd encounter the same problem in python. Most languages really.
22:00:52 × lassulus quits (~lassulus@NixOS/user/lassulus) (Remote host closed the connection)
22:01:11 × danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 246 seconds)
22:01:34 son0p joins (~son0p@181.136.122.143)
22:01:43 <b3z> But if you do 1/16.0 the result is a double? or what is the type then?
22:02:02 <b3z> is there a way to find out?
22:02:05 <ski> > 1/16.0
22:02:07 <lambdabot> 6.25e-2
22:02:12 <ski> > 1/16.0 :: Rational
22:02:14 <lambdabot> 1 % 16
22:02:45 <__monty__> b3z: It's whatever type is inferred for the position in the code.
22:02:55 <ski> @type 1/16
22:02:57 <lambdabot> Fractional a => a
22:03:59 <c_wraith> as for how to find out? use -Wall and it'll warn you if it has to pick a type. Otherwise it's whatever is inferred based on the types of things using it.
22:04:04 <ski> `18.0^2' should be just as fine as `18.0**2.0'
22:04:08 <mctpyt> b3z: you can use `:t` in ghci, it's pretty useful
22:04:30 <mctpyt> :t 1/16.0
22:04:31 <lambdabot> Fractional a => a
22:04:48 lassulus joins (~lassulus@NixOS/user/lassulus)
22:05:01 <b3z> But you can't do 16.0**2 right?
22:05:13 <ski> > 16.0**2
22:05:14 <__monty__> > 16.0 ** 2
22:05:15 <lambdabot> 256.0
22:05:16 <lambdabot> 256.0
22:05:18 <__monty__> >.<
22:05:20 <b3z> thanks for the advice everyone
22:05:30 <ski> numeric literals are overloaded
22:05:51 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
22:05:51 × heatsink quits (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c) (Remote host closed the connection)
22:06:06 <__monty__> b3z: You can but you can't pass an Int. The literal 2 here is interpreted as a Double (I think it depends on defaulting in this case?).
22:06:26 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
22:06:36 <ski> (yes)
22:07:25 <b3z> okay
22:08:16 <b3z> need to gain experience
22:09:43 <ski> `(^)' is for natural number exponents (so, non-negative integers). `(^^)' is for integer exponents in general. `(**)' is for floating-point exponents (and the base has to be the same type, in this case)
22:10:47 <ski> > 4 ^ 3 :: Integer
22:10:49 <lambdabot> 64
22:10:53 <ski> > 4 ^ (-1) :: Integer
22:10:55 <lambdabot> *Exception: Negative exponent
22:11:00 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 256 seconds)
22:11:06 <ski> > 4 ^^ (-1) :: Rational
22:11:08 <lambdabot> 1 % 4
22:11:21 <ski> > 4 ** (-1) :: Rational
22:11:24 <lambdabot> error:
22:11:24 <lambdabot> • No instance for (Floating Rational) arising from a use of ‘**’
22:11:24 <lambdabot> • In the expression: 4 ** (- 1) :: Rational
22:12:02 × knupfer quits (~Thunderbi@200116b82c6a6700a8710fba33e9d71b.dip.versatel-1u1.de) (Ping timeout: 264 seconds)
22:12:24 <b3z> Okay now i have a valid program https://pastebin.com/HherScqW
22:12:55 <b3z> But Still its not pi. Are there any syntax related issues you can spot?
22:13:18 <b3z> or does my formula just not work the way I want it to.
22:13:48 <b3z> I am trying to implement this one https://en.wikipedia.org/wiki/Bailey–Borwein–Plouffe_formula
22:14:41 Forlorn joins (~Forlorn@unaffiliated/forlorn)
22:14:45 × Marissa quits (Marissa@33.anserq.com) (Ping timeout: 272 seconds)
22:16:31 × jpds quits (~jpds@gateway/tor-sasl/jpds) (*.net *.split)
22:16:31 × ChaiTRex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (*.net *.split)
22:16:31 × hexo quits (~hexo@gateway/tor-sasl/hexo) (*.net *.split)
22:16:31 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (*.net *.split)
22:16:31 × hekkaidekapus} quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (*.net *.split)
22:16:31 × tomboy64 quits (~tomboy64@gateway/tor-sasl/tomboy64) (*.net *.split)
22:16:31 × srk quits (~sorki@gateway/tor-sasl/sorki) (*.net *.split)
22:16:31 × cantstanya quits (~chatting@gateway/tor-sasl/cantstanya) (*.net *.split)
22:16:31 × xelxebar quits (~xelxebar@gateway/tor-sasl/xelxebar) (*.net *.split)
22:16:31 × andreas303 quits (~andreas@gateway/tor-sasl/andreas303) (*.net *.split)
22:16:31 × vgtw quits (~vgtw@gateway/tor-sasl/vgtw) (*.net *.split)
22:16:31 × jb55 quits (~jb55@gateway/tor-sasl/jb55) (*.net *.split)
22:16:31 × denisse quits (~spaceCat@gateway/tor-sasl/alephzer0) (*.net *.split)
22:18:19 × mmmattyx quits (uid17782@gateway/web/irccloud.com/x-qvjkocemxgyxrpwr) (Quit: Connection closed for inactivity)
22:20:44 rnat2 joins (uid73555@gateway/web/irccloud.com/x-wfatpatakuejpveq)
22:20:46 Marissa joins (Marissa@33.anserq.com)
22:22:40 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Remote host closed the connection)
22:22:42 xelxebar joins (~xelxebar@gateway/tor-sasl/xelxebar)
22:22:44 jpds joins (~jpds@gateway/tor-sasl/jpds)
22:22:53 srk joins (~sorki@gateway/tor-sasl/sorki)
22:22:55 vgtw joins (~vgtw@gateway/tor-sasl/vgtw)
22:22:56 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
22:22:56 hekkaidekapus} joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
22:23:30 hexo joins (~hexo@gateway/tor-sasl/hexo)
22:23:33 denisse joins (~spaceCat@gateway/tor-sasl/alephzer0)
22:23:39 jb55 joins (~jb55@gateway/tor-sasl/jb55)
22:24:49 <ski> b3z : because you're not including the term for `n = 0'
22:25:05 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
22:25:20 <b3z> why you mean? in the pattern matching? ski
22:25:29 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
22:26:18 <ski> the thing (depending on `n') you add to your accumulator `pi', in each step -- you're not adding this, when `n' is zero
22:27:11 <ski> also, since you're counting `n' down, i think you'd better use an integral type for it, rather than a floating-point type. you can use `fromIntegral' to convert
22:27:17 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
22:27:37 <__monty__> > (1e16 :: Double) - 1
22:27:39 <lambdabot> 1.0e16
22:27:46 <__monty__> b3z: To avoid things like this ^
22:27:53 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
22:27:56 andreas303 joins (~andreas@gateway/tor-sasl/andreas303)
22:28:15 bitmagie joins (~Thunderbi@200116b806e3f600f1149994c5b1b9f3.dip.versatel-1u1.de)
22:28:24 ChaiTRex joins (~ChaiTRex@gateway/tor-sasl/chaitrex)
22:29:20 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
22:29:36 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
22:29:38 cantstanya joins (~chatting@gateway/tor-sasl/cantstanya)
22:30:06 <b3z> wow you are a genius
22:30:15 MorrowM joins (~Moshe@bzq-110-168-31-106.red.bezeqint.net)
22:30:22 <b3z> Ye was the missing last with n=0
22:31:07 <ski> also, i think it'd be better to not have the user have to supply the initial value for the accumulator
22:31:23 × slack1256 quits (~slack1256@dvc-186-186-101-190.movil.vtr.net) (Remote host closed the connection)
22:31:27 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
22:31:37 <b3z> Yes but I don't know how to do it another way :D
22:31:46 × klardotsh quits (~klardotsh@c-71-231-242-112.hsd1.wa.comcast.net) (Quit: WeeChat 3.0)
22:32:13 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
22:32:15 <b3z> pi is initially pi = 0 so there is no need to have it as an argument which is give by the user.
22:32:41 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood)
22:33:07 <ski> just make a separate function that provides the initial value
22:33:09 <b3z> So would the way be to make it in a lambda function?
22:33:09 × Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Read error: Connection reset by peer)
22:33:18 <b3z> Oh. Yeah or like this.
22:33:24 <ski> (and then you could make the first function local to the new one)
22:33:37 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
22:33:53 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
22:33:55 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
22:34:05 × Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.)
22:35:12 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Remote host closed the connection)
22:35:14 × conal quits (~conal@89.187.182.122) (Quit: Computer has gone to sleep.)
22:35:41 klardotsh joins (~klardotsh@c-71-231-242-112.hsd1.wa.comcast.net)
22:35:46 × natechan quits (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
22:35:55 conal joins (~conal@89.187.182.122)
22:35:55 × conal quits (~conal@89.187.182.122) (Client Quit)
22:36:07 × Franciman quits (~francesco@host-82-48-174-127.retail.telecomitalia.it) (Quit: Leaving)
22:36:11 × bitmagie quits (~Thunderbi@200116b806e3f600f1149994c5b1b9f3.dip.versatel-1u1.de) (Quit: bitmagie)
22:36:43 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 256 seconds)
22:36:47 heatsink joins (~heatsink@2600:1700:bef1:5e10:9c4:aae8:1d85:eb8c)
22:38:36 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
22:40:57 <b3z> alright thanks So this is the running solution https://pastebin.com/ZcXdcnFM
22:41:24 <b3z> But right now my result has only 15 digits after the comma. Is there a smart way to get it more precise?
22:43:55 <superstar64> i have 60 class and 210 instances in 1.7k lines of haskell, how awful is this?
22:44:05 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
22:44:58 <superstar64> i might be taking this tagless final thing too far
22:45:23 xsperry joins (~as@unaffiliated/xsperry)
22:46:52 conal joins (~conal@198.8.81.52)
22:47:05 elliott__ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
22:55:25 × kottt quits (~kottt@178.162.209.171) (Remote host closed the connection)
22:55:48 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
23:03:24 Ayo joins (~quassel@82.177.83.189)
23:04:05 × LKoen quits (~LKoen@119.169.9.109.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
23:05:13 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:05:22 vappend joins (~ezrakilty@75-172-109-5.tukw.qwest.net)
23:05:38 ADG1089__ joins (~aditya@122.163.165.143)
23:06:02 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 256 seconds)
23:06:14 tomsen[m] joins (tttommatri@gateway/shell/matrix.org/x-ctfeckgysjdwuhsb)
23:06:14 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:06:25 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
23:06:35 ADG1089__ joins (~aditya@122.163.165.143)
23:06:45 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Ping timeout: 256 seconds)
23:06:53 <hyperisco> imagine you have a long list xs, and you want to know both sum xs and length xs
23:06:53 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
23:07:03 <hyperisco> pretty sure this is a classic example of something, but I don't recall what
23:07:11 × Guest57843 quits (~textual@2603-7000-3040-0000-c12c-929c-070d-5eab.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:07:13 <hyperisco> point is, you do not want to traverse the list twice
23:07:16 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
23:07:38 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:08:00 ADG1089__ joins (~aditya@122.163.165.143)
23:08:12 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Remote host closed the connection)
23:09:09 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:09:12 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:09:33 ADG1089__ joins (~aditya@122.163.165.143)
23:09:53 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
23:12:01 Chameleon1 joins (~Chameleon@84.39.116.180)
23:13:07 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 260 seconds)
23:13:09 × superstar64 quits (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net) (Quit: Connection closed)
23:13:53 superstar64 joins (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net)
23:13:56 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
23:14:16 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 240 seconds)
23:15:44 <dexterfoo> my multithreaded haskell program has been tested pretty thoroughly, but only on a single cpu server. what are the chances that it will be buggy when i run it on multi cpu server?
23:16:07 Tario joins (~Tario@200.119.185.193)
23:17:18 × hyperisco quits (~hyperisco@104-195-141-253.cpe.teksavvy.com) (Ping timeout: 260 seconds)
23:18:51 × GuerrillaMonkey quits (~Jeanne-Ka@static-198-54-134-138.cust.tzulo.com) (Quit: Leaving)
23:18:59 × Ayo quits (~quassel@82.177.83.189) (Killed (beckett.freenode.net (Nickname regained by services)))
23:19:01 Jeanne-Kamikaze joins (~Jeanne-Ka@static-198-54-134-138.cust.tzulo.com)
23:19:10 Ayo joins (~quassel@82.177.83.189)
23:19:18 christo_ joins (~chris@81.96.113.213)
23:19:40 tzh_ joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
23:19:47 DTZUZU_ joins (~DTZUZU@205.ip-149-56-132.net)
23:20:48 × son0p quits (~son0p@181.136.122.143) (Quit: leaving)
23:21:35 × DTZUZU quits (~DTZUZU@205.ip-149-56-132.net) (Read error: Connection reset by peer)
23:21:35 × xsperry quits (~as@unaffiliated/xsperry) (Ping timeout: 256 seconds)
23:21:35 × Forlorn quits (~Forlorn@unaffiliated/forlorn) (Ping timeout: 256 seconds)
23:21:35 × ayako quits (~bnq@herrokitty.com) (Ping timeout: 256 seconds)
23:21:36 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:21:37 thebnq joins (~bnq@herrokitty.com)
23:21:43 Forlorn joins (~Forlorn@unaffiliated/forlorn)
23:22:03 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Ping timeout: 256 seconds)
23:22:03 × lassulus quits (~lassulus@NixOS/user/lassulus) (Ping timeout: 256 seconds)
23:22:03 × raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
23:22:03 × christo quits (~chris@81.96.113.213) (Ping timeout: 256 seconds)
23:22:04 × obiwahn quits (~obiwahn@pdpc/supporter/student/obiwahn) (Ping timeout: 256 seconds)
23:22:04 ADG1089__ joins (~aditya@122.163.165.143)
23:22:26 lassulus joins (~lassulus@NixOS/user/lassulus)
23:22:31 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
23:22:39 obiwahn joins (~obiwahn@pdpc/supporter/student/obiwahn)
23:24:30 × Tario quits (~Tario@200.119.185.193) (Read error: Connection reset by peer)
23:25:06 Tario joins (~Tario@201.192.165.173)
23:26:19 <DigitalKiwi> 100%
23:27:24 × fendor quits (~fendor@178.165.128.107.wireless.dyn.drei.com) (Remote host closed the connection)
23:30:08 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:30:33 ADG1089__ joins (~aditya@122.163.165.143)
23:31:19 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:32:58 ADG1089__ joins (~aditya@122.163.165.143)
23:33:03 × Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Read error: Connection reset by peer)
23:33:04 × Ayo quits (~quassel@82.177.83.189) (Remote host closed the connection)
23:33:37 Ayo joins (~quassel@82.177.83.189)
23:33:54 × ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection)
23:34:16 tzh_ is now known as tzh
23:34:21 ADG1089__ joins (~aditya@122.163.165.143)
23:34:36 usr25 joins (~usr25@unaffiliated/usr25)
23:35:13 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
23:35:32 JJ15 joins (~JJ@2a00:23a8:4382:a900:d885:6491:c62c:fde1)
23:36:15 natechan joins (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net)
23:39:58 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving)
23:41:48 nineonine joins (~nineonine@S01061cabc0b095f3.vf.shawcable.net)
23:41:52 ADG1089_ joins (~adg1089@27.63.60.143)
23:41:53 × ADG1089_ quits (~adg1089@27.63.60.143) (Remote host closed the connection)
23:42:22 ADG1089_ joins (~adg1089@27.63.60.143)
23:42:24 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:42:53 × p-core quits (~Thunderbi@2001:718:1e03:5128:3697:eeda:19aa:8e56) (Quit: p-core)
23:43:10 p-core joins (~Thunderbi@2001:718:1e03:5128:3697:eeda:19aa:8e56)
23:45:51 ADG1089 joins (~aditya@27.63.60.143)
23:46:53 × nineonine quits (~nineonine@S01061cabc0b095f3.vf.shawcable.net) (Ping timeout: 246 seconds)
23:46:58 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
23:47:01 × ADG1089__ quits (~aditya@122.163.165.143) (Ping timeout: 264 seconds)
23:48:44 × conal quits (~conal@198.8.81.52) (Quit: Computer has gone to sleep.)
23:51:43 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
23:52:46 × b3z quits (~b3z@vmd41962.contaboserver.net) (Quit: cya)
23:53:11 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 246 seconds)
23:53:48 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
23:57:16 × mouseghost quits (~draco@wikipedia/desperek) (Quit: mew wew)
23:57:59 × ADG1089 quits (~aditya@27.63.60.143) (Quit: Konversation terminated!)
23:58:18 ADG1089__ joins (~aditya@27.63.60.143)
23:58:24 b3z joins (~b3z@vmd41962.contaboserver.net)
23:58:38 × Ayo quits (~quassel@82.177.83.189) (Read error: Connection reset by peer)
23:59:01 conal joins (~conal@64.71.133.70)
23:59:08 writenix joins (~quassel@a83-132-66-215.cpe.netcabo.pt)
23:59:10 × vappend quits (~ezrakilty@75-172-109-5.tukw.qwest.net) (Remote host closed the connection)
23:59:18 Ayo joins (~quassel@82.177.83.189)

All times are in UTC on 2021-01-17.