Home liberachat/#haskell: Logs Calendar

Logs on 2022-04-18 (liberachat/#haskell)

00:03:36 ishaanv[m] is now known as ishaan[m]
00:05:13 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
00:06:05 redb joins (~nmh@136.49.49.211)
00:08:47 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
00:09:22 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
00:09:56 × ishaan quits (~ishaan@122.161.53.177) (Quit: Client closed)
00:10:27 geekosaur joins (~geekosaur@xmonad/geekosaur)
00:10:49 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
00:10:52 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
00:11:06 redb joins (~nmh@136.49.49.211)
00:12:27 × abiss27 quits (~abiss27@user/abiss) (Quit: hasta la vista... tchau!)
00:12:27 × RegularTetragon quits (~vince@199.168.73.169) (Ping timeout: 260 seconds)
00:13:16 × xff0x_ quits (~xff0x@om126033110024.35.openmobile.ne.jp) (Ping timeout: 246 seconds)
00:15:43 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
00:20:01 × Unicorn_Princess quits (~Unicorn_P@93-103-228-248.dynamic.t-2.net) (Remote host closed the connection)
00:21:08 × kaph quits (~kaph@151.57.116.124) (Read error: Connection reset by peer)
00:21:26 redb joins (~nmh@136.49.49.211)
00:21:37 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
00:22:07 kaph joins (~kaph@151.57.116.124)
00:23:25 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
00:26:13 stackdroid18 joins (14094@user/stackdroid)
00:26:44 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
00:26:50 × redb quits (~nmh@136.49.49.211) (Ping timeout: 250 seconds)
00:27:38 redb joins (~nmh@136.49.49.211)
00:31:52 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
00:34:12 awshua joins (~awshua@111.sub-174-204-193.myvzw.com)
00:39:08 EsoAlgo joins (~EsoAlgo@129.146.136.145)
00:39:30 <abastro[m]> Yea 9.2.2 is usable
00:39:39 <abastro[m]> Unless you are me and experiencing subtle crash problems
00:40:00 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
00:40:08 <jerry99> ghc pr ghci crash, or programs that you compile with ghc?
00:40:11 <jerry99> or*
00:40:27 <abastro[m]> Programs compiled with GHC
00:40:38 <jerry99> hmm
00:40:43 <jerry99> what OS?
00:41:56 <abastro[m]> Linux
00:41:58 <jerry99> I don't think I've ever experienced my haskell program crashing (as in segfaulting without an exception), except when I fiddled with FFI
00:42:12 <abastro[m]> Well, if it matters, ubuntu
00:42:13 <abastro[m]> That is the thing
00:42:22 <abastro[m]> It is hard to pinpoint the reason
00:42:27 redb joins (~nmh@136.49.49.211)
00:42:30 <geekosaur> I spent most of a day trying to reproduce it without success
00:42:33 <abastro[m]> Just somehow, some combination of program& ghc makes it crash
00:42:41 <geekosaur> it'sheap corruption detected during a gc
00:42:41 <abastro[m]> Within certain condition
00:43:18 <abastro[m]> geekosaur: Did you try loading from XMONAD_CONFIG_DIR?
00:43:22 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
00:43:25 × oxide quits (~lambda@user/oxide) (Quit: oxide)
00:43:27 jpds joins (~jpds@gateway/tor-sasl/jpds)
00:43:52 <geekosaur> not yet, I had to leave shortly thereafter and haven't had a chance this evening, and probably won't get a chance tomorrow as I'll be out and about
00:44:40 <abastro[m]> I see, this bug is quite sneaky tbh
00:45:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
00:46:49 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
00:46:52 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
00:50:15 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
00:50:21 <awshua> Is www.haskel.org down?
00:50:38 <awshua> *www.haskell.org
00:51:02 <exarkun> http://status.haskell.org/pages/incident/537c07b0cf1fad5830000093/625c69cdfcbdd204d4df5603
00:51:24 zaquest joins (~notzaques@5.130.79.72)
00:51:30 <awshua> Thanks
00:54:36 xff0x_ joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
00:54:36 stackdroid18 parts (14094@user/stackdroid) ()
00:56:56 redb joins (~nmh@136.49.49.211)
00:57:51 × awshua quits (~awshua@111.sub-174-204-193.myvzw.com) (Remote host closed the connection)
00:58:46 <geekosaur> just tried it, still doesn't reproduce
01:01:06 mbuf joins (~Shakthi@122.162.139.142)
01:01:13 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
01:01:36 andrey_ joins (~andrey@p200300dbcf03db006e147a6ae5b6765f.dip0.t-ipconnect.de)
01:03:05 <sm> nice to see the status page working 👍️
01:03:47 × andrey quits (~andrey@p200300dbcf4bfe0086461f96dc127065.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
01:04:13 × cheater quits (~Username@user/cheater) (Read error: Connection reset by peer)
01:04:48 vicfred joins (~vicfred@user/vicfred)
01:05:09 redb joins (~nmh@136.49.49.211)
01:07:57 <abastro[m]> Hmm I wonder if it is my strange system setup
01:08:03 <abastro[m]> I mean, I think my setup is normal
01:08:06 cheater joins (~Username@user/cheater)
01:08:21 <abastro[m]> But I guess somehow it can be considered awkward
01:08:36 <abastro[m]> Perhaps it is underlying ubuntu not liking something?
01:09:16 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
01:10:38 redb joins (~nmh@136.49.49.211)
01:10:56 <geekosaur> no idea :(
01:12:24 <geekosaur> do you set any other of the XMONAD_*_DIR variables?
01:13:32 deadmarshal_ joins (~deadmarsh@95.38.117.118)
01:14:29 <abastro[m]> Yep
01:15:11 <abastro[m]> All of:
01:15:11 <abastro[m]> XMONAD_CONFIG_DIR,
01:15:11 <abastro[m]> XMONAD_CACHE_DIR,
01:15:11 <abastro[m]> XMONAD_DATA_DIR
01:17:40 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
01:17:44 × deadmarshal_ quits (~deadmarsh@95.38.117.118) (Ping timeout: 248 seconds)
01:19:54 <geekosaur> still not reproducing :(
01:20:05 <geekosaur> can you pastebin what they're set to?
01:20:09 <geekosaur> @where paste
01:20:09 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
01:22:18 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 250 seconds)
01:22:34 redb joins (~nmh@136.49.49.211)
01:26:09 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:26:48 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
01:27:05 <geekosaur> aaand my sleep monitor just started whining because I'm not in bed yet. will check back tomorrow morning
01:28:57 abastro joins (~abab9579@220.75.216.63)
01:29:19 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
01:29:36 abastro joins (~abab9579@220.75.216.63)
01:29:56 <abastro[m]> Oh, I see
01:30:34 redb joins (~nmh@136.49.49.211)
01:36:10 jf_ joins (~jf@bras-base-gtnupq1404w-grc-40-184-145-232-206.dsl.bell.ca)
01:47:50 × abastro quits (~abab9579@220.75.216.63) ()
01:47:55 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
01:48:36 abastro joins (~abab9579@220.75.216.63)
01:49:16 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
02:01:07 andrey__ joins (~andrey@p200300dbcf08ce00369dc5da8f950839.dip0.t-ipconnect.de)
02:03:36 × andrey_ quits (~andrey@p200300dbcf03db006e147a6ae5b6765f.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
02:03:47 <statusbot> Status update: There is a hardware issue with our server. Our service provider is working on a fix, but things will likely not be resolved until Monday. -- http://status.haskell.org/pages/incident/537c07b0cf1fad5830000093/625c69cdfcbdd204d4df5603
02:03:53 × lemonsnicks quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Quit: ZNC 1.8.2 - https://znc.in)
02:06:38 deadmarshal_ joins (~deadmarsh@95.38.117.118)
02:10:47 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 256 seconds)
02:11:21 × deadmarshal_ quits (~deadmarsh@95.38.117.118) (Ping timeout: 256 seconds)
02:11:57 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
02:11:57 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
02:11:57 wroathe joins (~wroathe@user/wroathe)
02:14:41 frost joins (~frost@user/frost)
02:15:06 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
02:16:07 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 260 seconds)
02:17:28 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds)
02:19:29 lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
02:23:18 × jerry99 quits (~339ea5e9@cerf.good1.com) (Quit: CGI:IRC)
02:24:10 jerry99 joins (~339ea5e9@cerf.good1.com)
02:24:20 × jerry99 quits (~339ea5e9@cerf.good1.com) (Client Quit)
02:28:44 jerry99 joins (~339ea5e9@cerf.good1.com)
02:28:55 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
02:32:59 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
02:33:47 × Batzy quits (~quassel@user/batzy) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
02:36:15 Batzy joins (~quassel@user/batzy)
02:37:18 × jf_ quits (~jf@bras-base-gtnupq1404w-grc-40-184-145-232-206.dsl.bell.ca) (Quit: Leaving)
02:39:59 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
02:40:07 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 240 seconds)
02:42:21 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:42:25 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
02:42:25 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
02:42:25 wroathe joins (~wroathe@user/wroathe)
02:43:28 AlexNoo_ joins (~AlexNoo@178.34.150.20)
02:43:35 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
02:45:09 × AlexNoo quits (~AlexNoo@178.34.150.20) (Read error: Connection reset by peer)
02:45:30 × lottaquestions quits (~nick@2607:fa49:5041:a200:e015:4a6a:8224:d2c6) (Remote host closed the connection)
02:45:55 lottaquestions joins (~nick@2607:fa49:5041:a200:5fb5:5ae2:e3c1:daee)
02:46:29 × kilolympus quits (~kilolympu@31.205.200.235) (Ping timeout: 256 seconds)
02:46:36 alphabeta joins (~kilolympu@31.205.200.235)
02:51:43 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
02:55:40 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
03:03:29 × kaph quits (~kaph@151.57.116.124) (Read error: Connection reset by peer)
03:04:04 kaph joins (~kaph@151.82.145.67)
03:04:40 × russruss quits (~russruss@my.russellmcc.com) (Quit: Ping timeout (120 seconds))
03:04:59 russruss joins (~russruss@my.russellmcc.com)
03:13:39 deadmarshal_ joins (~deadmarsh@95.38.117.118)
03:13:47 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
03:18:08 × inversed quits (~inversed@94.13.111.159) (Ping timeout: 272 seconds)
03:18:16 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 248 seconds)
03:20:24 × deadmarshal_ quits (~deadmarsh@95.38.117.118) (Ping timeout: 248 seconds)
03:21:44 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
03:22:43 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
03:24:50 × frost quits (~frost@user/frost) (Quit: Client closed)
03:25:08 frost joins (~frost@user/frost)
03:27:51 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
03:31:15 × frost quits (~frost@user/frost) (Quit: Client closed)
03:38:50 abastro joins (~abab9579@220.75.216.63)
03:40:03 Macbethwin joins (~chargen@D964062A.static.ziggozakelijk.nl)
03:44:08 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
03:44:46 cdman joins (~dcm@27.2.217.49)
03:44:46 × cdman quits (~dcm@27.2.217.49) (Changing host)
03:44:46 cdman joins (~dcm@user/dmc/x-4369397)
03:45:16 inversed joins (~inversed@94.13.111.159)
03:54:49 benin joins (~benin@183.82.204.110)
03:55:15 <abastro[m]> `documentation: True` in cabal.project does not provide documentation for code.. guess it is distinct from -haddock :(
03:55:28 pagnol joins (~user@014198154145.ctinets.com)
03:55:56 <abastro[m]> I guess I cannot have `-haddock` on by default.
03:58:48 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
04:01:20 <dmj`> any recommendations on a javascript generation library?
04:01:35 <dmj`> thinking jmacro is the way to go
04:02:02 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
04:02:57 Macbethwin is now known as Edwin
04:03:04 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
04:03:34 <dmj`> or language-javascript
04:08:52 dyeplexer joins (~dyeplexer@user/dyeplexer)
04:10:33 <zebrag> It is incredibly powerful what can be done with plain gadts, I'm thinking to the R/B-trees. I'm wondering what circumstances necessitate the full fledged dependent types.
04:12:30 <zebrag> I say that mostly as a reminder, because I'm not sure I could understand the answer, right now
04:21:16 × atrptoom^ quits (~atrptoom@50-192-56-193-static.hfc.comcastbusiness.net) (Remote host closed the connection)
04:32:37 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
04:42:04 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 250 seconds)
04:45:28 deadmarshal_ joins (~deadmarsh@95.38.117.118)
04:45:30 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
04:48:32 cafkafk joins (~cafkafk@user/cafkafk)
04:52:07 × kaph quits (~kaph@151.82.145.67) (Ping timeout: 240 seconds)
04:56:46 × pagnol quits (~user@014198154145.ctinets.com) (Ping timeout: 246 seconds)
05:00:49 pagnol joins (~user@014198154145.ctinets.com)
05:05:55 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
05:06:55 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
05:07:32 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
05:08:44 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
05:09:08 coot joins (~coot@213.134.190.95)
05:10:22 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
05:13:33 awshua joins (~awshua@035-132-189-162.res.spectrum.com)
05:19:29 × awshua quits (~awshua@035-132-189-162.res.spectrum.com) (Quit: Igloo IRC: https://iglooirc.com)
05:24:14 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
05:30:41 <mjrosenb> Is there an equivalent to Read for Data.Text?
05:31:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
05:31:54 × pranaysashank quits (ef3e56ca8b@2604:bf00:561:2000::3c4) (Remote host closed the connection)
05:32:03 fvr joins (ef3e56ca8b@2604:bf00:561:2000::3c4)
05:34:41 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
05:42:07 × cafkafk quits (~cafkafk@user/cafkafk) (Quit: WeeChat 3.3)
05:42:34 cafkafk joins (~cafkafk@user/cafkafk)
05:43:48 × MasseR46 quits (~MasseR@51.15.143.128) (*.net *.split)
05:43:48 × Profpatsch quits (~Profpatsc@static.88-198-193-255.clients.your-server.de) (*.net *.split)
05:43:48 × noctux quits (~noctux@user/noctux) (*.net *.split)
05:43:48 × ornxka quits (~ornxka@user/ornxka) (*.net *.split)
05:43:48 × koolazer quits (~koo@user/koolazer) (*.net *.split)
05:43:48 × aforemny quits (~aforemny@static.248.158.34.188.clients.your-server.de) (*.net *.split)
05:43:48 × urdh quits (~urdh@user/urdh) (*.net *.split)
05:43:48 × Teacup quits (~teacup@user/teacup) (*.net *.split)
05:43:48 × w1gz quits (~do@159.89.11.133) (*.net *.split)
05:43:48 × martin02_ quits (~silas@141.84.69.76) (*.net *.split)
05:43:48 × [exa] quits (exa@user/exa/x-3587197) (*.net *.split)
05:43:48 × caubert quits (~caubert@136.244.111.235) (*.net *.split)
05:43:48 × Dorkside6 quits (~dorkside@208.190.197.222) (*.net *.split)
05:43:48 × derelict quits (~derelict@user/derelict) (*.net *.split)
05:43:48 × koz quits (~koz@121.99.240.58) (*.net *.split)
05:43:55 [exa] joins (exa@srv3.blesmrt.net)
05:43:55 noctux joins (~noctux@user/noctux)
05:44:05 Dorkside6 joins (~dorkside@208.190.197.222)
05:44:06 Teacup joins (~teacup@user/teacup)
05:44:09 caubert joins (~caubert@136.244.111.235)
05:44:16 koolazer joins (~koo@user/koolazer)
05:44:17 derelict joins (~derelict@user/derelict)
05:44:23 MasseR46 joins (~MasseR@51.15.143.128)
05:44:25 martin02_ joins (~silas@141.84.69.76)
05:44:25 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
05:44:25 ornxka joins (~ornxka@user/ornxka)
05:44:25 Profpatsch joins (~Profpatsc@static.88-198-193-255.clients.your-server.de)
05:44:28 <cafkafk> mjrosenb: I think so, (https://hackage.haskell.org/package/text-2.0/docs/Data-Text.html#t:Read)
05:44:32 koz joins (~koz@121.99.240.58)
05:44:35 urdh joins (~urdh@user/urdh)
05:44:41 w1gz joins (~do@159.89.11.133)
05:45:07 aforemny joins (~aforemny@static.248.158.34.188.clients.your-server.de)
05:46:54 <mjrosenb> cafkafk: that's saying that you can convert a String to Text via read, e.g. read "hello" :: Text == pack "hello"
05:47:27 × deadmarshal_ quits (~deadmarsh@95.38.117.118) (Ping timeout: 240 seconds)
05:47:36 <mjrosenb> I want textRead :: TextRead a => Text -> a
05:48:15 × noiobeforebed quits (~noiobefor@2001:470:69fc:105::1:3c2d) (*.net *.split)
05:48:15 × Adran quits (adran@botters/adran) (*.net *.split)
05:48:15 × remexre quits (~remexre@user/remexre) (*.net *.split)
05:48:15 × nckx quits (~nckx@tobias.gr) (*.net *.split)
05:48:15 × cln quits (sid336875@id-336875.ilkley.irccloud.com) (*.net *.split)
05:48:15 × koala_man quits (~vidar@157.146.251.23.bc.googleusercontent.com) (*.net *.split)
05:48:15 × rune quits (sid21167@id-21167.ilkley.irccloud.com) (*.net *.split)
05:48:15 × Hash quits (~Hash@hey.howstoned.ru) (*.net *.split)
05:48:15 × amesgen[m] quits (~amesgenm]@2001:470:69fc:105::82b) (*.net *.split)
05:48:15 × Deide quits (~deide@user/deide) (*.net *.split)
05:48:15 × tafa quits (~tafa@user/tafa) (*.net *.split)
05:48:15 × jiribenes quits (~jiribenes@rosa.jiribenes.com) (*.net *.split)
05:48:15 × noddy quits (~user@user/noddy) (*.net *.split)
05:48:15 × corisco[m] quits (~coriscokd@2001:470:69fc:105::1:dea6) (*.net *.split)
05:48:15 × AdamS[m] quits (~adamvalko@2001:470:69fc:105::1:d5f0) (*.net *.split)
05:48:15 × hughjfchen[m] quits (~hughjfche@2001:470:69fc:105::c29d) (*.net *.split)
05:48:16 × SridharRatnakuma quits (~sridmatri@2001:470:69fc:105::1c2) (*.net *.split)
05:48:16 × Guillaum[m] quits (~guiboumat@2001:470:69fc:105::1:72ac) (*.net *.split)
05:48:16 × jneira[m] quits (~jneiramat@2001:470:69fc:105::d729) (*.net *.split)
05:48:16 × euphrates[m] quits (~euphrates@2001:470:69fc:105::fbb5) (*.net *.split)
05:48:16 × DemiMarieObenour quits (~alwayscur@2001:470:69fc:105::4886) (*.net *.split)
05:48:16 × Orbstheorem quits (~orbstheor@2001:470:69fc:105::a56) (*.net *.split)
05:48:16 × jakalx quits (~jakalx@base.jakalx.net) (*.net *.split)
05:48:16 × thonkpod_ quits (~thonkpod@user/thonkpod) (*.net *.split)
05:48:16 × farn quits (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505) (*.net *.split)
05:48:16 × jonrh quits (sid5185@id-5185.ilkley.irccloud.com) (*.net *.split)
05:48:16 × gonz_____ quits (sid304396@id-304396.lymington.irccloud.com) (*.net *.split)
05:48:16 × supersven quits (sid501114@id-501114.ilkley.irccloud.com) (*.net *.split)
05:48:16 × lally quits (sid388228@id-388228.uxbridge.irccloud.com) (*.net *.split)
05:48:16 × dsal quits (sid13060@id-13060.lymington.irccloud.com) (*.net *.split)
05:48:16 × ehamberg quits (sid18208@id-18208.hampstead.irccloud.com) (*.net *.split)
05:48:16 × lexi-lambda quits (sid92601@id-92601.hampstead.irccloud.com) (*.net *.split)
05:48:16 × Arsen quits (arsen@managarm/dev/Arsen) (*.net *.split)
05:48:16 × kaol quits (~kaol@94-237-42-30.nl-ams1.upcloud.host) (*.net *.split)
05:48:16 × nerdypepper quits (~nerdypepp@user/nerdypepper) (*.net *.split)
05:48:16 × cls quits (~cls@chalk.lubutu.com) (*.net *.split)
05:48:16 × TMA quits (tma@twin.jikos.cz) (*.net *.split)
05:48:16 × telser quits (~quassel@user/telser) (*.net *.split)
05:48:16 × tureba quits (~tureba@tureba.org) (*.net *.split)
05:48:16 × ikke quits (~kevin@alpine/developer/ikke) (*.net *.split)
05:48:16 × reda_ quits (~reda@user/reda) (*.net *.split)
05:48:23 kaol joins (~kaol@94-237-42-30.nl-ams1.upcloud.host)
05:48:25 rune joins (sid21167@id-21167.ilkley.irccloud.com)
05:48:25 Arsen joins (arsen@managarm/dev/Arsen)
05:48:26 supersven joins (sid501114@id-501114.ilkley.irccloud.com)
05:48:27 cls joins (~cls@chalk.lubutu.com)
05:48:28 reda joins (~reda@user/reda)
05:48:30 jonrh joins (sid5185@id-5185.ilkley.irccloud.com)
05:48:30 ehamberg joins (sid18208@id-18208.hampstead.irccloud.com)
05:48:30 koala_man joins (~vidar@157.146.251.23.bc.googleusercontent.com)
05:48:31 lexi-lambda joins (sid92601@id-92601.hampstead.irccloud.com)
05:48:32 TMA joins (tma@twin.jikos.cz)
05:48:39 lally joins (sid388228@id-388228.uxbridge.irccloud.com)
05:48:39 gonz_____ joins (sid304396@id-304396.lymington.irccloud.com)
05:48:43 dsal joins (sid13060@id-13060.lymington.irccloud.com)
05:48:50 farn joins (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505)
05:48:52 telser joins (~quassel@user/telser)
05:48:54 cln joins (sid336875@id-336875.ilkley.irccloud.com)
05:48:55 thonkpod_ joins (~thonkpod@2001:19f0:ac01:b46:5400:1ff:fec7:d73d)
05:48:57 tureba joins (~tureba@tureba.org)
05:48:59 × thonkpod_ quits (~thonkpod@2001:19f0:ac01:b46:5400:1ff:fec7:d73d) (Changing host)
05:48:59 thonkpod_ joins (~thonkpod@user/thonkpod)
05:49:08 jiribenes joins (~jiribenes@rosa.jiribenes.com)
05:49:09 tafa joins (~tafa@user/tafa)
05:49:10 Hash joins (~Hash@hey.howstoned.ru)
05:49:16 nckx joins (~nckx@tobias.gr)
05:49:21 ikke joins (~kevin@alpine/developer/ikke)
05:49:28 remexre joins (~remexre@user/remexre)
05:50:13 nerdypepper joins (~nerdypepp@user/nerdypepper)
05:50:30 SridharRatnakuma joins (~sridmatri@2001:470:69fc:105::1c2)
05:51:02 euphrates[m] joins (~euphrates@2001:470:69fc:105::fbb5)
05:51:11 Guillaum[m] joins (~guiboumat@2001:470:69fc:105::1:72ac)
05:51:13 amesgen[m] joins (~amesgenm]@2001:470:69fc:105::82b)
05:51:16 jneira[m] joins (~jneiramat@2001:470:69fc:105::d729)
05:51:25 Adran joins (adran@botters/adran)
05:52:54 hughjfchen[m] joins (~hughjfche@2001:470:69fc:105::c29d)
05:52:54 AdamS[m] joins (~adamvalko@2001:470:69fc:105::1:d5f0)
05:52:55 corisco[m] joins (~coriscokd@2001:470:69fc:105::1:dea6)
05:53:40 noiobeforebed joins (~noiobefor@2001:470:69fc:105::1:3c2d)
05:54:06 Deide joins (~deide@user/deide)
05:54:07 × pagnol quits (~user@014198154145.ctinets.com) (Ping timeout: 240 seconds)
05:55:08 × cafkafk quits (~cafkafk@user/cafkafk) (Quit: WeeChat 3.3)
05:56:49 Orbstheorem joins (~orbstheor@2001:470:69fc:105::a56)
05:57:00 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:57:10 DemiMarieObenour joins (~alwayscur@2001:470:69fc:105::4886)
06:02:27 dlromw^ joins (~dlromw@50-192-56-193-static.hfc.comcastbusiness.net)
06:02:53 × califax quits (~califax@user/califx) (Remote host closed the connection)
06:03:09 califax joins (~califax@user/califx)
06:14:48 Pickchea joins (~private@user/pickchea)
06:18:25 × chenqisu1 quits (~chenqisu1@183.217.200.38) (Read error: Connection reset by peer)
06:18:44 chenqisu1 joins (~chenqisu1@183.217.200.38)
06:19:24 × chenqisu1 quits (~chenqisu1@183.217.200.38) (Max SendQ exceeded)
06:19:49 chenqisu1 joins (~chenqisu1@183.217.200.38)
06:34:03 mmhat joins (~mmh@55d48a03.access.ecotel.net)
06:34:46 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
06:35:54 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
06:40:08 acidjnk joins (~acidjnk@p200300d0c722df20b0b4ee78edd3ba7a.dip0.t-ipconnect.de)
06:42:52 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
06:47:45 fendor joins (~fendor@178.165.176.112.wireless.dyn.drei.com)
06:49:00 <energizer> is there a catalog of applications of monoids somewhere?
06:57:01 chomwitt joins (~chomwitt@2a02:587:dc00:4900:2e92:53e5:cedf:6bf7)
07:06:07 × shriekingnoise quits (~shrieking@201.231.16.156) (Quit: Quit)
07:08:42 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
07:09:47 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
07:13:04 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
07:13:12 <dragestil> hi does anyone know how to configure haskell-language-server to use dynamic linking when generating ghc compiling error / warning diagnostics? I'm on arch btw
07:13:16 × [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection)
07:13:50 [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz)
07:17:28 × Pickchea quits (~private@user/pickchea) (Ping timeout: 246 seconds)
07:21:44 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
07:22:16 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
07:24:18 zeenk joins (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94)
07:28:41 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
07:30:53 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
07:32:39 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
07:36:33 gehmehgeh joins (~user@user/gehmehgeh)
07:38:38 <abastro[m]> Why do you think error/warning diagnostics require dynamic linking? Unless you mean the dependencies
07:39:12 timCF joins (~timCF@200-149-20-81.sta.estpak.ee)
07:39:30 <abastro[m]> I guess you can modify cabal.project to change the dependencies to be linked dynamically.
07:39:45 <abastro[m]> Tho that also modifies how it will be built.
07:40:03 <dragestil> It's some typical error pointing to a missing -dynamic, something about files missing in base-4.15.1.0
07:40:28 <dragestil> reading hls docs it seems I need to fiddle with hie.yaml
07:40:38 <abastro[m]> Uhm that sounds more like some bug caused elsewhere
07:40:46 <abastro[m]> Oh.
07:40:50 <abastro[m]> Which platform?
07:40:56 <dragestil> huh?
07:40:58 <abastro[m]> (OS)
07:41:07 <dragestil> gnu/linux
07:42:19 <abastro[m]> Strange, I never faced the error involving base missing -dynamic
07:42:41 <abastro[m]> I think I heard of having to link dynamically in Windows, but not in linux
07:42:52 <dragestil> it's a perk with arch ;)
07:43:02 <abastro[m]> Wait
07:43:11 <abastro[m]> You using system ghc?
07:43:17 <dragestil> yeah
07:43:19 <abastro[m]> Installed by arch?
07:43:25 <abastro[m]> Ye don't do that
07:43:25 × jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Quit: Leaving)
07:43:49 <abastro[m]> Build tools have hard time dealing with those package-installed binaries.
07:44:24 <c_wraith> also, arch installs ghc broken
07:44:44 <abastro[m]> Is it inherently broken? Meh
07:44:51 <dragestil> hmm ok, don't really feel like installing two sets of haskell libraries
07:44:52 <timCF> Hello! I have an issue with one Haskell package, which has large auto-generated Haskell file (from protobuf document) which is bigger than 3MB. When I'm trying to compile this package on machine with RAM < 32GB then compiler fails because of lack of RAM. Maybe there is some easy way how I can fix that without manual job of splitting this auto-generated file into multiple?
07:45:03 <abastro[m]> I should link ghcup but ghcup is not responding
07:45:14 <abastro[m]> :ohno:
07:46:30 <abastro[m]> dragestil: Well I mean, you should never touch arch-shipped ghc. I.e. you should remove that one
07:47:02 <dragestil> abastro[m]: why?
07:49:13 <c_wraith> it doesn't include the whole compiler. they removed everything that is needed to support any use case other than compiling haskell tools that arch supplies
07:50:01 <abastro[m]> Oh, so arch ghc package at least works for building some tools on arch.
07:50:29 <abastro[m]> Where is ghcup mirror download link..
07:51:54 <abastro[m]> It seems arch supplies `ghcup-hs-bin` at least. Maybe that would work
07:56:00 Midjak joins (~Midjak@82.66.147.146)
07:57:30 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 250 seconds)
08:00:26 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:02:53 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:04:56 × jerry99 quits (~339ea5e9@cerf.good1.com) (Quit: CGI:IRC)
08:08:08 kaph joins (~kaph@151.57.96.74)
08:19:26 <dragestil> abastro[m]: yeah looks like the git repo is still up https://gitlab.haskell.org/haskell/ghcup-hs
08:20:38 S_Cat is now known as CATS
08:20:42 CATS is now known as S_Cat
08:20:44 × kaph quits (~kaph@151.57.96.74) (Read error: Connection reset by peer)
08:23:54 <abastro[m]> Git repo is okay, but haskell.org is ded
08:25:47 × Typedfern quits (~Typedfern@13.red-88-16-189.dynamicip.rima-tde.net) (Ping timeout: 260 seconds)
08:34:07 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
08:38:49 Typedfern joins (~Typedfern@27.red-83-37-28.dynamicip.rima-tde.net)
08:41:08 dextaa joins (~dextaa@user/dextaa)
08:41:49 <albet70> how that @(->)_ use to limited m?
08:43:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
08:44:49 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
08:46:26 <abastro[m]> Uhm sorry I do not understand you, albet
08:49:07 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
08:50:17 ZanpakutoB joins (~Zanpakuto@2405:204:a399:44f6:4fbd:ca4a:e6c4:c103)
08:50:27 <albet70> type application
08:50:43 <albet70> found it, :t fmap @((->) _)
08:50:47 neceve joins (~quassel@2.29.116.221)
08:51:56 <dragestil> in this time of crisis, do people look up docs from local hoogle?
08:53:02 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
08:56:49 frost joins (~frost@user/frost)
08:58:30 × coot quits (~coot@213.134.190.95) (Quit: coot)
08:58:45 × [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection)
08:58:50 <abastro[m]> Hackage is alive
08:59:12 <abastro[m]> So I guess you could search hackage - requires a bit more effort
09:00:12 × sjanssen quits (~sjanssenm@2001:470:69fc:105::1:61d8) (Quit: You have been kicked for being idle)
09:00:12 × ThadeuPaula[m] quits (~thadeudep@2001:470:69fc:105::1:ded7) (Quit: You have been kicked for being idle)
09:00:13 S_Cat parts (apic@brezn3.muc.ccc.de) ()
09:00:17 <dragestil> pacman -S hoogle && hoogle generate && hoogle server
09:00:30 sjanssen joins (~sjanssenm@2001:470:69fc:105::1:61d8)
09:00:30 sjanssen parts (~sjanssenm@2001:470:69fc:105::1:61d8) ()
09:00:42 ThadeuPaula[m] joins (~thadeudep@2001:470:69fc:105::1:ded7)
09:01:33 [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz)
09:02:26 _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl)
09:02:32 S_Cat joins (apic@brezn3.muc.ccc.de)
09:02:56 <dragestil> would be nice to have a local hackage too :)
09:03:17 × S_Cat quits (apic@brezn3.muc.ccc.de) (Client Quit)
09:03:41 × mbuf quits (~Shakthi@122.162.139.142) (Quit: Leaving)
09:03:52 <albet70> "dragestil :pacman -S hoogle && hoogle generate && hoogle server", but archlinux is terrible to ghc
09:04:00 CAT_S joins (~apic@brezn3.muc.ccc.de)
09:04:12 fciocan joins (~fciocan@5.2.198.221)
09:04:17 × frost quits (~frost@user/frost) (Quit: Client closed)
09:05:16 <dragestil> https://github.com/ndmitchell/hoogle/blob/master/docs/Install.md
09:05:20 <abastro[m]> Oh, I did not know local hoogle was also possible
09:05:35 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
09:07:50 <fciocan> I have some questions regarding GSoC.
09:08:48 <fciocan> Is the site working for anyone?
09:08:51 <fciocan> https://summer.haskell.org/
09:13:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
09:15:04 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
09:17:58 Unicorn_Princess joins (~Unicorn_P@93-103-228-248.dynamic.t-2.net)
09:20:33 <fciocan> found nvm
09:20:35 <fciocan> https://status.haskell.org
09:22:39 × acidjnk quits (~acidjnk@p200300d0c722df20b0b4ee78edd3ba7a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
09:24:23 × chenqisu1 quits (~chenqisu1@183.217.200.38) (Remote host closed the connection)
09:26:21 frost joins (~frost@user/frost)
09:26:41 <albet70> what instance need to implement 'join'?
09:27:08 <abastro[m]> Monad?
09:27:19 <abastro[m]> :t join
09:27:20 <lambdabot> Monad m => m (m a) -> m a
09:27:27 <abastro[m]> Ye
09:27:51 <abastro[m]> I wish I had time to participate in GSoC..
09:27:53 <albet70> monad requires fmap, ap, bind
09:28:04 neverwas parts (jpneverwas@swissbox.unperson.link) (ERC 5.4.1.49860.0.20220416.450 (IRC client for GNU Emacs 28.1))
09:28:20 <albet70> and return
09:28:34 <fciocan> matrix it s also on GSoC?
09:29:57 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
09:32:31 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:32:48 coot joins (~coot@213.134.190.95)
09:34:25 <albet70> :t join @((->)_)
09:34:27 <lambdabot> error: parse error on input ‘->’
09:35:00 odnes joins (~odnes@5-203-197-64.pat.nym.cosmote.net)
09:35:23 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:35:48 <abastro[m]> Hmm
09:36:02 <abastro[m]> % :t join @((->) _)
09:36:03 <yahb> abastro[m]: (w -> (w -> a)) -> w -> a
09:36:22 <albet70> join :: (_ -> _ -> a) -> _ -> a, this is really weird, which case would use this?
09:37:04 <albet70> join an unary and a value
09:38:20 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
09:39:21 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
09:40:12 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:40:27 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:41:32 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:41:39 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:42:03 <abastro[m]> > join (*) <$> [1..]
09:42:05 <lambdabot> [1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484...
09:42:52 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:42:53 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:43:00 <abastro[m]> > join bimap (+3) (2, 6)
09:43:03 <lambdabot> (5,9)
09:44:51 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Ping timeout: 276 seconds)
09:47:40 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:48:23 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:48:39 × gurkenglas quits (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
09:48:47 <albet70> "abastro[m] :> join (*) <$> [1..]", I don't understand why this join has three parameter, but its type only require two
09:50:43 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
09:51:48 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:51:56 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:52:03 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
09:52:46 DNH joins (~DNH@2a09:bac0:67::82c:44)
09:54:46 <mjrosenb> Similar to my previous quesion about read, is there an equivalent for Show that will render a value into a Text?
09:55:18 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:55:34 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
09:58:07 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 240 seconds)
09:58:55 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
09:59:35 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
10:00:05 redb joins (~nmh@136.49.49.211)
10:04:08 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
10:04:18 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
10:05:00 × redb quits (~nmh@136.49.49.211) (Ping timeout: 276 seconds)
10:06:13 × xff0x_ quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Ping timeout: 256 seconds)
10:10:47 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
10:10:51 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
10:11:34 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
10:13:31 × DNH quits (~DNH@2a09:bac0:67::82c:44) (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:15:44 × dcoutts_ quits (~duncan@host213-122-143-81.range213-122.btcentralplus.com) (Ping timeout: 250 seconds)
10:20:01 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
10:22:08 <dibblego> albet70: all Haskell functions take one argument, always
10:22:52 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
10:22:58 acidjnk joins (~acidjnk@p200300d0c722df2060ad2e552287866a.dip0.t-ipconnect.de)
10:23:06 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer)
10:24:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
10:26:03 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
10:26:40 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
10:27:57 MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net)
10:32:20 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
10:32:44 redb joins (~nmh@136.49.49.211)
10:32:48 robosexual joins (~robosexua@77.223.90.202)
10:33:44 × robosexual quits (~robosexua@77.223.90.202) (Client Quit)
10:35:17 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
10:36:32 <maerwald> dibblego: the Haskell report itself talks of "multiple parameters" in several places
10:36:39 × redb quits (~nmh@136.49.49.211) (Ping timeout: 240 seconds)
10:37:48 <dibblego> yes so do I, when approximating
10:39:48 × fciocan quits (~fciocan@5.2.198.221) (Ping timeout: 250 seconds)
10:40:08 <maerwald> I don't think that's approximation. Those are just different mental models.
10:40:25 <dibblego> clearly not, see above
10:40:50 <dibblego> where the approximation is causing confusion
10:41:38 dcoutts_ joins (~duncan@host213-122-143-81.range213-122.btcentralplus.com)
10:42:37 <maerwald> you can regard a function as having multiple parameters and explain that behind the scenes it produces a new function after applying one parameter
10:42:42 <maerwald> that's not approximation
10:43:30 Inst joins (~Liam@c-98-208-218-119.hsd1.fl.comcast.net)
10:45:19 <maerwald> the confusion probably comes from not understanding that `a -> (a -> a)` is `a -> a -> a`
10:45:48 <abastro[m]> Currying by default!
10:45:51 <maerwald> `a -> a -> a` is not an approximation
10:45:54 <maerwald> yes
10:46:18 <abastro[m]> Btw how do I access ghcup in this darkness of outage
10:46:48 <maerwald> abastro[m]: try https://mirror.sjtu.edu.cn/docs/ghcup
10:47:11 <abastro[m]> Oh interesting
10:47:24 <abastro[m]> (the chinese letters are scart tho)
10:47:49 <abastro[m]> I wonder how it is also hosted in... well, China
10:48:46 <maerwald> I can't speak for the safety of that mirror, but afaik it's hosted by university students
10:50:19 <abastro[m]> Brave uni students
10:53:59 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
10:56:01 × MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Quit: WeeChat 3.4)
10:58:25 abastro joins (~abab9579@220.75.216.63)
10:58:57 MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net)
11:00:00 <abastro> Does cabal have an option to replace `-haddock` ghc option?
11:00:12 <abastro> `Documentation: True` apparently does sth else
11:04:19 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
11:06:13 redb joins (~nmh@136.49.49.211)
11:07:12 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
11:08:48 Edwin is now known as edw_afk
11:11:18 × redb quits (~nmh@136.49.49.211) (Ping timeout: 276 seconds)
11:15:49 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
11:23:52 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Quit: WeeChat 3.4.1)
11:25:55 DNH joins (~DNH@8.44.0.68)
11:27:37 andrey_ joins (~andrey@p508d5b8f.dip0.t-ipconnect.de)
11:28:57 × Inst quits (~Liam@c-98-208-218-119.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
11:29:35 × acidjnk quits (~acidjnk@p200300d0c722df2060ad2e552287866a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
11:30:07 × andrey__ quits (~andrey@p200300dbcf08ce00369dc5da8f950839.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
11:30:25 × [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection)
11:30:59 × MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 240 seconds)
11:32:20 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
11:33:13 kaph joins (~kaph@151.57.105.107)
11:33:17 bahamas joins (~lucian@84.232.140.158)
11:33:27 <bahamas> hi. is haskell.org down for anyone else?
11:34:51 × kaph quits (~kaph@151.57.105.107) (Read error: Connection reset by peer)
11:35:21 xff0x_ joins (~xff0x@om126033110024.35.openmobile.ne.jp)
11:35:24 <abastro> Yes it is having issues
11:35:57 <abastro> Check https://status.haskell.org
11:36:38 kaph joins (~kaph@151.57.105.107)
11:38:31 redb joins (~nmh@136.49.49.211)
11:40:28 × frost quits (~frost@user/frost) (Ping timeout: 250 seconds)
11:42:46 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
11:42:55 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
11:44:18 × kaph quits (~kaph@151.57.105.107) (Read error: Connection reset by peer)
11:45:10 × zeenk quits (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94) (Quit: Konversation terminated!)
11:45:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
11:45:45 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
11:46:19 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
11:47:03 [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz)
11:47:35 redb joins (~nmh@136.49.49.211)
11:48:25 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
11:49:53 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
11:49:58 MajorBiscuit joins (~MajorBisc@2a02-a461-129d-1-6d4c-38a4-18b7-4b48.fixed6.kpn.net)
11:55:23 machinedgod joins (~machinedg@24.105.81.50)
11:56:43 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
12:04:46 pavonia joins (~user@user/siracusa)
12:04:59 × MajorBiscuit quits (~MajorBisc@2a02-a461-129d-1-6d4c-38a4-18b7-4b48.fixed6.kpn.net) (Ping timeout: 240 seconds)
12:05:40 Inst joins (~Liam@c-98-208-218-119.hsd1.fl.comcast.net)
12:05:43 <Inst> Inst> btw, has everyone seen www.haskellcosm.com yet?
12:05:45 <Inst> <
12:05:48 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:05:51 bahamas joins (~lucian@84.232.140.158)
12:05:56 <Inst> also, data Nada = Nada is not a monad, right?
12:06:00 <Inst> but it is a functor
12:06:06 <bahamas> abastro: thanks!
12:06:11 <abastro> np!
12:06:26 <abastro> Inst: `data Nada = Nada` lacks the type parameter
12:06:37 <abastro> So it is not a functor/applicative/monad.
12:06:42 <Inst> it can't be made into an applicative
12:06:49 <Inst> it can be a functor, though
12:07:41 <hpc> it can't be Functor, the kind doesn't match
12:07:52 <hpc> Functor :: (Type -> Type) -> Constraint
12:07:53 <Inst> :(
12:07:54 <hpc> and Nada :: Type
12:08:04 <hpc> it can be Monoid
12:08:09 <hpc> Monoid :: Type -> Constraint
12:08:30 <hpc> btw, Nada = ()
12:11:45 × redb quits (~nmh@136.49.49.211) (Ping timeout: 276 seconds)
12:15:30 Tuplanolla joins (~Tuplanoll@91-159-69-98.elisa-laajakaista.fi)
12:16:41 AlexNoo_ is now known as AlexNoo
12:22:09 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
12:22:26 <shapr> hpc: did you write hpc? :-)
12:23:56 <abastro> What is \hpc?
12:23:58 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
12:24:30 <shapr> abastro: https://wiki.haskell.org/Haskell_program_coverage
12:24:55 <shapr> I got distracted last week, did not get it hooked up to QuickCheck.
12:25:07 <shapr> But I made a bunch of progress and expect to get it working this week.
12:27:22 × dlromw^ quits (~dlromw@50-192-56-193-static.hfc.comcastbusiness.net) (Remote host closed the connection)
12:33:31 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
12:34:39 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
12:34:54 abastro joins (~abab9579@220.75.216.63)
12:35:06 <abastro> Lol I was trying to click the link, instead I closed it..
12:37:36 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
12:38:05 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
12:39:16 edw_afk is now known as Edw_zzz
12:39:51 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:40:13 jakalx joins (~jakalx@base.jakalx.net)
12:41:47 redb joins (~nmh@136.49.49.211)
12:45:33 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 276 seconds)
12:46:51 × redb quits (~nmh@136.49.49.211) (Ping timeout: 276 seconds)
12:49:52 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
12:50:26 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
12:55:44 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
12:56:57 odnes_ joins (~odnes@5-203-240-200.pat.nym.cosmote.net)
12:59:33 redb joins (~nmh@136.49.49.211)
13:00:19 × odnes quits (~odnes@5-203-197-64.pat.nym.cosmote.net) (Ping timeout: 240 seconds)
13:04:36 × redb quits (~nmh@136.49.49.211) (Ping timeout: 272 seconds)
13:12:20 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
13:16:06 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 276 seconds)
13:16:55 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
13:17:19 × Inst quits (~Liam@c-98-208-218-119.hsd1.fl.comcast.net) (Ping timeout: 240 seconds)
13:17:34 × coot quits (~coot@213.134.190.95) (Read error: Connection reset by peer)
13:17:41 bahamas joins (~lucian@84.232.140.158)
13:17:45 coot joins (~coot@213.134.190.95)
13:18:15 o-90 joins (~o-90@gateway/tor-sasl/o-90)
13:21:40 × o-90 quits (~o-90@gateway/tor-sasl/o-90) (Remote host closed the connection)
13:23:09 × cdman quits (~dcm@user/dmc/x-4369397) (Remote host closed the connection)
13:29:29 Edw_zzz is now known as chargen
13:31:45 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
13:32:03 redb joins (~nmh@136.49.49.211)
13:32:28 × coot quits (~coot@213.134.190.95) (Quit: coot)
13:34:10 × timCF quits (~timCF@200-149-20-81.sta.estpak.ee) (Quit: leaving)
13:36:27 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
13:37:08 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
13:37:08 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
13:37:08 wroathe joins (~wroathe@user/wroathe)
13:38:32 × ZanpakutoB quits (~Zanpakuto@2405:204:a399:44f6:4fbd:ca4a:e6c4:c103) (Ping timeout: 250 seconds)
13:38:54 mc47 joins (~mc47@xmonad/TheMC47)
13:42:50 × cosimone quits (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20) (Read error: Connection reset by peer)
13:42:56 shriekingnoise joins (~shrieking@201.231.16.156)
13:51:32 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
13:51:53 cdman joins (~dcm@27.2.217.49)
13:51:53 × cdman quits (~dcm@27.2.217.49) (Changing host)
13:51:53 cdman joins (~dcm@user/dmc/x-4369397)
13:52:37 × slaydr quits (~slaydr@75.164.21.11) (Read error: Connection reset by peer)
13:55:43 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
13:56:21 slaydr joins (~slaydr@173.239.197.74)
13:56:51 <slaydr> is haskell.org down?
13:57:19 <geekosaur> yes. https://status.haskell.org
13:57:32 <slaydr> thanks
13:58:11 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
13:59:38 redb joins (~nmh@136.49.49.211)
14:03:20 × machinedgod quits (~machinedg@24.105.81.50) (Quit: leaving)
14:03:49 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
14:03:59 × redb quits (~nmh@136.49.49.211) (Ping timeout: 240 seconds)
14:04:26 mikoto-chan joins (~mikoto-ch@213.177.151.239)
14:04:41 × yahb quits (xsbot@user/mniip/bot/yahb) (Ping timeout: 252 seconds)
14:06:38 bahamas joins (~lucian@84.232.140.158)
14:07:08 [Leary] is now known as Leary
14:07:39 Leary is now known as Lears
14:09:01 yahb joins (xsbot@user/mniip/bot/yahb)
14:09:47 machinedgod joins (~machinedg@24.105.81.50)
14:16:00 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:17:33 redb joins (~nmh@136.49.49.211)
14:18:15 Sgeo joins (~Sgeo@user/sgeo)
14:20:47 zeenk joins (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94)
14:21:40 × redb quits (~nmh@136.49.49.211) (Ping timeout: 246 seconds)
14:24:37 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
14:24:56 × sander quits (~sander@user/sander) (Quit: So long! :))
14:25:19 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
14:26:16 Pickchea joins (~private@user/pickchea)
14:28:32 zebrag joins (~chris@user/zebrag)
14:28:34 sander joins (~sander@user/sander)
14:34:11 redb joins (~nmh@136.49.49.211)
14:34:59 <shapr> How do I add a git repo to a cabal file? I want to include a package as a dependency, but it's not on hackage.
14:35:33 <geekosaur> you use cabal.project to specify the dependency's location
14:35:52 ZanpakutoB joins (~Zanpakuto@2405:204:a399:44f6:e15a:1525:40c4:d6a)
14:36:15 <geekosaur> https://cabal.readthedocs.io/en/3.6/cabal-project.html#specifying-packages-from-remote-version-control-locations
14:37:07 × ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Remote host closed the connection)
14:37:17 ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe)
14:38:19 <shapr> geekosaur: thank you!
14:38:47 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
14:38:57 × jinsun__ quits (~jinsun@user/jinsun) (Read error: Connection reset by peer)
14:39:32 <shapr> oh, I was putting it into the cabal file for the actual project, oops
14:40:16 <shapr> hmm
14:42:30 <geekosaur> yes, this is a bit weird. it makes more sense when you realize that your cabal file becomes the library registration in the package database
14:42:49 <shapr> I'm still doing something wrong ...
14:43:00 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
14:44:09 <shapr> oh, builds fine without the -eventlog flag in ghc-options
14:44:23 <shapr> or not :-|
14:45:44 <shapr> ohh, repo name doesn't match package name, doh!
14:47:24 euandreh joins (~euandreh@2804:14c:33:9fe5:2165:73d6:1630:f174)
14:51:24 <shapr> ok, next question is how to pass multiple default RTS options. I have ghc-options: -eventlog -threaded -rtsopts -with-rtsopts="+RTS -l -N"
14:51:37 <shapr> but that gives me an ld error
14:51:49 <geekosaur> I think you have to quote the whole thing
14:52:04 <geekosaur> "-with-rtsopts=+RTS -l -N"
14:52:07 <shapr> oh!
14:52:13 <geekosaur> it's not shell parsing
14:52:43 <shapr> looks like that works, thanks
14:53:59 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.4)
14:55:48 <shapr> Hm, I'll have to read the source or bother bgamari, I don't see an eventlog socket created.
14:56:58 <bgamari> shapr, have you set GHC_EVENTLOG_SOCKET?
14:57:53 <shapr> yes, via export GHC_EVENTLOG_SOCKET=/tmp/eventlog.sock
14:58:52 <bgamari> hmm
14:58:59 <shapr> I'd bet on user error
14:59:10 <bgamari> what happens if you pass +RTS -l manually?
14:59:14 <bgamari> to the process
14:59:15 <shapr> ah, I'll try that
14:59:57 redb joins (~nmh@136.49.49.211)
15:00:35 <geekosaur> actually I think you should not be passing +RTS there
15:00:47 <geekosaur> because it's already RTS options. +RTS is for the command line
15:01:21 <geekosaur> which may mean the RTS is aborting option parsing from the internal rtsopts
15:01:43 <geekosaur> so just "-with-rtsopts=-l -N"
15:02:06 × drewr quits (~drew@user/drewr) (Remote host closed the connection)
15:03:24 <shapr> Is there a separate binary for tests?
15:03:29 akegalj joins (~akegalj@89-172-76-53.adsl.net.t-com.hr)
15:04:39 × redb quits (~nmh@136.49.49.211) (Ping timeout: 276 seconds)
15:04:39 <shapr> can I use cabal list-bin to find the binary for the test-suite stanza?
15:05:15 <geekosaur> I think you can specify test:exename
15:05:28 <bgamari> yes, I believe that geekosaur is right
15:05:32 <bgamari> you want to drop +RTS
15:05:39 × chomwitt quits (~chomwitt@2a02:587:dc00:4900:2e92:53e5:cedf:6bf7) (Ping timeout: 240 seconds)
15:05:43 <bgamari> although I'm not sure why though would cause the flags to be ignored
15:06:18 <geekosaur> becuase + isn't a valid flag introducer
15:06:43 <geekosaur> I have no idea how the parsing for those options works thoiugh, it might output a warning message that it found an invalid rtsopt
15:06:53 × cdman quits (~dcm@user/dmc/x-4369397) (Quit: Leaving)
15:09:57 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Remote host closed the connection)
15:10:04 redb joins (~nmh@136.49.49.211)
15:10:32 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
15:14:47 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
15:15:37 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
15:16:50 geekosaur joins (~geekosaur@xmonad/geekosaur)
15:19:46 <shapr> maybe I should try this on the main binary first, instead of the test
15:22:27 chomwitt joins (~chomwitt@ppp-94-67-221-107.home.otenet.gr)
15:24:07 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
15:25:34 × euandreh quits (~euandreh@2804:14c:33:9fe5:2165:73d6:1630:f174) (Ping timeout: 250 seconds)
15:26:08 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
15:26:18 <shapr> I wish list-bin would tell me all the targets I could list :-|
15:26:59 × Pickchea quits (~private@user/pickchea) (Ping timeout: 240 seconds)
15:29:01 <shapr> I'm making a list of tasks where I can help out, this looks like one https://github.com/haskell/cabal/pull/7500
15:32:27 × DNH quits (~DNH@8.44.0.68) (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:33:50 <maerwald[m]> shapr: yeah, cabal autocompletion could do that easily if it was using optparse-applicative
15:34:43 × phma quits (phma@2001:5b0:212a:f9a8:e995:81c4:a7fc:5c82) (Read error: Connection reset by peer)
15:35:06 <shapr> looks like manually passing +RTS -l does not wait for socket to be read, hmm
15:35:29 coot joins (~coot@213.134.190.95)
15:35:41 phma joins (~phma@host-67-44-208-158.hnremote.net)
15:36:22 shapr moves to #haskell-in-depth for rubber duck purposes
15:38:23 <shapr> bgamari: perhaps I need to use the custom event log writer command line param?
15:40:06 <bgamari> shapr, are you calling GHC.Eventlog.Socket.start at the beginning of your program?
15:40:22 <shapr> oh, I didn't know about that!
15:40:35 <bgamari> oh dear, I suppose we ought to advertise this more clearly
15:40:37 <bgamari> sorry about that
15:41:06 bgamari also needs to look through phadej's rewrite as well
15:41:09 <shapr> I can submit a PR for a complete working example once I have it all sewed together
15:42:51 × odnes_ quits (~odnes@5-203-240-200.pat.nym.cosmote.net) (Quit: Leaving)
15:43:23 bahamas joins (~lucian@84.232.140.158)
15:43:31 <bgamari> that would be great, thanks
15:43:39 × redb quits (~nmh@136.49.49.211) (Ping timeout: 240 seconds)
15:43:50 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
15:43:57 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
15:44:02 <bgamari> shapr, actually, I may try to have a look at Oleg's rewrite now
15:44:08 <bgamari> shapr, so perhaps base off of that
15:44:39 <shapr> ok!
15:44:47 <bgamari> cheesr
15:45:00 adnaahm joins (~adnaahm@119.160.64.140)
15:45:22 <c_wraith> typo or new app for rating cheeses? the world may never know
15:47:27 <bgamari> hah
15:52:44 × chargen quits (~chargen@D964062A.static.ziggozakelijk.nl) (Read error: Connection reset by peer)
15:54:15 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:55:18 <geekosaur> ok, having just trawled RtsFlags.c, that +RTS should have caused the program to abort with an RTS options usage message, not continue without rtsopts
15:58:09 × Arsen quits (arsen@managarm/dev/Arsen) (Quit: Quit.)
15:58:27 Arsen joins (arsen@managarm/dev/Arsen)
16:00:01 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:00:11 × ThadeuPaula[m] quits (~thadeudep@2001:470:69fc:105::1:ded7) (Quit: You have been kicked for being idle)
16:01:30 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
16:12:36 redb joins (~nmh@136.49.49.211)
16:14:58 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
16:15:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
16:17:07 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
16:17:59 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
16:18:34 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
16:19:19 × redb quits (~nmh@136.49.49.211) (Ping timeout: 240 seconds)
16:29:07 redb joins (~nmh@136.49.49.211)
16:33:59 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
16:34:12 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:37:02 × xff0x_ quits (~xff0x@om126033110024.35.openmobile.ne.jp) (Read error: Connection reset by peer)
16:37:45 × bgamari quits (~bgamari@2001:470:e438::1) (Ping timeout: 248 seconds)
16:40:40 RevoGen joins (~RevoGen@c-76-24-25-81.hsd1.ma.comcast.net)
16:41:52 <RevoGen> I'm in the middle of reading about functor laws. Is there a case where (fmap id = id) holds but (fmap f . fmap g = fmap (f.g)) does not hold?
16:42:03 <c_wraith> no
16:42:11 <c_wraith> At least, not in Haskell
16:42:17 <RevoGen> by that I mean, is there to break the laws?
16:42:22 <c_wraith> That's a necessary consequence of parametricity
16:42:57 <RevoGen> Could you elaborate?
16:44:57 bgamari joins (~bgamari@64.223.157.187)
16:45:12 <RevoGen> I was wondering because you can break both laws like so: https://paste.tomsmeding.com/2dKkmghn
16:45:30 <c_wraith> parametricity is the property that that functions that have parametric polymorphism in their types must behave uniformly regardless of what type is chosen
16:48:24 <c_wraith> A paper called "Theorems for free" goes into a lot of detail for how to use parametricity to derive theorems about a type automatically
16:48:48 <c_wraith> https://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.9875 for the record
16:49:10 <RevoGen> thank you, will read
16:49:21 × sander quits (~sander@user/sander) (Quit: So long! :))
16:49:53 akegalj_ joins (~akegalj@89-172-76-53.adsl.net.t-com.hr)
16:50:00 × akegalj quits (~akegalj@89-172-76-53.adsl.net.t-com.hr) (Read error: Connection reset by peer)
16:51:19 jinsun joins (~jinsun@user/jinsun)
16:52:31 × lagash quits (lagash@lagash.shelltalk.net) (Ping timeout: 260 seconds)
16:53:47 DNH joins (~DNH@8.44.0.68)
16:54:34 <zzz> RevoGen: laws are not enforced by the compiler, so you can create your own illegal instances (like thr one you pasted) if that's what you're asking
16:57:44 <zzz> but you shouldn't
17:00:31 werneta joins (~werneta@137.79.218.82)
17:04:27 <lyxia> the question is whether you can choose which of the functor laws to break
17:10:30 <abastro[m]> Hmm I feel like I am overcomplicating setup by making haskell scripts
17:16:13 wootehfoot joins (~wootehfoo@user/wootehfoot)
17:16:22 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Remote host closed the connection)
17:16:51 wootehfoot joins (~wootehfoo@user/wootehfoot)
17:18:15 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
17:20:19 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
17:21:04 jakalx joins (~jakalx@base.jakalx.net)
17:24:20 nil joins (~user@2001:da8:d800:611:2ca6:fa07:fb5d:af81)
17:25:26 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
17:26:03 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
17:27:24 <nil> My Cabal is finding older versions of Hackage packages, instead of the latest version. Any idea why?
17:27:39 × gurkenglas quits (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
17:27:50 <geekosaur> did you run cabal update?
17:28:15 <geekosaur> otherwise, it usually means some other package has restrictive version dependencies
17:28:37 <nil> yep, and I purged my .cabal and .ghc it still happens.
17:29:10 <nil> Oh, I'm using a Hackage mirror, and the problem is gone once I changed back to hackage.haskell.org
17:30:28 <nil> weird, the mirror is up-to-date.. hmmm
17:31:39 <nil> What's the difference between 01-index and 00-index?
17:33:24 <geekosaur> I think 00-index was used by cabal v1 and is more limited?
17:33:41 <geekosaur> I only have 01-index and the products generated from it
17:34:00 <sclv> there's a rather obscure hack by which 00-index doesn't have cabal files past a certain cabal spec version
17:34:10 <sclv> i'm not particularly fond of that hack
17:34:16 <nil> Okay, this seems like the problem. 00-index is much more outdated. It does not contain e.g. primitive >= 0.7
17:34:40 <sclv> but also yeah, its not clear to my why a mirror would not provide an 01-index
17:35:02 <nil> the mirror provides 01-index, but cabal somehow ignores it
17:35:13 <nil> (01-index is not downloaded)
17:36:18 anomal joins (~anomal@87.227.196.109)
17:36:48 <nil> ugh, it's my fault
17:37:13 <nil> I set `secure: False` in my cabal config. It should be true, or the new index won't be downloaded
17:41:33 <sclv> here's the patch. we should probably just get rid of it https://github.com/haskell/hackage-server/commit/9a6be09342095dda621c39ed3189904240a458e4
17:41:48 <sclv> cabal 1.x versions are well out of suport range imho
17:42:39 yauhsien joins (~yauhsien@61-231-24-129.dynamic-ip.hinet.net)
17:46:14 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:47:48 × yauhsien quits (~yauhsien@61-231-24-129.dynamic-ip.hinet.net) (Ping timeout: 276 seconds)
17:47:54 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
17:48:51 <abastro[m]> Was its release 10 years ago
17:53:14 Guest27 joins (~Guest27@2601:281:d47f:1590::7e6a)
17:54:51 MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net)
17:55:52 × nil quits (~user@2001:da8:d800:611:2ca6:fa07:fb5d:af81) (Remote host closed the connection)
17:57:09 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
18:02:58 × coot quits (~coot@213.134.190.95) (Quit: coot)
18:05:31 × Guest27 quits (~Guest27@2601:281:d47f:1590::7e6a) (Quit: Client closed)
18:06:02 × ZanpakutoB quits (~Zanpakuto@2405:204:a399:44f6:e15a:1525:40c4:d6a) (Quit: Leaving)
18:06:34 coot joins (~coot@213.134.190.95)
18:08:37 × Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in)
18:09:50 Hash joins (~Hash@hey.howstoned.ru)
18:12:33 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:12:55 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
18:14:36 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
18:15:01 sander joins (~sander@user/sander)
18:15:45 × MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 276 seconds)
18:18:22 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
18:19:14 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
18:19:15 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Read error: Connection reset by peer)
18:21:16 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
18:24:48 justsomeguy joins (~justsomeg@user/justsomeguy)
18:29:46 jmdaemon joins (~jmdaemon@user/jmdaemon)
18:30:33 × gurkenglas quits (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
18:33:26 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
18:33:36 romesrf joins (~romes@185.5.8.134)
18:34:01 jgeerds joins (~jgeerds@d5364b87.access.ecotel.net)
18:34:45 <romesrf> Hey everyone, I'm getting some errors on all cabal installations/builds, I've even deleted .cabal and .ghc in desperation, has anyone seen this before?:
18:34:50 <romesrf> "ar: @dist/build/objs-22489/ar22489-2.rsp: No such file or directory"
18:35:55 <romesrf> ar is llvm related right?
18:37:09 <geekosaur> ar is toolchain related, it's how you build a static archive (.a file) whether llvm ornot
18:37:48 <geekosaur> it'slooking for a response file, which is used to avoid command lines that are too long for various OSes
18:38:00 <romesrf> hmm.
18:38:24 <romesrf> I'm currently downgrading llvm, shot in the dark
18:40:19 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 246 seconds)
18:43:57 econo joins (uid147250@user/econo)
18:44:17 abiss27 joins (~abiss27@user/abiss)
18:45:56 stackdroid18 joins (14094@user/stackdroid)
18:46:29 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
18:46:57 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
18:48:39 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
18:49:46 × jlamothe quits (~jlamothe@198.251.61.229) (Ping timeout: 272 seconds)
18:49:48 <romesrf> no luck
18:50:02 × Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in)
18:53:34 lagash joins (lagash@lagash.shelltalk.net)
18:53:44 <romesrf> I don't know how to proceed
18:54:07 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:54:39 <romesrf> maybe I'll try a different cabal version (different ghc versions don't solve it)
19:01:40 Hash joins (~Hash@hey.howstoned.ru)
19:02:19 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
19:02:22 × DNH quits (~DNH@8.44.0.68) (Read error: Connection reset by peer)
19:02:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:03:23 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
19:03:52 jerry99 joins (~330f3e76@cerf.good1.com)
19:04:59 jlamothe joins (~jlamothe@198.251.61.229)
19:07:23 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
19:07:28 cheater is now known as cheategg
19:07:46 raehik joins (~raehik@78.129.150.254)
19:08:04 × califax quits (~califax@user/califx) (Remote host closed the connection)
19:09:52 califax joins (~califax@user/califx)
19:10:02 × Hash quits (~Hash@hey.howstoned.ru) (Ping timeout: 250 seconds)
19:11:48 <romesrf> Is there some way to nuke cabal?
19:12:10 × raehik quits (~raehik@78.129.150.254) (Ping timeout: 246 seconds)
19:12:28 <sclv> i don't think cabal calls ar directly -- ghc would
19:12:36 <sclv> are you on windows or something
19:13:25 <sclv> or mac or..?
19:13:29 <romesrf> sclv: I'm on macOS, and use haskell very regularly :)
19:13:48 <romesrf> I was 1 week or so away, and the last thing I remember is not being able to compile anything with cabal
19:13:55 <romesrf> Oh, let me try compiling just with ghc
19:14:03 <sclv> do you have some sort of homebrew setup?
19:14:04 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:14:14 <romesrf> sclv: yes
19:14:17 <sclv> that's probably it
19:14:39 <sclv> as i recall, response file support is sort of dodgy among different tools at different versions
19:14:51 <sclv> and if you have something that stomps the versions that support it with versions that don't
19:15:02 <romesrf> my troubleshooting went well: ghc fails a main = putStrLn compilation
19:15:17 <sclv> you can run with verbosity flags and see where what gets invoked
19:15:30 <romesrf> lol; what a nice error message: "Cannot open macos: No such file or directory"
19:15:44 <romesrf> I wonder what tries to open *macos**
19:16:06 <sclv> a ghc you get by any other means than homebrew will not play well with any homebrew tools iirc
19:16:33 <romesrf> Hm. However I've been using ghcup this whole time. I'll be back, let me follow up on this lead
19:16:37 <jerry99> when I am migrating to a new stack version, how can I delete all the libraries downloaded for the stack snapshot that I no longer use? I could find directory with ghc that I can just delete, but not sure how I'd track all the libraries, and there doesn't seem to be any automatic option that would remove things that are no longer needed
19:17:14 <sclv> i recommend you stick to ghc from ghcup
19:17:23 <sclv> its going to be if you have any nonstandard anything else that ghc uses in your path
19:17:29 <romesrf> sclv: I do
19:17:35 <sclv> well that's your problem
19:17:59 even4void joins (even4void@came.here.for-some.fun)
19:18:02 <romesrf> I see
19:18:13 <romesrf> brb
19:18:15 × romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1)
19:20:36 <sclv> ah they quit
19:20:53 <sclv> was going to point out that ~/.ghcup/ghc/9.2.1/lib/ghc-9.2.1/lib/settings or the like will have a setting like "ar supports at file" which can be tweaked
19:24:23 × mixfix41 quits (~sdenynine@user/mixfix41) (Quit: brb)
19:26:54 romesrf joins (~romes@185.5.8.134)
19:27:04 <romesrf> Fixed it by reinstalling ghc itself. Should have tried just ghc compilation sooner
19:27:13 <romesrf> thanks all
19:27:40 <geekosaur> that prpobably made it recompute the "ar supports at file" setting in lib/settings
19:27:58 <geekosaur> you left too quickly to see sclv suggest it
19:29:28 × fendor quits (~fendor@178.165.176.112.wireless.dyn.drei.com) (Remote host closed the connection)
19:30:37 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
19:32:55 <romesrf> geekosaur: :)
19:32:58 <romesrf> sclv: thakm you
19:33:56 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
19:35:58 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:40:34 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
19:42:48 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
19:44:55 × romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1)
19:45:14 romesrf joins (~romes@185.5.8.134)
19:45:53 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
19:46:19 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
19:48:29 <sm> jerry99: stack-clean-old, from hackage, is good for that
19:52:14 × romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1)
19:55:23 Hash joins (~Hash@hey.howstoned.ru)
19:55:29 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
19:55:45 <shapr> dons: Is your PhD thesis available somewhere? The link from your website is broken.
19:58:36 acidjnk joins (~acidjnk@p200300d0c722df2060ad2e552287866a.dip0.t-ipconnect.de)
20:00:18 <davean> shapr: Look who is talking about someone's website being broken!
20:00:23 <davean> *glare*
20:02:21 MajorBiscuit joins (~MajorBisc@2a02-a461-129d-1-6d4c-38a4-18b7-4b48.fixed6.kpn.net)
20:02:56 <shapr> uhhh, you have a point
20:03:12 × _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection)
20:03:47 <davean> shapr: I'm sitting you down early next month and fixing this
20:04:07 Pickchea joins (~private@user/pickchea)
20:05:20 <shapr> ha, works for me
20:05:45 <janus> how can i run a script in ghci such that it exits with code 1 if there is e.g. an unbound name in there?
20:06:08 <davean> janus: uh, what do you mean "run a script in ghci" and "exit"?
20:06:34 <janus> like, currently i pipe into 'stack ghci' but it doesn't fail when there is e.g. an unknown function
20:07:15 <janus> so currently it's like 'echo "import A; functionFromA" | stack ghci mycomponent'
20:07:38 <davean> pipe into ... thats not what ghci is at all for
20:07:51 <davean> thats crazy talk. theres runghc for stuff like that.
20:08:30 <davean> ghci is "i", interactive
20:12:00 <davean> https://cabal.readthedocs.io/en/3.4/cabal-commands.html?highlight=env#cabal-v2-run for the version that handles enviroments.
20:16:53 bahamas joins (~lucian@84.232.140.158)
20:19:29 <janus> ok, but i don't use cabal on this project, and 'stack runghc' only takes a module name or source file, not a component
20:21:12 × redb quits (~nmh@136.49.49.211) (Ping timeout: 248 seconds)
20:21:37 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
20:22:55 bahamas joins (~lucian@84.232.140.158)
20:22:58 drewr joins (~drew@user/drewr)
20:23:53 Macbethwin joins (~chargen@D964062A.static.ziggozakelijk.nl)
20:24:02 <Macbethwin> eeesebeth
20:24:16 × cheategg quits (~Username@user/cheater) (Ping timeout: 246 seconds)
20:24:38 Macbethwin is now known as Ieeesebeth
20:26:00 × zer0bitz quits (~zer0bitz@2001:2003:f444:8f00:d49:457:7f2b:1073) (Ping timeout: 248 seconds)
20:27:25 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 246 seconds)
20:28:19 × MajorBiscuit quits (~MajorBisc@2a02-a461-129d-1-6d4c-38a4-18b7-4b48.fixed6.kpn.net) (Ping timeout: 240 seconds)
20:30:42 MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net)
20:32:02 redb joins (~nmh@136.49.49.211)
20:34:15 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
20:35:47 bahamas joins (~lucian@84.232.140.158)
20:36:34 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
20:37:26 cheategg joins (~Username@user/cheater)
20:37:30 schuelermine joins (~anselmsch@user/schuelermine)
20:37:31 bsima joins (~bsima@2604:a880:400:d0::19f1:7001)
20:37:39 <energizer> :t (->)
20:37:40 <lambdabot> error: parse error on input ‘->’
20:37:43 <schuelermine> Does anybody know if there’s a mirror of cabal documentation somewhere?
20:37:49 <schuelermine> haskell.org is down for me
20:38:06 <sclv> cabal.readthedocs.io isn't on haskell.org
20:39:01 <sclv> janus: use ghc -e instead?
20:39:29 bsima parts (~bsima@2604:a880:400:d0::19f1:7001) (WeeChat 3.3)
20:39:42 <schuelermine> sclv: oh ok, I was linked to http://www.haskell.org/cabal/users-guide
20:40:19 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 256 seconds)
20:40:39 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
20:42:29 euandreh joins (~euandreh@2804:14c:33:9fe5:2165:73d6:1630:f174)
20:43:39 <geekosaur> :k (->)
20:43:40 <lambdabot> * -> * -> *
20:44:34 <mjrosenb> trying again now that there are more people awake... Are there equivalents to Show / Read, which produce and consume Text, respectively?
20:45:00 × Raito_Bezarius quits (~Raito@wireguard/tunneler/raito-bezarius) (Ping timeout: 240 seconds)
20:45:13 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
20:45:42 <schuelermine> best match basic hoogling finds me is:
20:45:44 <schuelermine> Text.Pandoc.Shared.stringify :: Walkable Inline a => a -> Text
20:45:51 <schuelermine> Debian.Pretty.ppText :: Pretty (PP a) => a -> Text
20:46:01 <geekosaur> not currently, and I think many people would prefer for Read to go away because it's pretty lousy
20:46:55 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
20:48:11 stackdroid18 joins (14094@user/stackdroid)
20:49:26 <geekosaur> janus, https://paste.tomsmeding.com/2ePZ4088
20:49:55 <geekosaur> doesn't help with stdin though
20:50:09 <energizer> why does haskell have functions instead of only types?
20:50:26 xkuru joins (~xkuru@user/xkuru)
20:50:34 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
20:51:13 <energizer> i guess it's performance
20:51:29 <geekosaur> that quuestion does not make sense to me
20:51:41 <schuelermine> energizer: Haskell has values and types
20:51:49 <schuelermine> There is a function type which is the type of function values
20:52:02 <schuelermine> Functions’ only special property is that they can be applied
20:52:09 <schuelermine> Perhaps you are thinking of types as classes?
20:52:19 <geekosaur> janus, and ghci won't accept /dev/stdin or equivalents apparently
20:53:46 jakalx joins (~jakalx@base.jakalx.net)
20:54:00 × xkuru quits (~xkuru@user/xkuru) (Client Quit)
20:54:29 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
20:54:58 <schuelermine> Would you recommend using cabal’s simple test system or the detailed one, and if the latter, would you recommend using it directly or using something like QuickCheck?
20:55:30 xkuru joins (~xkuru@user/xkuru)
20:55:38 <sclv> everyone only really uses the simple system
20:55:41 <geekosaur> doesn't like -x hs either
20:55:55 <sclv> and they tend to drive it with a library like tasty, which lets you plug in quickcheck, hspec, etc tests
20:56:36 <schuelermine> sclv: ok
20:58:14 Raito_Bezarius joins (~Raito@wireguard/tunneler/raito-bezarius)
21:00:12 redb joins (~nmh@136.49.49.211)
21:03:20 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 248 seconds)
21:05:03 × abiss27 quits (~abiss27@user/abiss) (Quit: hasta la vista... tchau!)
21:06:12 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
21:08:59 Ieeesebeth is now known as chargen
21:09:13 × schuelermine quits (~anselmsch@user/schuelermine) (Ping timeout: 256 seconds)
21:09:18 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:15:37 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.4)
21:18:12 schuelermine joins (~anselmsch@user/schuelermine)
21:19:10 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 250 seconds)
21:20:57 × schuelermine quits (~anselmsch@user/schuelermine) (Client Quit)
21:21:35 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
21:23:21 <zzz> energizer: mind that type constructors are functions
21:24:47 <hpc> shapr: nope, it's short for something else
21:25:01 × cosimone quits (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20) (Remote host closed the connection)
21:25:17 <hpc> its true expansion can be found on hackage though
21:26:13 × akegalj_ quits (~akegalj@89-172-76-53.adsl.net.t-com.hr) (Ping timeout: 256 seconds)
21:26:23 <RevoGen> Is there an intuitive way to understand functions as applicatives? I get how to evaluate "f <*> g = \x -> f x (g x)" on paper, I just don't get how something like this would be used
21:27:47 <hpc> RevoGen: think Reader
21:27:51 <hpc> @unmtl Reader e a
21:27:51 <lambdabot> e -> a
21:28:18 <hpc> the intuition here is that f and g are both getting x as the first argument
21:28:43 <hpc> mentally erase x, which is the "environment", and what do you get
21:29:02 <RevoGen> function composition?
21:29:30 <hpc> almost
21:29:55 <hpc> if it helps, copy into vim and do some backspacing
21:31:05 <hpc> the general type of (<*>) is also a clue
21:31:56 <hpc> as you mentally erase x, also erase f in the type
21:34:26 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
21:34:43 × dextaa quits (~dextaa@user/dextaa) (Ping timeout: 256 seconds)
21:35:27 × motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 240 seconds)
21:36:18 × coot quits (~coot@213.134.190.95) (Quit: coot)
21:36:49 coot joins (~coot@213.134.190.95)
21:37:05 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
21:38:03 × Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in)
21:38:35 Hash joins (~Hash@hey.howstoned.ru)
21:41:16 <janus> can i get stack to write ghc environment files somehow?
21:46:10 <jerry99> I have data X = X Y, and data Y = A | B | C <- is there a way to ensure that only X A and X B compile, and that X C gives compile-time error?
21:46:10 × MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 246 seconds)
21:46:43 <hpc> there are ways if you don't mind changing Y
21:47:17 <hpc> for instance, with GADTs/DataKinds data Y where A :: Y False; B :: Y False; C :: Y True
21:47:18 × adnaahm quits (~adnaahm@119.160.64.140) (Read error: Connection reset by peer)
21:47:21 <jerry99> C is valid and legal in every other context where A and B would be used
21:47:23 <hpc> data X = X (Y False)
21:48:13 <hpc> there's also the possibility that you don't want Y at all
21:48:23 <jerry99> so I'd rather keep Y as is, and make this requirement part of X type, since X restricts what Y values are valid. is that possibe?
21:48:42 adnaahm joins (~adnaahm@119.160.64.140)
21:48:50 <hpc> maybe you don't expose the ability to manipulate X values outside the module
21:48:59 × adnaahm quits (~adnaahm@119.160.64.140) (Client Quit)
21:49:03 <hpc> then provide an api that guarantees the properties you want
21:49:18 <hpc> Handle is a good example of how that might work
21:49:27 <jerry99> mkX :: Y -> Maybe X?
21:49:36 motherfsck joins (~motherfsc@user/motherfsck)
21:49:37 <jerry99> and don't expose constructor
21:50:14 × zeenk quits (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94) (Quit: Konversation terminated!)
21:50:43 <hpc> yeah
21:50:58 <hpc> and mkX can have as interesting a type as you want
21:52:09 <jerry99> ok I think that will do. not the compile-time safety I was looking for, but I'd rather keep Y as is. out of curiosity, if haskell had dependent types, we could put this constraint in the X type, while leaving Y as is?
21:52:45 <hpc> you still have to change Y
21:53:09 <hpc> or hmm, you don't but it's still kind of awkward
21:53:34 <jerry99> just looked at your GADTs example. I don't quite get what this means. data Y where A :: Y False; B :: Y False; C :: Y True
21:54:08 <hpc> basically, Y :: Bool -> Type, instead of just Y :: Type
21:54:16 <hpc> a value of type (Y a) can be A, B, or C
21:54:22 <hpc> a value of type Y False can be A or B
21:54:29 <hpc> a value of type Y True can be C only
21:54:56 <jerry99> what if there was Z, that contains different subset of Y? we would use sum type with 3 values instead of bool?
21:54:58 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
21:55:06 <hpc> yeah
21:55:20 <hpc> at that point you might define your own thing
21:55:32 <hpc> or if you enjoy terrible code you might use Ord :D
21:55:46 <jerry99> :)
21:55:59 <hpc> i have thought about crawling hackage for all the enums and seeing how high i can get in an acme-typenats package
21:56:15 <jerry99> and how could we accept all the Y values, we can just use Y as before?
21:56:25 <hpc> parametric polymorphism
21:56:35 <jerry99> ah ok
21:56:37 <hpc> if the type parameter can be True or False, the constructor can be anything that satisfies either
21:56:58 <hpc> but then maybe you end up with more troubles, because that 'a' needs to stay the same everywhere it's used
21:57:18 <hpc> you might end up with lots of (Y a -> Y b) functions that are no longer usable with respect to X
21:58:30 × coot quits (~coot@213.134.190.95) (Quit: coot)
21:58:39 × redb quits (~nmh@136.49.49.211) (Ping timeout: 260 seconds)
21:59:05 coot joins (~coot@213.134.190.95)
22:00:36 × myme quits (~myme@40.51-175-185.customer.lyse.net) (Ping timeout: 240 seconds)
22:00:48 × coot quits (~coot@213.134.190.95) (Client Quit)
22:01:13 <jerry99> ok thanks hpc. I will toy with it a bit, and see how it fits my actual problem
22:02:12 cosimone joins (~user@93-47-228-79.ip115.fastwebnet.it)
22:02:17 × cosimone quits (~user@93-47-228-79.ip115.fastwebnet.it) (Remote host closed the connection)
22:02:26 <RevoGen> hpc: ty, the environment explanation helped, I got "(<*>) :: (r -> (a -> b)) -> (r -> a) -> (r -> b)"
22:02:58 bahamas joins (~lucian@84.232.140.158)
22:03:04 cosimone joins (~user@93-47-228-79.ip115.fastwebnet.it)
22:05:13 <hpc> :t (<*>)
22:05:15 <lambdabot> Applicative f => f (a -> b) -> f a -> f b
22:05:35 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 240 seconds)
22:06:38 <hpc> so what would this be if you didn't have that extra x? (this will make the idea /really/ click)
22:07:16 <hpc> mentally erase all the "x" stuff in the value, and all the "f" stuff in the above type
22:07:31 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 246 seconds)
22:07:35 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
22:08:43 <RevoGen> just a map?
22:10:20 <hpc> here's a hint: (a -> b) -> a -> b
22:12:01 xff0x_ joins (~xff0x@om126033110024.35.openmobile.ne.jp)
22:12:13 <RevoGen> ic
22:14:34 Guest27 joins (~Guest27@2601:281:d47f:1590::7e6a)
22:14:57 × motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 256 seconds)
22:15:22 motherfsck joins (~motherfsc@user/motherfsck)
22:20:59 × acidjnk quits (~acidjnk@p200300d0c722df2060ad2e552287866a.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
22:22:24 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
22:23:41 × Guest27 quits (~Guest27@2601:281:d47f:1590::7e6a) (Quit: Client closed)
22:24:09 sseefried joins (~sseefried@1.146.69.153)
22:25:07 <sseefried> Is https://www.haskell.org down?
22:25:34 <davean> sseefried: its about to be back!
22:25:45 <sseefried> Haha, just as I jumped on the channel
22:27:14 <sseefried> What happened?
22:27:28 <sseefried> davean: What happened?
22:27:55 <davean> sseefried: HW failures at the datacenter, and a holiday weekend slowing down recovery. Its back up actually, just took the chance of it being down for a system upgrade
22:28:07 <davean> its up now
22:28:13 <sseefried> Yeah, I saw :-)
22:28:18 <sseefried> Great work. Thanks.
22:28:35 <davean> Well, I had to wait for you to get here to fix it ;)
22:29:32 redb joins (~nmh@136.49.49.211)
22:29:33 <statusbot> Status update: The server was not able to boot due to an efuse issue with the power. The host has repaired the hardware and haskell.org is again running. -- http://status.haskell.org/pages/incident/537c07b0cf1fad5830000093/625c69cdfcbdd204d4df5603
22:30:22 <hpc> yay
22:32:25 <abastro[m]> Finally! :)
22:32:41 <abastro[m]> (So haskell is not dying)
22:33:19 × RevoGen quits (~RevoGen@c-76-24-25-81.hsd1.ma.comcast.net) (Remote host closed the connection)
22:33:37 RevoGen joins (~RevoGen@c-76-24-25-81.hsd1.ma.comcast.net)
22:34:25 × mmhat quits (~mmh@55d48a03.access.ecotel.net) (Quit: WeeChat 3.5)
22:35:21 × redb quits (~nmh@136.49.49.211) (Ping timeout: 256 seconds)
22:36:06 × sseefried quits (~sseefried@1.146.69.153) (Quit: Client closed)
22:37:18 <hpc> what is dead can never die! :D
22:37:50 × RevoGen quits (~RevoGen@c-76-24-25-81.hsd1.ma.comcast.net) (Ping timeout: 250 seconds)
22:38:25 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
22:39:14 RevoGen joins (~RevoGen@c-76-24-25-81.hsd1.ma.comcast.net)
22:42:43 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
22:45:19 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 240 seconds)
22:46:59 × RevoGen quits (~RevoGen@c-76-24-25-81.hsd1.ma.comcast.net) (Remote host closed the connection)
22:47:15 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 256 seconds)
22:47:51 redb joins (~nmh@136.49.49.211)
22:48:47 finsternis joins (~X@23.226.237.192)
22:51:59 × redb quits (~nmh@136.49.49.211) (Ping timeout: 240 seconds)
22:54:28 kaph joins (~kaph@151.35.4.96)
22:56:27 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
22:57:18 × TonyStone quits (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com) (Remote host closed the connection)
22:59:26 <abastro[m]> :?
23:02:38 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
23:02:49 × neceve quits (~quassel@2.29.116.221) (Ping timeout: 246 seconds)
23:02:59 jpds joins (~jpds@gateway/tor-sasl/jpds)
23:03:40 x_kuru joins (~xkuru@user/xkuru)
23:03:48 TonyStone joins (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com)
23:05:54 kaph_ joins (~kaph@151.43.109.170)
23:06:38 × xkuru quits (~xkuru@user/xkuru) (Ping timeout: 250 seconds)
23:08:19 × kaph quits (~kaph@151.35.4.96) (Ping timeout: 240 seconds)
23:12:43 <sclv> its a joking quote from game of thrones
23:13:20 <sclv> https://gameofthrones.fandom.com/wiki/What_Is_Dead_May_Never_Die#:~:text=%22What%20is%20dead%20may%20never%20die%22%20is%20a%20common%20saying,Drowned%20Man%20conducting%20the%20ceremony.
23:13:35 <sclv> "But rises again harder and stronger"
23:16:14 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
23:17:04 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
23:19:33 × chomwitt quits (~chomwitt@ppp-94-67-221-107.home.otenet.gr) (Ping timeout: 256 seconds)
23:20:47 redb joins (~nmh@136.49.49.211)
23:21:35 machinedgod joins (~machinedg@24.105.81.50)
23:24:09 <abastro[m]> Whh
23:26:19 × redb quits (~nmh@136.49.49.211) (Ping timeout: 240 seconds)
23:34:26 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
23:39:13 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
23:40:23 justsomeguy joins (~justsomeg@user/justsomeguy)
23:42:10 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 250 seconds)
23:42:27 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
23:43:51 sammelweis_ joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
23:44:01 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Read error: Connection reset by peer)
23:44:19 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
23:48:42 redb joins (~nmh@136.49.49.211)
23:48:58 × cosimone quits (~user@93-47-228-79.ip115.fastwebnet.it) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
23:49:22 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
23:50:24 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
23:54:17 mvk joins (~mvk@2607:fea8:5ce3:8500::85f6)
23:54:30 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
23:54:30 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
23:54:30 wroathe joins (~wroathe@user/wroathe)
23:57:36 × werneta quits (~werneta@137.79.218.82) (Remote host closed the connection)

All times are in UTC on 2022-04-18.