Home liberachat/#haskell: Logs Calendar

Logs on 2022-07-20 (liberachat/#haskell)

00:00:58 × gurkenglas quits (~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de) (Ping timeout: 240 seconds)
00:03:41 mvk joins (~mvk@2607:fea8:5ce3:8500::909a)
00:03:41 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
00:04:18 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
00:05:11 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
00:05:58 dextaa joins (~DV@user/dextaa)
00:06:44 gdown joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
00:07:40 × Tuplanolla quits (~Tuplanoll@91-159-69-97.elisa-laajakaista.fi) (Quit: Leaving.)
00:11:17 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
00:11:39 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
00:13:20 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
00:14:39 × talismanick quits (~talismani@campus-043-126.ucdavis.edu) (Ping timeout: 276 seconds)
00:16:00 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
00:20:30 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 276 seconds)
00:21:22 × winny quits (~weechat@user/winny) (Ping timeout: 268 seconds)
00:26:24 winny joins (~weechat@user/winny)
00:28:29 naso joins (~naso@193-116-244-197.tpgi.com.au)
00:35:44 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
00:36:39 <Axman6> @hoogle Eq a => a -> [a] -> [[a]]
00:36:39 <lambdabot> Happstack.Server.Internal.MessageWrap splitList :: Eq a => a -> [a] -> [[a]]
00:36:39 <lambdabot> Data.GI.CodeGen.Util splitOn :: Eq a => a -> [a] -> [[a]]
00:36:39 <lambdabot> Hledger.Utils splitAtElement :: Eq a => a -> [a] -> [[a]]
00:36:51 <Axman6> @more
00:36:55 <Axman6> :(
00:38:07 lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
00:38:37 × lemonsni- quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Ping timeout: 268 seconds)
00:39:58 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
00:40:28 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds)
00:43:38 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
00:44:32 × edinwood quits (~edinwood@213.205.241.236) (Remote host closed the connection)
00:45:00 vaibhavsagar[m] joins (~vaibhavsa@2001:470:69fc:105::ffe)
00:47:23 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
00:47:38 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
00:48:41 lys parts (sid194105@user/lys) ()
00:58:50 talismanick joins (~talismani@2601:200:c100:3850::dd64)
01:04:34 matthewmosior joins (~matthewmo@173.170.253.91)
01:04:51 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
01:05:25 raym joins (~raym@user/raym)
01:07:48 edinwood joins (~edinwood@213.205.241.236)
01:08:59 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
01:09:18 tomboy64 joins (~tomboy64@user/tomboy64)
01:10:50 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:11:32 × machinedgod quits (~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 272 seconds)
01:11:57 × naso quits (~naso@193-116-244-197.tpgi.com.au) ()
01:16:06 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
01:16:57 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:20:34 × califax quits (~califax@user/califx) (Ping timeout: 268 seconds)
01:20:34 califax_ joins (~califax@user/califx)
01:21:46 califax_ is now known as califax
01:23:52 matthewmosior joins (~matthewmo@173.170.253.91)
01:26:29 <talismanick> How exactly do pipes and Conduit improve on stream processing (how Kiselyov described somewhat-practical lazy I/O) and what do they do differently from each other?
01:26:30 <talismanick> https://okmij.org/ftp/Streams.html
01:27:20 yauhsien joins (~yauhsien@61-231-22-68.dynamic-ip.hinet.net)
01:29:58 <jackdk> IME, pipes is elegant but I've never successfully constructed a program with it, conduit has a bunch of "pragmatic" concessions that actually make things harder (I still have no idea how to teach amazonka how to use a connect-and-resume conduit as a source, for instance) but because Snoyman and co. did the hard yards building fundamental industrial libs like HTTP clients, it's used everywhere,
01:29:58 <jackdk> steamly promises a lot but seems to be unstable (I booted it from a project after a minor version change made using it for file-watching impossible in a way that was previously possible; it may have improved since)
01:29:58 <jackdk> I like `streaming`, as it has the type that makes the most sense to me, and I've successfully written a program using it.
01:30:23 <talismanick> jackdk: Alright, I'll take a look
01:31:12 × edinwood quits (~edinwood@213.205.241.236) (Ping timeout: 252 seconds)
01:31:31 × lbseale quits (~quassel@user/ep1ctetus) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
01:31:38 × yauhsien quits (~yauhsien@61-231-22-68.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
01:32:16 <jackdk> This means that if you're doing simple things like "stream a file through http-client", conduit is likely a fine choice because adapting between stream types is probably more annoying. But if I was doing a lot of stream transformations within a single program, I would probably lean towards streaming and transform to other streaming libs at the edge of my program
01:34:31 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Ping timeout: 272 seconds)
01:37:42 marcusxavier joins (~marcusxav@2804:6660:ff12:ef70:b0fb:b179:1d18:247)
01:37:56 <marcusxavier> How can I write this function withou tail?
01:38:06 <marcusxavier> skips :: [a] -> [[a]]
01:38:08 <marcusxavier> skips [] = []
01:38:10 <marcusxavier> skips xs = xs : skips (tail xs)
01:38:12 <marcusxavier> y
01:38:14 <marcusxavier> Yes
01:38:34 <marcusxavier> It's from CIS 194 week's 3
01:38:36 <marcusxavier> question 1
01:38:38 <marcusxavier> https://www.cis.upenn.edu/~cis1940/spring13/hw/03-rec-poly.pdf
01:45:30 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 260 seconds)
01:46:00 nate4 joins (~nate@98.45.169.16)
01:49:17 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
01:50:18 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
01:50:39 <marcusxavier> I found tails function
01:50:57 lbseale joins (~quassel@user/ep1ctetus)
01:51:06 × lbseale quits (~quassel@user/ep1ctetus) (Client Quit)
01:51:19 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds)
01:52:17 lbseale joins (~quassel@user/ep1ctetus)
01:52:53 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
01:55:35 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
01:57:57 frost joins (~frost@user/frost)
02:01:01 zaquest joins (~notzaques@5.130.79.72)
02:01:08 jakalx joins (~jakalx@base.jakalx.net)
02:02:08 <jackdk> marcusxavier: match `(x:xs)` instead of `xs`
02:02:24 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
02:02:58 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 240 seconds)
02:04:12 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
02:04:16 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 268 seconds)
02:05:27 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
02:05:30 × infinity0 quits (~infinity0@185.112.146.113) (Ping timeout: 268 seconds)
02:05:39 infinity0 joins (~infinity0@185.112.146.113)
02:05:47 × marcusxavier quits (~marcusxav@2804:6660:ff12:ef70:b0fb:b179:1d18:247) (Quit: WeeChat 3.6)
02:11:49 infinity0_ joins (~infinity0@185.112.146.113)
02:11:52 infinity0 is now known as Guest3129
02:11:52 infinity0_ is now known as infinity0
02:12:17 × Guest3129 quits (~infinity0@185.112.146.113) (Ping timeout: 268 seconds)
02:16:33 sayola1 joins (~sayola@dslb-088-064-186-217.088.064.pools.vodafone-ip.de)
02:18:09 × sayola quits (~sayola@dslb-088-078-152-210.088.078.pools.vodafone-ip.de) (Ping timeout: 276 seconds)
02:20:52 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
02:21:22 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
02:23:20 jpds2 joins (~jpds@gateway/tor-sasl/jpds)
02:23:28 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
02:28:10 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
02:30:55 <dsal> @src tail
02:30:55 <lambdabot> tail (_:xs) = xs
02:30:55 <lambdabot> tail [] = error "Prelude.tail: empty list"
02:31:24 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds)
02:33:14 matthewmosior joins (~matthewmo@173.170.253.91)
02:39:17 zxx7529 joins (~Thunderbi@user/zxx7529)
02:46:20 <qrpnxz> jackdk: i really appreciate that overview of stream libs thanks
02:46:38 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
02:47:13 TonyStone joins (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com)
02:51:25 × zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection)
02:51:36 zxx7529 joins (~Thunderbi@user/zxx7529)
02:56:05 × td_ quits (~td@muedsl-82-207-238-145.citykom.de) (Ping timeout: 260 seconds)
02:57:38 td_ joins (~td@muedsl-82-207-238-080.citykom.de)
02:58:44 × pgass quits (~pg@190.247.245.154) (Remote host closed the connection)
03:04:05 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
03:07:53 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
03:11:30 × tomsmeding quits (~tomsmedin@2a01:4f8:c0c:5e5e::2) (Quit: ZNC 1.8.2 - https://znc.in)
03:11:44 tomsmeding joins (~tomsmedin@2a01:4f8:c0c:5e5e::2)
03:12:43 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds)
03:12:50 × John_Ivan quits (~John_Ivan@user/john-ivan/x-1515935) (Ping timeout: 255 seconds)
03:19:07 <qrpnxz> i haven't touched conduit. Streaming is attractive and i want to learn it. Although the type has me 🤨, the examples have me 😮.
03:21:21 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
03:21:52 bilegeek joins (~bilegeek@2600:1008:b019:1e26:a9d2:8ab1:892f:24cd)
03:23:38 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
03:27:21 <qrpnxz> by streaming i mean the streaming lib lol
03:27:56 × hexology quits (~hexology@user/hexology) (Quit: hex on you ...)
03:28:16 hexology joins (~hexology@user/hexology)
03:37:53 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
03:41:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
03:44:15 matthewmosior joins (~matthewmo@173.170.253.91)
03:53:05 <jackdk> `streaming`'s core type is imho one of its most attractive features
03:57:59 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
03:59:10 nightbreak[Away] is now known as nightbreak
04:02:44 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds)
04:03:07 gdown- joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
04:07:15 <qrpnxz> i mean, it looks amazing. I just don't understand it too well. But more I read more i appreciate the library. Kind of like when I first learn about traversable i think this is how i feel about Stream atm
04:08:49 × gdown- quits (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
04:10:09 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds)
04:10:58 azimut joins (~azimut@gateway/tor-sasl/azimut)
04:11:34 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
04:14:17 <davean> jackdk: what do you view as special about "Stream f m r"?
04:14:23 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
04:14:35 <jackdk> qrpnxz: https://github.com/ivan-m/LambdaJAM-Streaming-exercises
04:15:56 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
04:16:08 <qrpnxz> jackdk: thanks!
04:16:39 <jackdk> davean: I find it the easiest to understand out of the libs I've used. Also the `f` parameter and the left-strict pair `Of` that it's often used with seem clever. I should probably have also mentioned `machines` when I was writing about streaming libs but I'm even worse at that one than I am `pipes`
04:17:11 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
04:17:27 <davean> haha, 'machines' is much more than streaming.
04:17:47 <davean> You can setup entire networks
04:18:20 <jackdk> yeah we spoke a bit about it many years ago.
04:18:50 <davean> conduit and stuff at least handles fan-in
04:19:30 <davean> I don't really know streaming though, other than looking at it briefly, so no idea how it does. Its type looks like just a way to talk about free monads.
04:19:44 <davean> It looks like you're just building a computation?
04:20:48 <davean> I should dig into it at some point
04:21:25 <jackdk> it's an arbitrary and possibly-infinite interleaving of functor and monad layers basically. The most common functor is `data Of a b = !a :< b` so you get `Stream (Of a) m r` where the `a`s are evaluated to whnf at least
04:22:27 <davean> Right, isn't that basicly what I said?
04:23:00 <qrpnxz> is it? lol
04:23:27 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
04:25:18 <jackdk> Probably. I think it's a lot like `FreeT` but you don't necessarily have to have single `f` layers between your `m` layers
04:25:38 dextaa joins (~DV@user/dextaa)
04:25:40 <davean> True, you can have a variable count
04:25:55 <davean> though I'm not sure how meaningful that is given 'pure'
04:26:12 <davean> maybe I'm missing something but that seems equivilent at first glance
04:29:13 <jackdk> I don't think it'll make much of a difference either, aside from a bit of extra packing/unpacking
04:29:47 <davean> Yah thats an optimization of value variable based on architecture and workload
04:33:18 × nightbreak quits (~nightbrea@2600:1700:70d1:d800:78c0:dca8:2899:48b2) (Quit: Signing off for now...)
04:36:58 mbuf joins (~Shakthi@122.165.55.71)
04:39:19 kazaf joins (~kazaf@94.180.63.53)
04:42:17 mmhat joins (~mmh@p200300f1c70559dfee086bfffe095315.dip0.t-ipconnect.de)
04:44:31 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
04:44:55 azimut joins (~azimut@gateway/tor-sasl/azimut)
04:45:10 × kazaf quits (~kazaf@94.180.63.53) (Ping timeout: 252 seconds)
04:48:32 nate4 joins (~nate@98.45.169.16)
04:48:34 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
04:52:09 matthewmosior joins (~matthewmo@173.170.253.91)
04:52:10 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
04:54:30 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 240 seconds)
04:54:52 <Clinton[m]> With "stack" I'm getting a warning about putting... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/7a538c60144e63a7ed04750a8574ce237b92da3e)
04:55:08 yauhsien joins (~yauhsien@61-231-22-68.dynamic-ip.hinet.net)
05:02:13 gdown- joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
05:02:16 × gdown- quits (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Read error: Connection reset by peer)
05:02:34 × gdown quits (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
05:03:10 gdown joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
05:07:03 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
05:09:58 × yauhsien quits (~yauhsien@61-231-22-68.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
05:13:46 <Axman6> Clinton[m]: FYI, your message was too long for IRC and was cut off after putting (with a link to the rest of the message). Generally on IRC we keep messages short and use paste sites for sharing lots of code or longer questions
05:13:48 <Axman6> @where paste
05:13:48 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
05:17:50 <Axman6> As for your actualy question, I haven't used stack for a long time, and I don't know if it's kept up with GHC/Cabal's development
05:18:36 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
05:18:47 adanwan_ joins (~adanwan@gateway/tor-sasl/adanwan)
05:18:55 × causal quits (~user@50.35.83.177) (Read error: Connection reset by peer)
05:18:58 causal_ joins (~user@50.35.83.177)
05:21:40 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
05:22:51 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
05:24:06 dcoutts joins (~duncan@host86-167-206-10.range86-167.btcentralplus.com)
05:29:48 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
05:31:54 dextaa joins (~DV@user/dextaa)
05:32:52 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
05:32:58 × mvk quits (~mvk@2607:fea8:5ce3:8500::909a) (Ping timeout: 240 seconds)
05:35:57 × adanwan_ quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
05:36:12 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
05:37:50 inversed joins (~inversed@0545c13e.skybroadband.com)
05:39:16 <cdepillabout[m]> Clinton: There's an issue on the stack repo about using stack with `GHC2021`: https://github.com/commercialhaskell/stack/issues/5739. Maybe this is related to what you're seeing?
05:39:44 × bilegeek quits (~bilegeek@2600:1008:b019:1e26:a9d2:8ab1:892f:24cd) (Quit: Leaving)
05:40:39 <talismanick> What's the SoTA in constraint solving with Haskell?
05:41:33 <talismanick> namely for package versioning and resolution
05:43:15 × codaraxis__ quits (~codaraxis@user/codaraxis) (Ping timeout: 268 seconds)
05:44:45 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
05:45:13 gmg joins (~user@user/gehmehgeh)
05:45:25 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 244 seconds)
05:46:09 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 276 seconds)
05:46:13 Kevin578_ joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
05:46:51 dextaa joins (~DV@user/dextaa)
05:47:17 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
05:47:30 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 268 seconds)
05:47:44 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
05:54:53 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:56:56 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
05:57:26 lys joins (sid194105@user/lys)
06:01:32 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
06:15:44 × shriekingnoise quits (~shrieking@201.212.175.181) (Quit: Quit)
06:18:23 <[exa]> talismanick: that's a pretty specific area of constraint solving tbh
06:18:39 lys parts (sid194105@user/lys) ()
06:19:22 <[exa]> but the last time I checked the consensus was "translate to SAT and hope"
06:20:22 chomwitt joins (~chomwitt@2a02:587:dc00:5a00:7:bdc0:5a4f:ad30)
06:22:41 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
06:24:47 × gdown quits (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
06:28:14 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
06:28:19 matthewmosior joins (~matthewmo@173.170.253.91)
06:29:04 gmg joins (~user@user/gehmehgeh)
06:29:58 michalz joins (~michalz@185.246.204.77)
06:31:58 PiDelport joins (uid25146@id-25146.lymington.irccloud.com)
06:32:16 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
06:36:06 × Vajb quits (~Vajb@n1zigc3rgo9mpde2w-1.v6.elisa-mobile.fi) (Read error: Connection reset by peer)
06:36:07 yauhsien joins (~yauhsien@61-231-22-68.dynamic-ip.hinet.net)
06:36:28 Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
06:36:33 asarch joins (~asarch@2806:10ae:7:c863:b7f0:193:285c:8465)
06:37:59 acidjnk_new3 joins (~acidjnk@p200300d6e70586052d49bed31da73f77.dip0.t-ipconnect.de)
06:41:32 zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f)
06:47:23 × yauhsien quits (~yauhsien@61-231-22-68.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
06:55:25 cfricke joins (~cfricke@user/cfricke)
06:55:39 × causal_ quits (~user@50.35.83.177) (Quit: WeeChat 3.5)
07:00:54 `2jt joins (~jtomas@141.red-88-17-65.dynamicip.rima-tde.net)
07:02:41 × `2jt quits (~jtomas@141.red-88-17-65.dynamicip.rima-tde.net) (Remote host closed the connection)
07:03:03 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:04:06 christiansen joins (~christian@83-95-137-75-dynamic.dk.customer.tdc.net)
07:04:42 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
07:04:42 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Write error: Connection reset by peer)
07:04:42 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Write error: Connection reset by peer)
07:05:09 ChaiTRex joins (~ChaiTRex@user/chaitrex)
07:05:12 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
07:05:22 chexum joins (~quassel@gateway/tor-sasl/chexum)
07:05:25 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
07:06:03 _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl)
07:06:40 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
07:09:27 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
07:16:50 <Inst> also, did I just find a hole in the functor laws?
07:16:57 <Inst> define fmap as const id
07:17:02 <Inst> now everything is a functor
07:17:40 <Inst> as long as it satisfies the kind requirement ( * -> * )
07:18:04 <[exa]> it is not, it can't produce `f b` from `f a` given `a->b`
07:18:16 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
07:20:25 <[exa]> :t [fmap, const id]
07:20:27 <lambdabot> Functor f => [(b -> b) -> f b -> f b]
07:21:39 <[exa]> (it's insufficiently polymorphic, you'd need to make sure that the 2nd argument doesn't unify with the output)
07:22:07 zmt01 joins (~zmt00@user/zmt00)
07:23:07 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:2da3:f583:8579:9c6f) (Remote host closed the connection)
07:24:57 <n1essa> I'm having trouble googling this, what is this syntax in haskell called? #{size XClassHint}
07:25:44 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 255 seconds)
07:25:54 <Axman6> Inst: you don't get to choose what a and b are, the user of fmap does, by passing a function, any function, to it
07:25:55 <n1essa> ohh it's hsc specific
07:25:56 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Remote host closed the connection)
07:26:11 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
07:27:13 <[exa]> n1essa: the closest from haskell is probably MagicHash, and maybe OverloadedLabels
07:27:38 arjun joins (~arjun@user/arjun)
07:27:46 <[exa]> but yeah this is likely something completely different. :]
07:27:46 <n1essa> i found it, it's part of hsc2hs
07:28:05 NaturalNumber joins (~monadam@137.229.82.64)
07:28:12 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.5)
07:28:51 `2jt joins (~jtomas@141.red-88-17-65.dynamicip.rima-tde.net)
07:28:54 <Inst> btw what are your guys experiences with the smalltalk community?
07:28:57 <Inst> I'm pretty much stalled out
07:29:01 <Inst> so monochrome wins, I'm a poser
07:29:25 <Axman6> I have never met anyone from the smalltalk community
07:29:59 <Inst> also, if you guys can be helpful, can you come up with some projects for me to do?
07:30:13 <[exa]> in haskell?
07:30:22 <Inst> yeah, but simple ones ;_;
07:30:26 <[exa]> wait I'll fetch the looooooooooong list
07:30:31 <Inst> thanks <3
07:30:41 <Inst> i had a lot of fun exploring Haskell as "definable pseudocode"
07:30:47 <Axman6> work your way through these, they are pointless but extremely important: https://blog.tmorris.net/posts/20-intermediate-haskell-exercises/
07:30:53 <Inst> but I'm not sure if writing Haskell programs as pseudocode, then defining them to be correct, is marketable
07:31:03 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
07:31:29 <[exa]> Inst: if you call it "writing in EDSLs", it's actually a perfectly valid methodology
07:31:43 <Inst> i mean marketing
07:31:45 <Axman6> I picked that based on your Functor question, it feels like you're at a good point to attempt them
07:31:51 <Inst> also ewww
07:31:57 <Inst> error "todo"? why that instead of undfeined?
07:32:21 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
07:32:29 <Axman6> because you're supposed to replace those todos and it will complain at you when you try to use something you haven't defined yet
07:32:33 <[exa]> `error "I want to do this in the future"` is a bit more explanatory than "haha nope undefined"
07:32:39 <Axman6> undefined is just error "undefined" after all
07:32:54 <Axman6> @src undefined
07:32:54 <lambdabot> undefined = error "Prelude.undefined"
07:33:18 <Inst> https://github.com/liamzee/movies-hw/blob/master/server/app/MoviesServer.hs
07:33:20 Pickchea joins (~private@user/pickchea)
07:33:22 <Inst> what recent shit I've been doing looks like
07:34:09 <Axman6> I guess if you're using servant you're a bit poast those exercises
07:34:26 <n1essa> sweet i was able to add a missing method to X11 library.. i should probably figure out how to actually submit this
07:34:59 <Inst> we rushed along
07:35:10 <[exa]> n1essa: if the library has github, just send a PR, devs will usually guide you through the rest
07:35:15 <Inst> i stopped tutoring (at least temporarily) because the stuff I wanted to learn, I couldn't get
07:35:18 <Inst> like conduit / pipes
07:35:24 <Inst> still not sure whether to use conduit or pipes
07:35:39 <Inst> i still can't hack Aeson to work directly with types of Value instead of through the JSON interface
07:35:46 <Axman6> do you want to be impressed by the beauty of the abstraction? or write working programs?
07:35:48 alternateved joins (~user@staticline-31-183-144-54.toya.net.pl)
07:36:14 <Axman6> for the former, use pipes, for the latter, use conduit. Also see jackdk's discussion of the merits of the various streaming libraries a couple of hours ago
07:36:16 <Inst> write working programs
07:38:23 <Inst> how bad is the code quality there?
07:38:43 <[exa]> pretty good tbh
07:39:13 <sm> smalltalk & community are awesome. Still doing cool stuff and might take over the world one day
07:40:27 × asarch quits (~asarch@2806:10ae:7:c863:b7f0:193:285c:8465) (Quit: Leaving)
07:40:39 <[exa]> Inst: btw what's the problem with aeson? you generally don't want to work directly with Value
07:42:08 <Inst> sm: I'm trying to talk smalltalkers into implementing smalltalk in Haskell for laughs
07:43:23 <maerwald[m]> Inst: use streamly, not conduit ;)
07:44:26 <Inst> basically, I tried to play code golf as much as I could with previous projects
07:44:38 <Inst> this time, I'm trying to be explicit with code, to the extent of using pattern synonyms to obscure Nothing
07:44:56 <Inst> on FP discord, btw, we're wondering if we can market Haskell as "functional pseudocode"
07:45:34 MajorBiscuit joins (~MajorBisc@wlan-145-94-167-213.wlan.tudelft.nl)
07:46:12 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:47:22 dschrempf joins (~dominik@2a01-036d-0118-4212-15b7-3a6a-1add-ee4a.pool6.digikabel.hu)
07:47:32 <sm> for implementing a smalltalk VM, you want very fast low level code, zig or rust might be a better fit
07:48:00 <sm> smalltalk/FP crossover is interesting though I agree
07:50:46 cfricke joins (~cfricke@user/cfricke)
07:51:10 <sm> (also, smalltalk already has a very good VM that would be hard to match)
07:52:28 <Inst> nah, the smalltalkers just seem cool, reasonably academic
07:52:35 <Inst> and supposedly smalltalk OOP is OOP that works
07:52:42 <Inst> would be nice to get insights from their community, etc
07:54:14 × NaturalNumber quits (~monadam@137.229.82.64) (Quit: Have a nice day)
07:55:07 machinedgod joins (~machinedg@d172-219-86-154.abhsia.telus.net)
07:55:40 × dschrempf quits (~dominik@2a01-036d-0118-4212-15b7-3a6a-1add-ee4a.pool6.digikabel.hu) (Quit: WeeChat 3.6)
07:55:45 fserucas joins (~fserucas@39.64.114.89.rev.vodafone.pt)
07:55:59 × fserucas quits (~fserucas@39.64.114.89.rev.vodafone.pt) (Client Quit)
07:56:14 fserucas joins (~fserucas@39.64.114.89.rev.vodafone.pt)
07:59:18 × Kaiepi quits (~Kaiepi@156.34.47.253) (Read error: Connection reset by peer)
07:59:43 Kaiepi joins (~Kaiepi@156.34.47.253)
08:00:33 Tuplanolla joins (~Tuplanoll@91-159-69-97.elisa-laajakaista.fi)
08:01:17 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:03:15 × `2jt quits (~jtomas@141.red-88-17-65.dynamicip.rima-tde.net) (Remote host closed the connection)
08:03:21 matthewmosior joins (~matthewmo@173.170.253.91)
08:03:29 yauhsien joins (~yauhsien@61-231-22-68.dynamic-ip.hinet.net)
08:04:06 acidjnk_new joins (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de)
08:06:27 dschrempf joins (~dominik@2a01-036d-0118-4212-276b-c4f1-89b5-cfd7.pool6.digikabel.hu)
08:07:23 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
08:07:29 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
08:07:51 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
08:08:10 × acidjnk_new3 quits (~acidjnk@p200300d6e70586052d49bed31da73f77.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
08:08:39 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
08:11:53 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds)
08:12:15 × dschrempf quits (~dominik@2a01-036d-0118-4212-276b-c4f1-89b5-cfd7.pool6.digikabel.hu) (Ping timeout: 260 seconds)
08:13:48 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
08:15:10 × yauhsien quits (~yauhsien@61-231-22-68.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
08:16:35 gmg joins (~user@user/gehmehgeh)
08:19:26 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
08:23:29 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:20ec:e44c:e765:b535)
08:23:30 × Dorkside69 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:23:44 Dorkside694 joins (~dorkside@208.190.197.222)
08:23:46 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:24:00 Dorkside694 joins (~dorkside@208.190.197.222)
08:24:01 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:24:14 Dorkside694 joins (~dorkside@208.190.197.222)
08:24:15 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:24:28 Dorkside694 joins (~dorkside@208.190.197.222)
08:24:28 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:24:41 Dorkside694 joins (~dorkside@208.190.197.222)
08:24:41 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:24:55 Dorkside694 joins (~dorkside@208.190.197.222)
08:24:56 ccntrq joins (~Thunderbi@exit-3.office.han.de.mhd.medondo.com)
08:24:56 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:25:10 Dorkside694 joins (~dorkside@208.190.197.222)
08:25:11 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:25:24 Dorkside694 joins (~dorkside@208.190.197.222)
08:25:24 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:25:33 × acidjnk_new quits (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
08:25:37 Dorkside694 joins (~dorkside@208.190.197.222)
08:25:38 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:25:49 lys joins (sid194105@user/lys)
08:25:51 Dorkside694 joins (~dorkside@208.190.197.222)
08:25:52 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:25:58 × kaskal quits (~kaskal@089144220061.atnat0029.highway.webapn.at) (Quit: ZNC - https://znc.in)
08:26:05 Dorkside694 joins (~dorkside@208.190.197.222)
08:26:06 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:26:19 Dorkside694 joins (~dorkside@208.190.197.222)
08:26:20 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:26:33 Dorkside694 joins (~dorkside@208.190.197.222)
08:26:33 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:26:46 Dorkside694 joins (~dorkside@208.190.197.222)
08:26:46 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:26:59 Dorkside694 joins (~dorkside@208.190.197.222)
08:26:59 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:27:12 Dorkside694 joins (~dorkside@208.190.197.222)
08:27:13 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:27:26 Dorkside694 joins (~dorkside@208.190.197.222)
08:27:27 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:27:38 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:20ec:e44c:e765:b535) (Ping timeout: 244 seconds)
08:27:40 Dorkside694 joins (~dorkside@208.190.197.222)
08:27:41 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:27:54 Dorkside694 joins (~dorkside@208.190.197.222)
08:27:55 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:28:08 Dorkside694 joins (~dorkside@208.190.197.222)
08:28:09 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:28:22 Dorkside694 joins (~dorkside@208.190.197.222)
08:28:22 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:28:35 Dorkside694 joins (~dorkside@208.190.197.222)
08:28:35 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:28:48 Dorkside694 joins (~dorkside@208.190.197.222)
08:28:49 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:29:02 Dorkside694 joins (~dorkside@208.190.197.222)
08:29:03 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:29:16 Dorkside694 joins (~dorkside@208.190.197.222)
08:29:16 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:29:31 Dorkside694 joins (~dorkside@208.190.197.222)
08:29:32 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:29:43 matthewmosior joins (~matthewmo@173.170.253.91)
08:29:45 Dorkside694 joins (~dorkside@208.190.197.222)
08:29:45 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:29:58 Dorkside694 joins (~dorkside@208.190.197.222)
08:29:58 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:29:59 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
08:30:12 Dorkside694 joins (~dorkside@208.190.197.222)
08:30:13 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:30:26 Dorkside694 joins (~dorkside@208.190.197.222)
08:30:27 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:30:40 Dorkside694 joins (~dorkside@208.190.197.222)
08:30:40 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:30:54 Dorkside694 joins (~dorkside@208.190.197.222)
08:30:55 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:31:08 Dorkside694 joins (~dorkside@208.190.197.222)
08:31:08 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:31:21 Dorkside694 joins (~dorkside@208.190.197.222)
08:31:22 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:31:35 Dorkside694 joins (~dorkside@208.190.197.222)
08:31:36 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:31:49 Dorkside694 joins (~dorkside@208.190.197.222)
08:31:50 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:32:03 Dorkside694 joins (~dorkside@208.190.197.222)
08:32:03 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:32:16 Dorkside694 joins (~dorkside@208.190.197.222)
08:32:17 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:32:31 × YoungFrog quits (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) (Ping timeout: 272 seconds)
08:32:31 Dorkside694 joins (~dorkside@208.190.197.222)
08:32:32 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:32:45 Dorkside694 joins (~dorkside@208.190.197.222)
08:32:46 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:32:59 Dorkside694 joins (~dorkside@208.190.197.222)
08:32:59 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:33:15 Dorkside694 joins (~dorkside@208.190.197.222)
08:33:16 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:33:29 Dorkside694 joins (~dorkside@208.190.197.222)
08:33:29 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:33:42 Dorkside694 joins (~dorkside@208.190.197.222)
08:33:43 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:33:56 Dorkside694 joins (~dorkside@208.190.197.222)
08:33:57 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:34:10 Dorkside694 joins (~dorkside@208.190.197.222)
08:34:10 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:34:23 Dorkside694 joins (~dorkside@208.190.197.222)
08:34:23 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:34:36 Dorkside694 joins (~dorkside@208.190.197.222)
08:34:37 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:34:50 Dorkside694 joins (~dorkside@208.190.197.222)
08:34:51 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:34:59 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
08:35:04 Dorkside694 joins (~dorkside@208.190.197.222)
08:35:05 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:35:19 Dorkside694 joins (~dorkside@208.190.197.222)
08:35:20 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:35:33 Dorkside694 joins (~dorkside@208.190.197.222)
08:35:33 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:35:47 Dorkside694 joins (~dorkside@208.190.197.222)
08:35:47 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:36:00 Dorkside694 joins (~dorkside@208.190.197.222)
08:36:01 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:36:15 Dorkside694 joins (~dorkside@208.190.197.222)
08:36:16 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:36:29 Dorkside694 joins (~dorkside@208.190.197.222)
08:36:30 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:36:43 Dorkside694 joins (~dorkside@208.190.197.222)
08:36:44 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:36:48 × lys quits (sid194105@user/lys) ()
08:36:57 Dorkside694 joins (~dorkside@208.190.197.222)
08:36:58 × Dorkside694 quits (~dorkside@208.190.197.222) (Remote host closed the connection)
08:39:11 × arjun quits (~arjun@user/arjun) (Quit: tip toe-ing my way outta here)
08:40:00 YoungFrog joins (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be)
08:47:34 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
08:48:42 × chomwitt quits (~chomwitt@2a02:587:dc00:5a00:7:bdc0:5a4f:ad30) (Ping timeout: 264 seconds)
08:49:01 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
08:50:35 × eagleflo quits (~aku@163.172.137.34) (Remote host closed the connection)
08:50:35 × Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
08:50:44 Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
08:51:56 × xsarnik quits (xsarnik@lounge.fi.muni.cz) (Quit: Ping timeout (120 seconds))
08:52:08 xsarnik joins (xsarnik@lounge.fi.muni.cz)
08:53:08 Athas_ joins (athas@sigkill.dk)
08:53:27 × akshay quits (~nerdypepp@user/nerdypepper) (Ping timeout: 256 seconds)
08:54:01 × haveo quits (~haveo@sl35.iuwt.fr) (Ping timeout: 256 seconds)
08:54:01 × koolazer quits (~koo@user/koolazer) (Ping timeout: 256 seconds)
08:54:09 haveo joins (~haveo@sl35.iuwt.fr)
08:54:16 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
08:54:35 × tureba quits (~tureba@tureba.org) (Ping timeout: 256 seconds)
08:54:35 × Athas quits (athas@sigkill.dk) (Ping timeout: 256 seconds)
08:54:35 × swistak- quits (~swistak@185.21.216.141) (Ping timeout: 256 seconds)
08:55:03 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 268 seconds)
08:55:07 nerdypepper joins (~nerdypepp@user/nerdypepper)
08:55:46 tureba joins (~tureba@tureba.org)
08:55:50 swistak joins (~swistak@185.21.216.141)
08:56:04 koolazer joins (~koo@user/koolazer)
08:56:20 gmg joins (~user@user/gehmehgeh)
09:02:06 aku joins (~aku@163.172.137.34)
09:09:04 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
09:10:37 mrvdb joins (~mrvdb@2001:19f0:5000:8582:5400:ff:fe07:3df5)
09:12:48 acidjnk_new joins (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de)
09:13:32 Athas_ is now known as Athas
09:14:52 yauhsien joins (~yauhsien@61-231-22-68.dynamic-ip.hinet.net)
09:15:18 × Kaiepi quits (~Kaiepi@156.34.47.253) (Read error: Connection reset by peer)
09:17:13 × alternateved quits (~user@staticline-31-183-144-54.toya.net.pl) (Remote host closed the connection)
09:18:34 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Ping timeout: 272 seconds)
09:20:00 alternateved joins (~user@staticline-31-183-144-54.toya.net.pl)
09:20:39 × dwt_ quits (~dwt_@c-98-198-103-176.hsd1.tx.comcast.net) (Ping timeout: 272 seconds)
09:20:49 matthewmosior joins (~matthewmo@173.170.253.91)
09:21:14 <Inst> can I ask about function calls and its effects on Haskell performance?
09:21:40 <Inst> is that why people like pointfree (pointless) so much?
09:23:03 <sm> they're fast. pointfree is about style and clarity, not (usually?) performance
09:23:22 Guest26861 joins (~inversed@0545c13e.skybroadband.com)
09:23:23 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:23:40 × xsarnik quits (xsarnik@lounge.fi.muni.cz) (Quit: Ping timeout (120 seconds))
09:23:54 xsarnik joins (xsarnik@lounge.fi.muni.cz)
09:24:06 <apache2> pointless :D
09:24:59 × mmhat quits (~mmh@p200300f1c70559dfee086bfffe095315.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
09:25:07 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
09:26:03 × PiDelport quits (uid25146@id-25146.lymington.irccloud.com) (Quit: Connection closed for inactivity)
09:26:25 × inversed quits (~inversed@0545c13e.skybroadband.com) (Ping timeout: 268 seconds)
09:27:10 × talismanick quits (~talismani@2601:200:c100:3850::dd64) (Ping timeout: 240 seconds)
09:28:37 benin0 joins (~benin@183.82.28.242)
09:29:08 dwt_ joins (~dwt_@c-98-198-103-176.hsd1.tx.comcast.net)
09:33:35 <tomsmeding> Pointfree style is not about performance in the overwhelming majority of cases
09:34:44 <tomsmeding> Converting `foo l = sum (map (*2) l)` to `foo = sum . map (*2)` makes zero difference on performance (modulo sidenotes about inlining, but this function is small anyway so doesn't matter here)
09:38:23 mmhat joins (~mmh@p200300f1c705598bee086bfffe095315.dip0.t-ipconnect.de)
09:38:45 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
09:41:53 <tomsmeding> I've heard said that eta-expanding `map (expensive y) l` to `map (\x -> expensive y x) l` can be slower because it would evaluate `expensive y` multiple times, but I can't seem to reproduce that now
09:42:05 × yauhsien quits (~yauhsien@61-231-22-68.dynamic-ip.hinet.net) (Ping timeout: 255 seconds)
09:43:04 John_Ivan joins (~John_Ivan@user/john-ivan/x-1515935)
09:48:30 dschrempf joins (~dominik@2a01-036d-0118-4212-d46d-6351-e702-3690.pool6.digikabel.hu)
09:54:45 matthewmosior joins (~matthewmo@173.170.253.91)
10:12:25 <Pickchea> Hey, when I define functions I usually choose the signature f :: a -> b -> b over f :: b -> a -> b so I can do things like f a . f b . f c $ x. But then I can't do left associative folds like foldl' f [x, y, z] and instead I have to use foldl' (flip f) [x, y, z]. So which argument order should I opt for in f? Why isn't foldl or its strict version defined as Foldable t => (a -> b -> b) -> b -> t a -> b?
10:16:13 <Pickchea> Sorry, let me try that again, that wasn't right.
10:16:26 <[exa]> Pickchea: I guess for foldl it's basically for leaving a bit of intuition about "what comes from right"
10:16:39 <[Leary]> > foldl f w [x,y,z]
10:16:41 <lambdabot> f (f (f w x) y) z
10:16:47 <[Leary]> > foldl (flip f) w [x,y,z]
10:16:48 <lambdabot> f z (f y (f x w))
10:16:50 Guest|16 joins (~Guest|16@188.162.228.14)
10:17:03 <[Leary]> It keeps things in intuitive order.
10:18:11 <Pickchea> Hey, when I define functions I usually choose the signature f :: a -> b -> b over f :: b -> a -> b so I can do things like f a . f b . f c $ x. But then I can't do left associative folds like foldl' f x as and instead I have to use foldl' (flip f) x as. So which argument order should I opt for in f? Why isn't foldl or its strict version defined as Foldable t => (a -> b -> b) -> b -> t a -> b?
10:18:15 <[exa]> anyway you're perfectly right that all accumulator-ish functions are done in a way so that the argument that is "mutated" is the last, and left/rightness of foldl simply doesn't fit that view
10:18:27 <Pickchea> (Sorry for the spam but had to correct that)
10:18:42 <[exa]> (there might be a flipped foldl around)
10:19:18 <tomsmeding> :t foldl . flip
10:19:19 <lambdabot> Foldable t => (a -> b -> b) -> b -> t a -> b
10:19:25 <tomsmeding> :t foldr
10:19:26 <lambdabot> Foldable t => (a -> b -> b) -> b -> t a -> b
10:19:30 <[exa]> (actually yeah there's flipfoldl' in Relude)
10:21:11 lys joins (sid194105@id-194105.uxbridge.irccloud.com)
10:21:11 <Pickchea> I see, thanks! Maybe foldl is defined that way to easily distinguish it from foldr by their signatures alone.
10:21:38 <tomsmeding> Ocaml actually goes even further than haskell and flips around the initial-value and list arguments: https://v2.ocaml.org/api/List.html (search for fold_left)
10:21:39 × lys quits (sid194105@id-194105.uxbridge.irccloud.com) (Changing host)
10:21:39 lys joins (sid194105@user/lys)
10:22:53 <tomsmeding> Pickchea: it's also that foldl (*) z [a,b,c] == ((z*a)*b)*c and foldr (*) z [a,b,c] == a*(b*(c*z))
10:23:28 <tomsmeding> Whereas flipfoldl (*) z [a,b,c] == c * (b * (a * z)
10:23:33 Guest|16 parts (~Guest|16@188.162.228.14) ()
10:24:12 <tomsmeding> Which, in a sense, reverses the list in the process; the designers of the haskell prelude thought that was unintuitive, probably
10:24:20 kjak joins (~kjak@pool-108-31-68-111.washdc.fios.verizon.net)
10:25:09 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:20ec:e44c:e765:b535)
10:25:11 wootehfoot joins (~wootehfoo@user/wootehfoot)
10:25:38 naso joins (~naso@193-116-244-197.tpgi.com.au)
10:26:27 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Max SendQ exceeded)
10:27:13 wootehfoot joins (~wootehfoo@user/wootehfoot)
10:29:55 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:20ec:e44c:e765:b535) (Ping timeout: 260 seconds)
10:29:56 × Kevin578_ quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 268 seconds)
10:31:02 nate4 joins (~nate@98.45.169.16)
10:31:37 × fserucas quits (~fserucas@39.64.114.89.rev.vodafone.pt) (Remote host closed the connection)
10:31:55 fserucas joins (~fserucas@39.64.114.89.rev.vodafone.pt)
10:32:01 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
10:34:35 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
10:34:52 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Ping timeout: 268 seconds)
10:35:24 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 276 seconds)
10:36:05 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 255 seconds)
10:38:58 × ccntrq quits (~Thunderbi@exit-3.office.han.de.mhd.medondo.com) (Quit: ccntrq)
10:46:04 gurkenglas joins (~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de)
10:49:19 × dschrempf quits (~dominik@2a01-036d-0118-4212-d46d-6351-e702-3690.pool6.digikabel.hu) (Ping timeout: 272 seconds)
10:49:46 dschrempf joins (~dominik@2a01-036d-0118-4212-e447-42cf-2986-cbec.pool6.digikabel.hu)
10:52:45 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
10:54:20 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
11:01:05 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
11:02:26 × dschrempf quits (~dominik@2a01-036d-0118-4212-e447-42cf-2986-cbec.pool6.digikabel.hu) (Ping timeout: 272 seconds)
11:04:58 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
11:08:55 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
11:09:24 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
11:09:38 <chreekat> I have to check the type of foldl/foldr every time still
11:11:58 <hpc> there's a cool trick to remembering foldr
11:12:10 <hpc> imagine generalizing it to any type
11:12:25 <hpc> so say you have foldEither
11:12:44 <hpc> Either is "data Either a b = ...", so let's say foldEither produces a 'c'
11:13:25 <hpc> and then you put the types of each constructor in order, replacing 'Either a b' with 'c'
11:13:38 <hpc> Left :: a -> Either a b, Right :: b -> Either a b
11:13:55 <hpc> so foldEither :: (a -> c) -> (b -> c) -> Either a b -> c
11:14:25 <hpc> if you do the same thing with lists, [] :: [a], and (:) :: a -> [a] -> [a]
11:14:42 <hpc> or, foldList :: b -> (a -> b -> b) -> [a] -> b
11:15:00 <hpc> and then because we're silly and inconsistent sometimes, flip those first two arguments :(
11:15:09 <hpc> but at least you can remember (a -> b -> b) that way
11:16:10 matthewmosior joins (~matthewmo@173.170.253.91)
11:16:31 <hpc> this pattern makes a "universal function" for that type (i forget the correct term)
11:17:03 <hpc> which can, with the right arguments, turn into any arbitrary function from your data type to something else
11:17:46 <hpc> so if you want to make a fold function for some complicated tree type or something, you can use this to write that function without thinking too hard :D
11:20:40 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 260 seconds)
11:24:20 andscape joins (~andscape@ti0185a400-0748.bb.online.no)
11:29:21 chomwitt joins (~chomwitt@2a02:587:dc00:5a00:733a:5ef8:b6d4:755)
11:31:14 <[Leary]> Catamorphism? Or, arguably, something like church or scott encoding. If you fiddle with the order there, it's `Either a b -> (forall c. (a -> c) -> (b -> c) -> c)` and `[a] -> (forall b. b -> (a -> b -> b) -> b)` which isomorphisms.
11:31:31 <[Leary]> which are*
11:50:44 × frost quits (~frost@user/frost) (Quit: Client closed)
11:50:46 NaturalNumber joins (~monadam@137.229.82.64)
11:51:42 __monty__ joins (~toonn@user/toonn)
11:52:56 × lys quits (sid194105@user/lys) ()
11:53:34 dschrempf joins (~dominik@2a01-036d-0118-4212-9b1a-a4f7-7f52-61c3.pool6.digikabel.hu)
11:56:21 × Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
11:56:38 Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
12:00:51 frost joins (~frost@user/frost)
12:04:57 lortabac joins (~lortabac@37.101.134.31)
12:05:09 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
12:05:11 × machinedgod quits (~machinedg@d172-219-86-154.abhsia.telus.net) (Remote host closed the connection)
12:05:32 × frost quits (~frost@user/frost) (Ping timeout: 252 seconds)
12:05:55 machinedgod joins (~machinedg@d172-219-86-154.abhsia.telus.net)
12:08:34 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
12:13:57 NaturalNumber123 joins (~monadam@137.229.82.64)
12:15:10 king_gs joins (~Thunderbi@187.201.95.222)
12:16:32 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 244 seconds)
12:16:37 × NaturalNumber quits (~monadam@137.229.82.64) (Ping timeout: 268 seconds)
12:17:10 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
12:17:30 × dschrempf quits (~dominik@2a01-036d-0118-4212-9b1a-a4f7-7f52-61c3.pool6.digikabel.hu) (Ping timeout: 240 seconds)
12:18:25 matthewmosior joins (~matthewmo@173.170.253.91)
12:18:39 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
12:23:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
12:23:30 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
12:23:54 NaturalNumber joins (~monadam@137.229.82.64)
12:25:52 × NaturalNumber123 quits (~monadam@137.229.82.64) (Ping timeout: 268 seconds)
12:27:21 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
12:27:40 chexum joins (~quassel@gateway/tor-sasl/chexum)
12:27:42 dschrempf joins (~dominik@2a01-036d-0118-4212-00b3-f240-2b0c-0883.pool6.digikabel.hu)
12:31:18 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:31:23 lys joins (sid194105@id-194105.uxbridge.irccloud.com)
12:31:45 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 276 seconds)
12:33:20 × lys quits (sid194105@id-194105.uxbridge.irccloud.com) (Client Quit)
12:33:20 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
12:33:53 × lortabac quits (~lortabac@37.101.134.31) (Ping timeout: 268 seconds)
12:34:47 × NaturalNumber quits (~monadam@137.229.82.64) (Quit: Have a nice day)
12:35:14 lortabac joins (~lortabac@37.172.188.172)
12:36:30 matthewmosior joins (~matthewmo@173.170.253.91)
12:37:14 mastarija joins (~mastarija@2a05:4f46:e02:8c00:c16d:6f16:8e31:78a1)
12:37:47 <mastarija> Is there a way to capture raw request header data in servant?
12:40:07 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
12:42:07 coot joins (~coot@213.134.190.95)
12:47:47 × mastarija quits (~mastarija@2a05:4f46:e02:8c00:c16d:6f16:8e31:78a1) (Quit: Leaving)
12:51:09 NaturalNumber joins (~monadam@137.229.82.64)
12:52:59 × systemfault quits (sid267009@id-267009.uxbridge.irccloud.com) ()
12:53:17 systemfault joins (sid267009@id-267009.uxbridge.irccloud.com)
12:57:11 John_Ivan parts (~John_Ivan@user/john-ivan/x-1515935) (Leaving)
12:58:25 safinaskar joins (~quassel@178.160.244.66)
12:58:44 <safinaskar> where can i see dependent haskell progress?
12:59:01 <safinaskar> maybe there is some ghc branch somewhere?
13:00:39 <geekosaur[m]> Best to ask in #ghc
13:04:38 <safinaskar> ok
13:04:38 × king_gs quits (~Thunderbi@187.201.95.222) (Read error: Connection reset by peer)
13:05:58 king_gs joins (~Thunderbi@187.201.95.222)
13:07:33 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
13:08:44 notzmv joins (~zmv@user/notzmv)
13:09:00 × lortabac quits (~lortabac@37.172.188.172) (Quit: WeeChat 2.8)
13:09:33 lortabac joins (~lortabac@37.101.76.86)
13:20:23 × NaturalNumber quits (~monadam@137.229.82.64) (Quit: Have a nice day)
13:22:35 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Ping timeout: 272 seconds)
13:24:05 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
13:26:25 king_gs1 joins (~Thunderbi@2806:103e:29:a1b3:d33d:90f:3255:af90)
13:26:25 × king_gs quits (~Thunderbi@187.201.95.222) (Read error: Connection reset by peer)
13:26:25 king_gs1 is now known as king_gs
13:32:41 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
13:35:59 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
13:36:00 × coot quits (~coot@213.134.190.95) (Quit: coot)
13:36:07 matthewmosior joins (~matthewmo@173.170.253.91)
13:36:29 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
13:40:30 × elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 240 seconds)
13:42:48 × king_gs quits (~Thunderbi@2806:103e:29:a1b3:d33d:90f:3255:af90) (Ping timeout: 244 seconds)
13:43:19 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
13:46:24 wootehfoot joins (~wootehfoo@user/wootehfoot)
13:47:53 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
13:48:22 × dschrempf quits (~dominik@2a01-036d-0118-4212-00b3-f240-2b0c-0883.pool6.digikabel.hu) (Ping timeout: 272 seconds)
13:49:43 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
13:50:23 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
13:51:36 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
13:52:48 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 272 seconds)
13:53:51 dextaa joins (~DV@user/dextaa)
13:58:22 jakalx parts (~jakalx@base.jakalx.net) ()
14:01:07 jakalx joins (~jakalx@base.jakalx.net)
14:02:58 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:04:09 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
14:06:04 dextaa joins (~DV@user/dextaa)
14:08:18 mc47 joins (~mc47@xmonad/TheMC47)
14:10:32 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
14:11:08 dschrempf joins (~dominik@2a01-036d-0118-4212-de0c-8a45-b43e-46f6.pool6.digikabel.hu)
14:13:15 × zxx7529 quits (~Thunderbi@user/zxx7529) (Quit: zxx7529)
14:14:05 v0d1ch joins (~v0d1ch@cable-178-148-112-180.dynamic.sbb.rs)
14:14:24 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
14:16:36 dextaa joins (~DV@user/dextaa)
14:17:18 safinaskar parts (~quassel@178.160.244.66) ()
14:17:30 × Pickchea quits (~private@user/pickchea) (Ping timeout: 272 seconds)
14:18:30 × christiansen quits (~christian@83-95-137-75-dynamic.dk.customer.tdc.net) (Ping timeout: 240 seconds)
14:20:09 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
14:21:18 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
14:24:08 × andscape quits (~andscape@ti0185a400-0748.bb.online.no) (Ping timeout: 252 seconds)
14:24:53 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds)
14:26:44 matthewmosior joins (~matthewmo@173.170.253.91)
14:31:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
14:32:36 nate4 joins (~nate@98.45.169.16)
14:32:54 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 268 seconds)
14:33:17 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
14:33:32 × chomwitt quits (~chomwitt@2a02:587:dc00:5a00:733a:5ef8:b6d4:755) (Ping timeout: 260 seconds)
14:34:52 yauhsien joins (~yauhsien@61-231-22-68.dynamic-ip.hinet.net)
14:35:30 dextaa joins (~DV@user/dextaa)
14:37:20 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
14:37:28 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Read error: Connection reset by peer)
14:37:50 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds)
14:39:35 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
14:39:51 × rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in)
14:40:22 × yauhsien quits (~yauhsien@61-231-22-68.dynamic-ip.hinet.net) (Ping timeout: 268 seconds)
14:40:47 rembo10 joins (~rembo10@main.remulis.com)
14:41:02 × mmhat quits (~mmh@p200300f1c705598bee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 3.6)
14:42:44 coot joins (~coot@213.134.190.95)
14:46:18 zxx7529 joins (~Thunderbi@user/zxx7529)
14:46:54 × mrd quits (~mrd@45.61.147.211) (Changing host)
14:46:54 mrd joins (~mrd@user/mrd)
14:48:32 × dextaa quits (~DV@user/dextaa) (Read error: Connection reset by peer)
14:50:32 dextaa joins (~DV@user/dextaa)
14:50:54 × v0d1ch quits (~v0d1ch@cable-178-148-112-180.dynamic.sbb.rs) (Ping timeout: 252 seconds)
14:53:07 slack1256 joins (~slack1256@191.125.227.65)
14:56:37 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
14:56:41 azimut joins (~azimut@gateway/tor-sasl/azimut)
14:57:07 × Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
14:57:17 chexum joins (~quassel@gateway/tor-sasl/chexum)
14:58:24 Vajb joins (~Vajb@n1zigc3rgo9mpde2w-1.v6.elisa-mobile.fi)
14:59:28 × phma quits (phma@2001:5b0:210b:99d8:7aa7:eab5:6b73:863a) (Read error: Connection reset by peer)
15:00:13 phma joins (~phma@host-67-44-208-20.hnremote.net)
15:00:28 shriekingnoise joins (~shrieking@201.212.175.181)
15:03:06 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 264 seconds)
15:04:54 chomwitt joins (~chomwitt@2a02:587:dc00:5a00:1751:e625:a0e5:d838)
15:05:10 v0d1ch joins (~v0d1ch@cable-178-148-112-180.dynamic.sbb.rs)
15:06:13 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
15:10:52 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
15:11:45 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
15:12:42 × motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 264 seconds)
15:12:43 × dschrempf quits (~dominik@2a01-036d-0118-4212-de0c-8a45-b43e-46f6.pool6.digikabel.hu) (Quit: WeeChat 3.6)
15:13:07 motherfsck joins (~motherfsc@user/motherfsck)
15:13:16 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
15:13:25 chexum_ joins (~quassel@gateway/tor-sasl/chexum)
15:14:19 × chexum_ quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
15:14:32 chexum joins (~quassel@gateway/tor-sasl/chexum)
15:19:31 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
15:24:45 matthewmosior joins (~matthewmo@173.170.253.91)
15:26:20 kaskal joins (~kaskal@089144220061.atnat0029.highway.webapn.at)
15:28:44 × cods quits (~fred@82-65-232-44.subs.proxad.net) (Ping timeout: 244 seconds)
15:29:30 × jespada quits (~jespada@200.123.140.126) (Ping timeout: 240 seconds)
15:29:54 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
15:31:51 pgib joins (~textual@173.38.117.89)
15:31:58 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6)
15:32:06 × kaskal quits (~kaskal@089144220061.atnat0029.highway.webapn.at) (Ping timeout: 268 seconds)
15:33:30 jespada joins (~jespada@45.162.228.190)
15:33:42 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
15:34:52 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
15:36:45 × chomwitt quits (~chomwitt@2a02:587:dc00:5a00:1751:e625:a0e5:d838) (Ping timeout: 260 seconds)
15:39:40 × v0d1ch quits (~v0d1ch@cable-178-148-112-180.dynamic.sbb.rs) (Ping timeout: 252 seconds)
15:40:50 × lortabac quits (~lortabac@37.101.76.86) (Quit: WeeChat 2.8)
15:42:42 × MajorBiscuit quits (~MajorBisc@wlan-145-94-167-213.wlan.tudelft.nl) (Ping timeout: 264 seconds)
15:44:37 × wolfshappen quits (~waff@irc.furworks.de) (Read error: Connection reset by peer)
15:45:19 wolfshappen joins (~waff@irc.furworks.de)
15:45:51 PiDelport joins (uid25146@id-25146.lymington.irccloud.com)
15:46:10 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:780e:1ceb:256a:60ab)
15:46:37 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
15:47:25 gmg joins (~user@user/gehmehgeh)
16:00:06 × goran[m] quits (~goranoour@2001:470:69fc:105::2:1b44) (Quit: You have been kicked for being idle)
16:00:43 Midjak joins (~Midjak@82.66.147.146)
16:01:11 king_gs joins (~Thunderbi@187.201.95.222)
16:05:57 × coot quits (~coot@213.134.190.95) (Quit: coot)
16:08:23 × drlkf quits (~drlkf@ns327185.ip-37-187-109.eu) (Quit: q=)
16:08:36 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
16:16:30 × pgib quits (~textual@173.38.117.89) (Ping timeout: 268 seconds)
16:20:51 × king_gs quits (~Thunderbi@187.201.95.222) (Read error: Connection reset by peer)
16:21:47 × slack1256 quits (~slack1256@191.125.227.65) (Read error: Connection reset by peer)
16:21:47 king_gs joins (~Thunderbi@2806:103e:29:a1b3:d33d:90f:3255:af90)
16:22:50 slack1256 joins (~slack1256@186.11.21.165)
16:23:53 × MironZ quits (~MironZ@nat-infra.ehlab.uk) (Ping timeout: 255 seconds)
16:24:49 use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:8936:f28b:f369:f4da)
16:24:52 matthewmosior joins (~matthewmo@173.170.253.91)
16:24:54 MironZ joins (~MironZ@nat-infra.ehlab.uk)
16:26:15 kaskal joins (~kaskal@2001:4bb8:2c0:3963:7278:d0d4:9479:4919)
16:26:59 coot joins (~coot@213.134.190.95)
16:28:27 × zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!)
16:29:11 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
16:33:34 Sgeo joins (~Sgeo@user/sgeo)
16:35:37 × machinedgod quits (~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 268 seconds)
16:40:35 × acidjnk_new quits (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
16:40:58 econo joins (uid147250@user/econo)
16:45:07 chomwitt joins (~chomwitt@2a02:587:dc00:5a00:5039:967e:7a37:9634)
16:45:07 × Vajb quits (~Vajb@n1zigc3rgo9mpde2w-1.v6.elisa-mobile.fi) (Read error: Connection reset by peer)
16:46:14 Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
16:51:18 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 240 seconds)
16:54:07 gdown joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
16:55:20 × zxx7529 quits (~Thunderbi@user/zxx7529) (Quit: zxx7529)
16:55:59 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
17:00:30 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
17:00:38 matthewmosior joins (~matthewmo@173.170.253.91)
17:01:24 wootehfoot joins (~wootehfoo@user/wootehfoot)
17:03:21 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
17:04:00 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
17:04:28 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
17:05:17 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
17:05:22 × Batzy quits (~quassel@user/batzy) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
17:05:32 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
17:06:31 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
17:06:31 Batzy joins (~quassel@user/batzy)
17:07:02 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
17:07:33 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
17:08:27 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
17:08:50 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 240 seconds)
17:09:59 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
17:11:30 × benin0 quits (~benin@183.82.28.242) (Quit: The Lounge - https://thelounge.chat)
17:12:58 × naso quits (~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
17:13:36 naso joins (~naso@193-116-244-197.tpgi.com.au)
17:14:33 × winny quits (~weechat@user/winny) (Ping timeout: 268 seconds)
17:14:35 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
17:14:47 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 255 seconds)
17:15:02 winny joins (~weechat@user/winny)
17:15:21 × tafa quits (~tafa@user/tafa) (Quit: ZNC - https://znc.in)
17:16:18 × Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
17:16:34 tafa joins (~tafa@user/tafa)
17:17:31 × mbuf quits (~Shakthi@122.165.55.71) (Quit: Leaving)
17:18:47 × naso quits (~naso@193-116-244-197.tpgi.com.au) (Ping timeout: 268 seconds)
17:19:03 Vajb joins (~Vajb@n1zigc3rgo9mpde2w-1.v6.elisa-mobile.fi)
17:19:32 × auri quits (~auri@fsf/member/auri) (Quit: No Ping reply in 180 seconds.)
17:20:42 auri joins (~auri@fsf/member/auri)
17:20:43 × bjobjo quits (~bjobjo@user/bjobjo) (Remote host closed the connection)
17:26:01 naso joins (~naso@193-116-244-197.tpgi.com.au)
17:26:03 × naso quits (~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
17:26:48 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 268 seconds)
17:28:36 matthewmosior joins (~matthewmo@173.170.253.91)
17:32:45 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 272 seconds)
17:46:26 segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
17:46:51 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Remote host closed the connection)
17:47:11 <exarkun> this is a syntax error? https://gist.github.com/exarkun/f973f324e7cb1ff2d07e09bce518a159 at line 4, column 5, "parse error on input ‘\’"
17:49:26 <exarkun> (but why? or what's the right spelling?)
17:50:32 <exarkun> oh I forgot the field names.
17:52:21 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
17:54:01 talismanick joins (~talismani@campus-043-126.ucdavis.edu)
17:58:54 × chomwitt quits (~chomwitt@2a02:587:dc00:5a00:5039:967e:7a37:9634) (Ping timeout: 264 seconds)
18:00:14 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 255 seconds)
18:01:29 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Read error: Connection reset by peer)
18:08:53 acidjnk_new joins (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de)
18:09:34 marcusxavier joins (~marcusxav@2804:6660:ff12:ef70:d931:8aed:263b:5825)
18:10:04 <marcusxavier> I've heard that isn't good use head and tail
18:10:11 <marcusxavier> why?
18:10:19 <marcusxavier> Can I use take and drop instead?
18:12:00 <dolio> Imagine you wrote thousands of lines of code, using `head` many times. Then one day when you run it you see this:
18:12:02 <dolio> > head []
18:12:04 <lambdabot> *Exception: Prelude.head: empty list
18:12:32 cheater1__ joins (~Username@user/cheater)
18:13:00 × cheater quits (~Username@user/cheater) (Ping timeout: 276 seconds)
18:13:06 cheater1__ is now known as cheater
18:15:00 quarkyalice joins (~quarkyali@user/quarkyalice)
18:17:42 fockerize joins (~finn@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
18:18:10 <fockerize> what's the recommended library for serialiazing a record data type?
18:18:58 <marcusxavier> @dolio, but is there a problem using take and drop?
18:18:58 <lambdabot> Unknown command, try @list
18:19:26 <fockerize> I'm using brick for writing TUI applications and brick has a global state that i'd like to recover from next time i run the application
18:19:30 × segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 276 seconds)
18:19:46 <marcusxavier> And what can I use instead of head and tail? take 1 and drop 1?
18:21:53 <sm> interesting fockerize. I'd guess brick's internal state isn't serialisable, rather you'd save and reinitialiase your app state
18:22:16 <dolio> It depends on the situation. take and drop won't cause exceptions, but their behavior needs to be appropriate for where you're using them.
18:22:20 <sm> simplest way to start is show and read
18:23:26 <dolio> If you have a situation where a list is not supposed to be empty, then instead of using head/tail, it's probably better to do a custom pattern match with an error message that tells you where the wrong code is, for when you are mistaken about the list always being empty.
18:23:41 <dolio> Er, always non-empty.
18:24:32 <dolio> Or you can try to use a type that is never empty, but that may be more work than is saved from other problems.
18:24:56 <fockerize> sm: thx i'll take the easy path by using text files
18:24:58 <sm> another easy option is use headMay or headDef
18:26:55 <sm> you can make them a bit more readable by pretty printing with pretty-show or pretty-simple - IIRC some of these can prettify and still be readable
18:26:58 <dolio> Using `take 1` or `headMay` or whatever doesn't make much sense in lieu of `head`, because you need to do matching or similar on the results of those.
18:27:44 <monochrom> http://www.vex.net/~trebla/haskell/crossroad.xhtml
18:28:27 <monochrom> "if null xs then I can use head and tail else I can't" is an old XY-problem
18:30:25 <monochrom> headMay can also indicate an XYZ-problem.
18:31:02 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
18:31:29 <monochrom> A person who has not accepted pattern matching as more fundamental is just going to use headMay and then reduce "if null xs then head and tail" to "if just m then fromJust"
18:32:13 <sm> there's times these tools fit nicely
18:32:14 <monochrom> s/just/isJust/
18:32:14 <[exa]> marcusxavier: `take` and `drop` are AFAIK total
18:32:37 <monochrom> @quote monochrom safeFromJust
18:32:37 <lambdabot> monochrom says: I use safeFromJust :: Maybe a -> Maybe a
18:32:39 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
18:32:55 <JoeBloggs7003141> is there a difference between using d 7 2 and 7 `div` 2?
18:33:05 <[exa]> marcusxavier: which doesn't help much, esp. compared to the pattern matching that is unbelievably much more error-prone
18:33:06 <monochrom> take can have the wrong type.
18:33:10 <JoeBloggs7003141> div 7 2*
18:33:24 <[exa]> JoeBloggs7003141: not much, it's a syntactic sugar for the same thing
18:33:42 × coot quits (~coot@213.134.190.95) (Quit: coot)
18:33:46 <[exa]> JoeBloggs7003141: similarly you can convert 1+2 to: (+) 1 2
18:33:49 <monochrom> Also, again, A person who has not accepted pattern matching as more fundamental is just going to use and reduce "if null xs then head and tail" to "if null (take 1 xs) then head"
18:34:11 nate4 joins (~nate@98.45.169.16)
18:34:12 <[exa]> uh I wrote "more error-prone"
18:34:19 <[exa]> it should be "less error-prone"
18:34:27 <[exa]> whoops.
18:35:00 matthewmosior joins (~matthewmo@173.170.253.91)
18:36:27 <JoeBloggs7003141> [exa]: alright, thanks
18:38:43 <[exa]> JoeBloggs7003141: you can even kindof mix it, just as you can write (+ 1) as a shortcut for (\x -> x + 1), people tend to write (`elem` someSet) as a shortcut for (\x -> elem x someSet)
18:39:15 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 272 seconds)
18:39:25 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
18:39:31 matthewmosior joins (~matthewmo@173.170.253.91)
18:41:14 <JoeBloggs7003141> cool cool
18:41:21 <[exa]> I wouldn't recommend overdoing this, but in places it can make the code super readable. Consider "f `on` show" versus "on f show" (on is from Data.Function, see here https://hackage.haskell.org/package/base-4.16.2.0/docs/Data-Function.html#v:on)
18:43:00 kenran joins (~kenran@200116b82b229a00953d13ebb4cd3751.dip.versatel-1u1.de)
18:43:04 × kenran quits (~kenran@200116b82b229a00953d13ebb4cd3751.dip.versatel-1u1.de) (Client Quit)
18:43:07 <JoeBloggs7003141> a model solution to one problem was given as div x y instead of x `div` y which is why I was wondering
18:44:54 quarkyalice_ joins (~alice@user/quarkyalice/x-8092822)
18:46:51 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds)
18:47:33 slac69396 joins (~slack1256@191.125.227.65)
18:48:41 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
18:49:06 <troydm> I have a lot of expressions like a <|> b <|> c
18:49:24 <troydm> anyway I can reduce them to something like somefunc [a,b,c]
18:49:43 <[exa]> troydm: choice
18:49:44 <[exa]> :t choice
18:49:45 <lambdabot> error:
18:49:46 <lambdabot> • Variable not in scope: choice
18:49:46 <lambdabot> • Perhaps you meant ‘choose’ (imported from Lambdabot.Plugin.Haskell.Eval.Trusted)
18:49:48 <[exa]> oh noes.
18:49:57 <tomsmeding> > filter (`elem` [1..5]) [-5..10]
18:49:59 <lambdabot> [1,2,3,4,5]
18:50:03 <glguy> :t asum
18:50:03 × slack1256 quits (~slack1256@186.11.21.165) (Ping timeout: 268 seconds)
18:50:05 <lambdabot> (Foldable t, Alternative f) => t (f a) -> f a
18:50:25 <monochrom> Sometimes I teach "div x y" and not bother to teach "x `div` y".
18:50:29 <[exa]> ah yes, choice is specific to parsecs. Thanks glguy. :]
18:50:40 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 268 seconds)
18:50:44 <troydm> actually I'm using megaparsec
18:50:47 <troydm> let me check
18:50:57 <monochrom> But eager students handing in "x `div` y" are totally fine.
18:51:15 <troydm> attoparsec has it
18:51:19 <glguy> What about the ones writing: x` div `y ?
18:51:29 <monochrom> Hrm, will it work?
18:51:42 <monochrom> > let {x=5; y=1} in x` div `y
18:51:44 <lambdabot> 5
18:51:56 <monochrom> I think my students never thought of that :)
18:52:20 <glguy> > 10` div `do 2+3
18:52:22 <lambdabot> 2
18:52:37 <monochrom> ooohhhhh
18:52:54 <monochrom> Now people will "learn" that do "saves parentheses"
18:53:03 <[exa]> troydm: I remember using choice with megaparsec too but can't hoogle it, hopefully they didn't remove it
18:53:06 <glguy> You don't want to use up all your parentheses in one place
18:53:55 <troydm> isn't it same as foldl1 (<|>)
18:54:39 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
18:55:15 <[exa]> ah it's imported there from Control.Monad.Combinators, where it is defined as asum, which is IIRC 'foldr (<|>) empty'
18:55:32 elkcl joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru)
18:55:41 <[exa]> (with foldl it could not shortcircuit)
18:56:13 <troydm> [exa]: I don't understand, explain
18:56:25 <troydm> what shorcircuit you are talking about
18:56:33 × talismanick quits (~talismani@campus-043-126.ucdavis.edu) (Ping timeout: 276 seconds)
18:56:54 <[exa]> e.g. if you gave it an infinite list of possibilities it could not succeed on the first one with foldl
18:57:23 <troydm> well I'll always have finite set of parsers
18:57:28 <troydm> so not sure if I need it
18:58:10 <[exa]> then with foldr you at least do not need to evaluate all levels of the nested <|> everytime
18:58:47 matthewmosior joins (~matthewmo@173.170.253.91)
18:59:01 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
18:59:20 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
19:01:21 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
19:01:32 elkcl_ joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru)
19:01:58 × elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 240 seconds)
19:01:58 elkcl_ is now known as elkcl
19:04:14 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 268 seconds)
19:05:45 elkcl_ joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru)
19:06:06 <JoeBloggs7003141> I made a mistake https://paste.tomsmeding.com/6cAXmqqI the tested passed exercise 10 but I didn't use recursion, would there be a case where it wouldn't work
19:06:13 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
19:06:32 × elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 260 seconds)
19:06:32 elkcl_ is now known as elkcl
19:08:25 <[exa]> JoeBloggs7003141: that's some kind of exercise that required you to use the recursion?
19:09:23 <[exa]> otherwise I guess the definitions are more or less compatible (except for the corner cases, such as when the integers overflow)
19:09:48 matthewmosior joins (~matthewmo@173.170.253.91)
19:12:45 × fserucas quits (~fserucas@39.64.114.89.rev.vodafone.pt) (Quit: Leaving)
19:18:54 Codex joins (~terop@91-153-238-204.elisa-laajakaista.fi)
19:19:26 × fockerize quits (~finn@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Quit: WeeChat 3.5)
19:21:44 × Cale quits (~cale@cpef48e38ee8583-cm30b7d4b3fc20.cpe.net.cable.rogers.com) (Remote host closed the connection)
19:21:56 × king_gs quits (~Thunderbi@2806:103e:29:a1b3:d33d:90f:3255:af90) (Quit: king_gs)
19:29:09 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
19:29:26 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
19:36:22 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
19:36:40 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
19:37:21 jakalx parts (~jakalx@base.jakalx.net) ()
19:38:31 jakalx joins (~jakalx@base.jakalx.net)
19:40:30 × quarkyalice_ quits (~alice@user/quarkyalice/x-8092822) (Ping timeout: 240 seconds)
19:41:45 coot joins (~coot@213.134.190.95)
19:43:21 chomwitt joins (~chomwitt@2a02:587:dc00:5a00:ce0a:91e7:ff12:4713)
19:45:04 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
19:45:22 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
19:46:35 RevoGen joins (~RevoGen@136.167.36.241)
19:46:36 × RevoGen quits (~RevoGen@136.167.36.241) (Remote host closed the connection)
19:50:15 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
19:50:32 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
19:51:45 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
19:52:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
19:53:02 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 268 seconds)
19:53:27 ChaiTRex joins (~ChaiTRex@user/chaitrex)
19:55:51 afnan joins (~afnan@45-22-121-40.lightspeed.cicril.sbcglobal.net)
20:00:04 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
20:00:21 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
20:03:07 coot parts (~coot@213.134.190.95) ()
20:03:45 coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba)
20:05:37 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
20:05:54 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
20:05:56 × _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection)
20:07:56 matthewmosior joins (~matthewmo@173.170.253.91)
20:11:15 × burning_crusade quits (~asturias@2001:19f0:7001:638:5400:3ff:fef3:8725) (Read error: Connection reset by peer)
20:11:23 jmdaemon joins (~jmdaemon@user/jmdaemon)
20:12:41 × alternateved quits (~user@staticline-31-183-144-54.toya.net.pl) (Remote host closed the connection)
20:13:51 <Codex> what's the idea behind monoid?
20:15:36 <geekosaur> it generalizes the notion of "combining"
20:16:40 × rburkholder quits (~blurb@96.45.2.121) (Read error: Connection reset by peer)
20:17:19 rburkholder joins (~blurb@96.45.2.121)
20:18:26 <geekosaur> more precisely, it's about combining with an identity, such that there is something you can combine that doesn't change anything. (without the identity, it's a semigroup.)
20:18:54 mikoto-chan joins (~mikoto-ch@85-76-97-170-nat.elisa-mobile.fi)
20:20:04 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
20:21:01 <int-e> It may be more useful to consider examples. Strings (concatenation, and the empty string as neutral element). Addition and mutliplication of numbers (not floating point). Composition of functions of type a -> a.
20:21:29 cheater1__ joins (~Username@user/cheater)
20:21:40 × cheater quits (~Username@user/cheater) (Ping timeout: 272 seconds)
20:21:43 cheater1__ is now known as cheater
20:23:41 × phma quits (~phma@host-67-44-208-20.hnremote.net) (Read error: Connection reset by peer)
20:23:47 <monochrom> You have an associative 2-argument operator, and it has an identity element. That's all. Yes you should look at examples, but you should also find that all examples agree that it's a pretty easy and common thing.
20:27:10 even4void[m] joins (~even4void@2001:470:69fc:105::2:4b9c)
20:30:16 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
20:30:33 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
20:31:14 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
20:32:52 phma joins (~phma@host-67-44-208-242.hnremote.net)
20:37:15 × coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot)
20:44:49 causal joins (~user@2001:470:ea0f:3:329c:23ff:fe3f:1e0e)
20:49:41 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
20:55:34 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
20:55:37 × mikoto-chan quits (~mikoto-ch@85-76-97-170-nat.elisa-mobile.fi) (Quit: WeeChat 3.4.1)
20:57:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
20:57:15 matthewmosior joins (~matthewmo@173.170.253.91)
20:58:01 cods joins (~fred@82-65-232-44.subs.proxad.net)
21:00:24 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:00:41 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:03:02 even4void[m] parts (~even4void@2001:470:69fc:105::2:4b9c) ()
21:03:48 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
21:03:50 mikoto-chan joins (~mikoto-ch@85-76-97-170-nat.elisa-mobile.fi)
21:04:43 matthewmosior joins (~matthewmo@173.170.253.91)
21:07:18 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:07:35 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:08:49 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
21:09:18 matthewmosior joins (~matthewmo@173.170.253.91)
21:09:46 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
21:09:53 matthewmosior joins (~matthewmo@173.170.253.91)
21:11:32 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
21:11:47 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
21:13:16 slack1256 joins (~slack1256@186.11.18.101)
21:14:59 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:15:16 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:15:18 × slac69396 quits (~slack1256@191.125.227.65) (Ping timeout: 240 seconds)
21:15:22 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
21:15:51 bjobjo joins (~bjobjo@user/bjobjo)
21:17:29 × Kevin578 quits (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 244 seconds)
21:18:34 zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f)
21:20:14 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:20:31 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:23:10 × michalz quits (~michalz@185.246.204.77) (Remote host closed the connection)
21:23:46 matthewmosior joins (~matthewmo@173.170.253.91)
21:24:00 × quarkyalice quits (~quarkyali@user/quarkyalice) (Quit: quarkyalice)
21:27:06 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:27:23 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:28:05 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
21:31:57 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:32:14 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:35:30 gleostocha joins (~runic@104-182-236-205.lightspeed.sntcca.sbcglobal.net)
21:38:50 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:39:02 × kjak quits (~kjak@pool-108-31-68-111.washdc.fios.verizon.net) (Quit: leaving)
21:39:07 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:43:41 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:43:58 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:46:15 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
21:46:18 × mikoto-chan quits (~mikoto-ch@85-76-97-170-nat.elisa-mobile.fi) (Ping timeout: 264 seconds)
21:48:37 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:48:54 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:53:28 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:53:45 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:54:52 matthewmosior joins (~matthewmo@173.170.253.91)
21:55:56 machinedgod joins (~machinedg@d172-219-86-154.abhsia.telus.net)
21:58:19 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
21:58:36 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
21:59:19 × kaskal quits (~kaskal@2001:4bb8:2c0:3963:7278:d0d4:9479:4919) (Quit: ZNC - https://znc.in)
21:59:27 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
22:00:09 × winny quits (~weechat@user/winny) (Write error: Connection reset by peer)
22:00:09 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
22:00:09 × jpds2 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
22:00:33 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
22:00:45 jpds2 joins (~jpds@gateway/tor-sasl/jpds)
22:00:55 winny joins (~weechat@user/winny)
22:02:17 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:03:17 quarkyalice joins (~quarkyali@user/quarkyalice)
22:07:26 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
22:07:43 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
22:08:57 × quarkyalice quits (~quarkyali@user/quarkyalice) (Quit: quarkyalice)
22:10:15 quarkyalice joins (~quarkyali@user/quarkyalice)
22:10:25 × quarkyalice quits (~quarkyali@user/quarkyalice) (Client Quit)
22:11:01 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:12:32 matthewmosior joins (~matthewmo@173.170.253.91)
22:14:52 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
22:15:19 ChaiTRex joins (~ChaiTRex@user/chaitrex)
22:18:41 pavonia joins (~user@user/siracusa)
22:20:20 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
22:20:48 fserucas joins (~fserucas@246.76.114.89.rev.vodafone.pt)
22:20:55 × acidjnk_new quits (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
22:24:40 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
22:24:57 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
22:25:13 kaskal joins (~kaskal@089144220061.atnat0029.highway.webapn.at)
22:26:31 Kevin578 joins (~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
22:27:56 acidjnk_new joins (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de)
22:30:03 quarkyalice joins (~quarkyali@user/quarkyalice)
22:31:43 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
22:32:00 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
22:34:39 × quarkyalice quits (~quarkyali@user/quarkyalice) (Client Quit)
22:35:46 nate4 joins (~nate@98.45.169.16)
22:35:53 talismanick joins (~talismani@campus-043-126.ucdavis.edu)
22:36:01 × Tuplanolla quits (~Tuplanoll@91-159-69-97.elisa-laajakaista.fi) (Quit: Leaving.)
22:36:07 × marcusxavier quits (~marcusxav@2804:6660:ff12:ef70:d931:8aed:263b:5825) (Ping timeout: 272 seconds)
22:36:17 talismanick is now known as Guest7482
22:39:30 × gdown quits (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Ping timeout: 240 seconds)
22:40:45 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds)
22:43:10 × zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!)
22:45:30 × gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (Ping timeout: 240 seconds)
22:47:54 spacenautx joins (~spacenaut@user/spacenautx)
22:48:19 × spacenautx quits (~spacenaut@user/spacenautx) (Client Quit)
22:48:46 × Guest7482 quits (~talismani@campus-043-126.ucdavis.edu) (Ping timeout: 268 seconds)
22:48:55 × dcoutts quits (~duncan@host86-167-206-10.range86-167.btcentralplus.com) (Ping timeout: 244 seconds)
22:50:36 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
22:50:36 gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk)
22:50:45 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
22:50:53 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
22:51:01 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
22:57:42 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
22:57:49 kaskal- joins (~kaskal@089144220061.atnat0029.highway.webapn.at)
22:57:59 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
22:58:44 × kaskal quits (~kaskal@089144220061.atnat0029.highway.webapn.at) (Ping timeout: 272 seconds)
23:00:25 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
23:02:32 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
23:02:49 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
23:04:37 marcusxavier joins (~marcusxav@2804:6660:ff12:ef70:d931:8aed:263b:5825)
23:09:04 × marcusxavier quits (~marcusxav@2804:6660:ff12:ef70:d931:8aed:263b:5825) (Ping timeout: 244 seconds)
23:10:03 × chomwitt quits (~chomwitt@2a02:587:dc00:5a00:ce0a:91e7:ff12:4713) (Ping timeout: 276 seconds)
23:10:22 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds)
23:10:30 chexum_ joins (~quassel@gateway/tor-sasl/chexum)
23:14:32 jmorris joins (uid537181@id-537181.uxbridge.irccloud.com)
23:14:37 × fserucas quits (~fserucas@246.76.114.89.rev.vodafone.pt) (Remote host closed the connection)
23:14:55 × Neuromancer quits (~Neuromanc@user/neuromancer) (Read error: Connection reset by peer)
23:15:01 fserucas joins (~fserucas@246.76.114.89.rev.vodafone.pt)
23:16:05 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
23:16:28 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
23:18:51 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
23:19:09 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
23:23:42 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
23:23:59 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
23:27:44 × afnan quits (~afnan@45-22-121-40.lightspeed.cicril.sbcglobal.net) (Quit: Textual IRC Client: www.textualapp.com)
23:28:04 matthewmosior joins (~matthewmo@173.170.253.91)
23:28:51 × use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:8936:f28b:f369:f4da) (Remote host closed the connection)
23:29:09 use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:8936:f28b:f369:f4da)
23:30:49 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
23:31:06 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
23:34:50 <dmj`> is there something like a gmconcat, but done field-wise, assuming a record has fields of all the same monoidal type
23:35:08 <dmj`> I can write it, but wonder if someone else has already.
23:35:52 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
23:36:03 <dmj`> e.g. data Foo = Foo { bar,baz,woz :: Sum Int }, gmconcat (Foo 1 1 1) = 3
23:36:59 × AlexZenon quits (~alzenon@178.34.160.206) (Ping timeout: 244 seconds)
23:36:59 × Alex_test quits (~al_test@178.34.160.206) (Ping timeout: 244 seconds)
23:37:20 marcusxavier joins (~marcusxav@2804:6660:ff12:ef70:d931:8aed:263b:5825)
23:38:39 × AlexNoo quits (~AlexNoo@178.34.160.206) (Ping timeout: 276 seconds)
23:39:10 × acidjnk_new quits (~acidjnk@p200300d6e70586052965d2416953e6a6.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
23:41:59 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
23:41:59 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 272 seconds)
23:42:09 AlexNoo joins (~AlexNoo@178.34.160.206)
23:42:16 Alex_test joins (~al_test@178.34.160.206)
23:42:28 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
23:42:29 AlexZenon joins (~alzenon@178.34.160.206)
23:46:01 <koala_man> is there a way to disable the 1TB virtual allocation the ghc rts does by default? It does not play well with qemu, so docker-on-mac is basically unable to run haskell binaries on m1 chips
23:46:09 <koala_man> x86_64 binaries that is
23:48:09 <geekosaur> you have to rebuild ghc to get a rebuilt rts without it
23:49:02 mvk joins (~mvk@2607:fea8:5ce3:8500::909a)
23:49:15 <koala_man> how would I have to rebuild it?
23:51:05 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
23:51:22 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
23:51:25 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
23:52:09 <geekosaur> --disable-large-address-space
23:53:15 <Clinton[m]> I've got a question about generics. I've been using `f (Generic.from x)`, and by adding a few instances this quite nicely gives me a runtime structure with all the fields and metadata that I can then manipulate using ordinary functions. But I also would like to do something like `f (Generic.from (undefined :: a))`, just to get the information about the structure of `a`, but not including the data of a particular instance. Note if I create
23:53:16 <Clinton[m]> `y = A undefined undefined undefined` and then use `f (Generic.from y)` then I'm fine, as long as I don't access those actual fields in my final structure (laziness works here), but this is a bit annoying. Is there anyway I can use generics to get run time information about the structure of a datatype without actually creating an instance of that datatype?
23:53:50 <dolio> Does the -M RTS flag limit the size of the address space?
23:54:12 <Clinton[m]> * I've got a question about generics. I've been using `f (Generic.from x)` (f is actually a bunch of classes/instances). This quite nicely gives me a runtime structure with all the fields and metadata that I can then manipulate using ordinary functions. But I also would like to do something like `f (Generic.from (undefined :: a))`, just to get the information about the structure of `a`, but not including the data of a particular instance.
23:54:12 <Clinton[m]> Note if I create `y = A undefined undefined undefined` and then use `f (Generic.from y)` then I'm fine, as long as I don't access those actual fields in my final structure (laziness works here), but this is a bit annoying. Is there anyway I can use generics to get run time information about the structure of a datatype without actually creating an instance of that datatype?
23:54:20 <geekosaur> it doesn't prevent the 1TB preallocation, no
23:54:22 <koala_man> dolio: no
23:54:40 <geekosaur> sorry, reservation, nothing is actually allocated
23:54:53 <jackdk> Clinton[m]: write a typeclass that has a bunch of instances that explore the `Rep Foo` of your type `Foo`?
23:55:03 <koala_man> arguably it's allocating address space I guess
23:56:22 <koala_man> anyways, ulimit -v will stop the reservation and GHC still runs fine without it, but I'm not sure how it would be applied to docker-on-mac. I responded with that and will see what they say
23:58:10 × JoeBloggs7003141 quits (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
23:58:27 JoeBloggs7003141 joins (~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)

All times are in UTC on 2022-07-20.