Home liberachat/#haskell: Logs Calendar

Logs on 2023-09-01 (liberachat/#haskell)

00:00:47 son0p joins (~ff@152.203.98.110)
00:04:07 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
00:04:29 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 248 seconds)
00:06:04 × ursa-major quits (~ursa-majo@136.29.34.240) (Ping timeout: 248 seconds)
00:06:51 Lycurgus joins (~juan@user/Lycurgus)
00:07:03 ursa-major joins (~ursa-majo@static-198-44-128-214.cust.tzulo.com)
00:14:47 pavonia joins (~user@user/siracusa)
00:20:05 Me-me joins (~Me-me@user/me-me)
00:23:35 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
00:28:41 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
00:29:05 jmdaemon joins (~jmdaemon@user/jmdaemon)
00:34:42 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
00:37:39 × xmachina quits (~xmachina@modemcable048.127-56-74.mc.videotron.ca) (Quit: WeeChat 4.0.4)
00:45:36 danza__ joins (~francesco@151.47.225.3)
00:48:10 × danza_ quits (~francesco@151.43.252.134) (Ping timeout: 255 seconds)
00:48:30 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
00:52:09 wroathe joins (~wroathe@user/wroathe)
00:53:07 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds)
00:55:32 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
00:59:46 tom_ joins (~tom@2a00:23c8:970c:4801:a861:cd59:2e4c:1efa)
01:00:20 powderhorn joins (~powderhor@207-153-12-54.static.fttp.usinternet.com)
01:02:07 × zincy quits (~tom@2a00:23c8:970c:4801:457a:3a02:3800:f74e) (Ping timeout: 246 seconds)
01:08:16 × falafel quits (~falafel@62.175.113.194.dyn.user.ono.com) (Ping timeout: 245 seconds)
01:09:21 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 260 seconds)
01:11:02 azimut joins (~azimut@gateway/tor-sasl/azimut)
01:11:04 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:17:10 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:19:41 × malte quits (~malte@mal.tc) (Ping timeout: 244 seconds)
01:22:29 malte joins (~malte@mal.tc)
01:24:13 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
01:25:54 jero98772 joins (~jero98772@2800:484:1d84:300::4)
01:25:54 × fweht quits (uid404746@id-404746.lymington.irccloud.com) (Quit: Connection closed for inactivity)
01:28:48 <hololeap> I have a function: showEBuild :: TC.UTCTime -> EBuild -> String
01:29:32 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 245 seconds)
01:29:45 <hololeap> I'm trying to reimplement it with something that uses Text internally, and I'm wondering if it's worth it to change the return type here, since it's just getting written to a file immediatley afterward
01:30:25 <glguy> not making the String and writing the Text straight to a file is probably better
01:30:35 <geekosaur> ^
01:30:53 <geekosaur> unloess there's some chance that creating the String can stream with consumption/writing
01:30:59 <hololeap> ok, I want to take your word for it, but why:
01:31:01 <hololeap> ?
01:31:03 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
01:31:09 <geekosaur> because String is really slow
01:31:15 <geekosaur> and wasteful
01:33:04 <hololeap> so, if the Text is getting converted to [Char], and the [Char] is only being enumerated in order to write to a file, wouldn't laziness make this a pretty negligable cost?
01:34:14 <glguy> unless the file is big it probably won't matter
01:34:16 <geekosaur> conversion to [Char] is still relatively expensive because each character is expanded to word size only to be truncated again by the output routines (assuming the majority of its content is in the ASCII range)
01:34:27 <glguy> but it's a bunch of extra allocations using String
01:34:53 <geekosaur> and String is remarkably wasteful, it's like 48 bytes per character
01:35:08 <hololeap> hm, ok. just checking
01:35:25 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds)
01:36:04 <geekosaur> especially with text 2.x and (default) utf-8 output, the Text can be output pretty much directly as is
01:37:40 <hololeap> fair enough. these files are maybe 5000 bytes so it probably won't change much in this case, but it sounds like Text is much better
01:38:19 grnman_ joins (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net)
01:46:21 × mima quits (~mmh@net-93-148-95-167.cust.vodafonedsl.it) (Ping timeout: 248 seconds)
01:47:24 Feuermagier joins (~Feuermagi@user/feuermagier)
01:51:02 <EvanR> imagine how many conlang scripts you can support with 48 bytes per char though
01:51:51 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
01:53:06 × shailangsa quits (~shailangs@host86-186-196-224.range86-186.btcentralplus.com) (Ping timeout: 260 seconds)
01:53:17 × otto_s quits (~user@p5de2fd75.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
01:53:17 <int-e> Isn't it 40 though; two tags, two pointers, one word for the actual character, as long as the characters aren't shared...
01:53:38 <EvanR> which I heard they can be
01:53:52 <int-e> sometimes they are shared
01:54:00 <int-e> it's hard to predict :)
01:54:56 <int-e> EvanR: I mentioned some of the dirty details last week, no need to go into that again :)
01:55:03 otto_s joins (~user@p5b044a56.dip0.t-ipconnect.de)
01:56:07 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds)
02:00:30 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:c431:f4c7:e475:d84d) (Remote host closed the connection)
02:00:45 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5)
02:02:15 Jeanne-Kamikaze joins (~Jeanne-Ka@142.147.89.222)
02:03:58 <monochrom> Char is 2 words when unshared. It is a boxed type, too.
02:04:31 <EvanR> 2 words: Boxed. Type.
02:04:32 × hdggxin quits (~hdggxin@122.175.41.19) (Ping timeout: 245 seconds)
02:04:35 <monochrom> Haha
02:04:51 × jero98772 quits (~jero98772@2800:484:1d84:300::4) (Remote host closed the connection)
02:04:59 <monochrom> And don't forget that copying GC means double buffering so there is one extra 2x factor.
02:13:16 <monochrom> LInked lists and binary trees are expensive in any language. 50-70% of space is for storing infrastructures such as pointers and local sizes.
02:15:54 Square2 joins (~Square4@user/square)
02:16:17 hdggxin joins (~hdggxin@122.175.41.19)
02:17:38 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
02:18:16 × Square quits (~Square@user/square) (Ping timeout: 245 seconds)
02:19:17 <wroathe> Hey guys, so FlexibleInstances implies TypeSynonymInstances, but when I use them I get this: https://gist.github.com/JustinChristensen/5f2e64a1cc4bd689f21eee95555b9290 . Why does this happen?
02:21:19 × td_ quits (~td@i53870906.versanet.de) (Ping timeout: 255 seconds)
02:23:05 td_ joins (~td@i5387091C.versanet.de)
02:25:33 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
02:26:15 <probie> wroathe: It's letting you use a type synonym in the instance head, but once it unfolds that synonym it's getting `instance KnownSymbol b => FooClass a`
02:26:42 AlexNoo_ joins (~AlexNoo@178.34.160.172)
02:27:01 <wroathe> Why doesn't the first one work?
02:27:31 <wroathe> i.e. why is it demanding that I specify b should be an instance of KnownSymbol when I've already declared that type variable to have kind Symbol?
02:28:24 × Alex_test quits (~al_test@178.34.160.174) (Ping timeout: 244 seconds)
02:29:53 <probie> Firstly, not all `Symbol`s are instance of `KnownSymbol`, secondly I don't think that the `b` in the body of the definition is in any way related to the `b` in `FooType a b`
02:29:57 × AlexZenon quits (~alzenon@178.34.160.174) (Ping timeout: 244 seconds)
02:30:05 × AlexNoo quits (~AlexNoo@178.34.160.174) (Ping timeout: 245 seconds)
02:30:08 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 246 seconds)
02:30:19 <wroathe> I thought that latter part was enabled by ScopedTypeVariables
02:31:09 <probie> `TypeSynonymInstances` is not magic, it just means that it doesn't reject instances written using type synonyms. So you can do something like `type Point a = (a, a); instance Foo (Point a) where` and it will know you mean `instance Foo (a, a) where` instead of rejecting it
02:32:09 <probie> So as far as GHC is concerned, you're trying to define `instance FooClass a where foo = symbolVal (Proxy :: Proxy b)`
02:32:10 <wroathe> So essentially you're saying that TypeSynonymInstances doesn't work with ScopedTypeVariables
02:32:28 <wroathe> In this case, anyway
02:32:57 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:32:57 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:32:57 finn_elija is now known as FinnElija
02:32:59 × caryhartline quits (~caryhartl@168.182.58.169) (Quit: caryhartline)
02:33:51 Alex_test joins (~al_test@178.34.160.172)
02:34:42 <wroathe> I suppose with phantom type parameters on the type synonyms
02:35:02 × xff0x quits (~xff0x@2405:6580:b080:900:eead:bb9a:e028:3953) (Ping timeout: 246 seconds)
02:35:28 Lears joins (~Leary]@user/Leary/x-0910699)
02:36:02 AlexZenon joins (~alzenon@178.34.160.172)
02:36:38 <probie> It works if the parameters are still there once the type synonym is unfolded
02:36:57 <probie> e.g. https://play.haskell.org/saved/Bd5dPSsP
02:37:00 <wroathe> Ah, I see
02:37:32 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Ping timeout: 248 seconds)
02:39:36 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 245 seconds)
02:39:55 shailangsa joins (~shailangs@host86-186-196-224.range86-186.btcentralplus.com)
02:42:37 × Jeanne-Kamikaze quits (~Jeanne-Ka@142.147.89.222) (Quit: Leaving)
02:51:08 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 244 seconds)
02:52:09 hyvoid joins (~hyenavoid@222-0-178-69.static.gci.net)
02:59:48 sm joins (~sm@plaintextaccounting/sm)
03:00:07 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
03:06:25 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
03:17:23 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
03:18:55 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 255 seconds)
03:19:05 arahael joins (~arahael@1.145.73.40)
03:20:47 razetime joins (~quassel@49.207.192.55)
03:21:55 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
03:22:02 xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
03:23:11 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
03:24:55 aforemny joins (~aforemny@i59F516DB.versanet.de)
03:25:05 × aforemny_ quits (~aforemny@i59F516DD.versanet.de) (Ping timeout: 246 seconds)
03:28:56 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
03:30:10 × ddellacosta quits (~ddellacos@ool-44c738de.dyn.optonline.net) (Ping timeout: 255 seconds)
03:30:21 × puke quits (~puke@user/puke) (Read error: Connection reset by peer)
03:31:11 × arahael quits (~arahael@1.145.73.40) (Ping timeout: 246 seconds)
03:31:13 puke joins (~puke@user/puke)
03:31:19 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
03:31:59 ddellacosta joins (~ddellacos@ool-44c738de.dyn.optonline.net)
03:33:29 × grnman_ quits (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net) (Ping timeout: 246 seconds)
03:48:50 aaronv joins (~aaronv@user/aaronv)
04:13:58 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
04:17:48 × aaronv quits (~aaronv@user/aaronv) (Ping timeout: 248 seconds)
04:20:03 aaronv joins (~aaronv@user/aaronv)
04:23:58 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
04:24:43 ec joins (~ec@gateway/tor-sasl/ec)
04:25:51 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:26:28 × califax quits (~califax@user/califx) (Remote host closed the connection)
04:26:52 × shapr quits (~user@2600:1700:c640:3100:3675:4cc6:3e07:2d29) (Ping timeout: 248 seconds)
04:27:29 califax joins (~califax@user/califx)
04:38:01 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
04:38:17 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 245 seconds)
04:38:31 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
04:45:26 × danza__ quits (~francesco@151.47.225.3) (Read error: Connection reset by peer)
04:45:34 danza__ joins (~francesco@151.47.253.201)
04:47:03 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 250 seconds)
04:53:32 acidjnk joins (~acidjnk@p200300d6e7072f6224e9f62f062fe3b9.dip0.t-ipconnect.de)
05:00:14 oo_miguel joins (~Thunderbi@78-11-179-96.static.ip.netia.com.pl)
05:07:17 × razetime quits (~quassel@49.207.192.55) (Ping timeout: 246 seconds)
05:15:41 razetime joins (~quassel@49.207.192.55)
05:15:44 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
05:15:47 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
05:20:26 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 245 seconds)
05:30:24 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
05:33:28 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
05:42:19 Square joins (~Square@user/square)
05:45:29 <Square> When in GHCI, can one, when issuing ":load file.hs" get rid of the error: "These modules are needed for compilation but not listed in your .cabal file's other-modules:"
05:46:06 <Square> ...They are specified in .cabal file.
05:46:31 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
05:48:35 michalz joins (~michalz@185.246.207.221)
05:48:46 × hdggxin quits (~hdggxin@122.175.41.19) (Ping timeout: 255 seconds)
05:50:20 × razetime quits (~quassel@49.207.192.55) (Ping timeout: 246 seconds)
05:50:41 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
05:54:52 hdggxin joins (~hdggxin@122.175.41.19)
05:55:22 sm joins (~sm@plaintextaccounting/sm)
06:00:45 <jackdk> Try `cabal repl` instead of invoking `ghci` directly?
06:00:55 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
06:01:17 jinsun_ joins (~jinsun@user/jinsun)
06:01:17 × jinsun quits (~jinsun@user/jinsun) (Killed (iridium.libera.chat (Nickname regained by services)))
06:01:17 jinsun_ is now known as jinsun
06:01:18 eggplant_ joins (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5)
06:01:26 Sgeo_ joins (~Sgeo@user/sgeo)
06:01:36 Feuermagier_ joins (~Feuermagi@user/feuermagier)
06:01:37 × Feuermagier quits (~Feuermagi@user/feuermagier) (Killed (tungsten.libera.chat (Nickname regained by services)))
06:01:37 Feuermagier_ is now known as Feuermagier
06:01:37 × hgolden quits (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) (Remote host closed the connection)
06:01:42 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
06:01:43 × pavonia quits (~user@user/siracusa) (Read error: Connection reset by peer)
06:01:44 × tcard_ quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Remote host closed the connection)
06:01:53 pavonia joins (~user@user/siracusa)
06:01:56 fserucas__ joins (~fserucas@89.214.155.193)
06:01:59 × tom_ quits (~tom@2a00:23c8:970c:4801:a861:cd59:2e4c:1efa) (Remote host closed the connection)
06:02:06 myxokephale joins (~myxos@cpe-65-28-251-121.cinci.res.rr.com)
06:02:07 tom_ joins (~tom@2a00:23c8:970c:4801:a861:cd59:2e4c:1efa)
06:02:10 tcard_ joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
06:02:59 hgolden joins (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com)
06:03:38 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5) (Ping timeout: 246 seconds)
06:03:38 × myxos quits (~myxos@cpe-65-28-251-121.cinci.res.rr.com) (Ping timeout: 246 seconds)
06:03:59 × fserucas_ quits (~fserucas@89.214.155.193) (Ping timeout: 246 seconds)
06:04:27 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
06:11:32 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
06:15:58 × johnw quits (~johnw@69.62.242.138) (Quit: ZNC - http://znc.in)
06:17:10 tcard__ joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
06:17:27 hgolden_ joins (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com)
06:17:39 fserucas_ joins (~fserucas@89.214.155.193)
06:18:08 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 246 seconds)
06:18:11 fr33domlover8 joins (~fr33domlo@towards.vision)
06:18:24 hdggxin_ joins (~hdggxin@122.175.41.19)
06:19:24 Simikando_ joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
06:19:37 gawen_ joins (~gawen@user/gawen)
06:21:24 dove_ joins (~irc@2600:3c00:e000:287::1)
06:21:26 ezzieygu1wuf joins (~Unknown@user/ezzieyguywuf)
06:21:28 kjak_ joins (~kjak@pool-108-28-157-148.washdc.fios.verizon.net)
06:21:33 hrberg_ joins (~quassel@171.79-160-161.customer.lyse.net)
06:21:37 masterbu1lder joins (~masterbui@user/masterbuilder)
06:22:59 hyvoid1 joins (~hyenavoid@222-0-178-69.static.gci.net)
06:23:11 kitzman_ joins (~kitzman@user/dekenevs)
06:23:14 manwithluck joins (manwithluc@2406:da14:5ea:e400:7863:dbc1:6a84:3050)
06:24:15 Alex_test_ joins (~al_test@178.34.160.172)
06:24:59 briandaed joins (~briandaed@185.234.210.211.r.toneticgroup.pl)
06:25:54 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (*.net *.split)
06:25:54 × hgolden quits (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) (*.net *.split)
06:25:54 × tcard_ quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (*.net *.split)
06:25:54 × fserucas__ quits (~fserucas@89.214.155.193) (*.net *.split)
06:25:54 × hdggxin quits (~hdggxin@122.175.41.19) (*.net *.split)
06:25:54 × hyvoid quits (~hyenavoid@222-0-178-69.static.gci.net) (*.net *.split)
06:25:54 × Alex_test quits (~al_test@178.34.160.172) (*.net *.split)
06:25:54 × shailangsa quits (~shailangs@host86-186-196-224.range86-186.btcentralplus.com) (*.net *.split)
06:25:54 × artem quits (~artem@2601:249:4380:8950:f474:e3f8:9806:671) (*.net *.split)
06:25:54 × qqq quits (~qqq@92.43.167.61) (*.net *.split)
06:25:54 × masterbuilder quits (~masterbui@user/masterbuilder) (*.net *.split)
06:25:54 × kjak quits (~kjak@pool-108-28-157-148.washdc.fios.verizon.net) (*.net *.split)
06:25:54 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (*.net *.split)
06:25:54 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (*.net *.split)
06:25:54 × fr33domlover quits (~fr33domlo@towards.vision) (*.net *.split)
06:25:54 × hpc quits (~juzz@ip98-169-35-163.dc.dc.cox.net) (*.net *.split)
06:25:54 × kitzman quits (~kitzman@user/dekenevs) (*.net *.split)
06:25:54 × manwithl- quits (manwithluc@ec2-52-197-234-151.ap-northeast-1.compute.amazonaws.com) (*.net *.split)
06:25:54 × dove quits (~irc@2600:3c00:e000:287::1) (*.net *.split)
06:25:54 × gawen quits (~gawen@user/gawen) (*.net *.split)
06:25:54 fr33domlover8 is now known as fr33domlover
06:26:35 hpc joins (~juzz@ip98-169-35-163.dc.dc.cox.net)
06:27:46 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Quit: updating)
06:28:13 qqq joins (~qqq@92.43.167.61)
06:37:31 × tcard__ quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Quit: Leaving)
06:38:48 ulysses4ever joins (~artem@2601:249:4380:8950:f474:e3f8:9806:671)
06:39:31 tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
06:40:49 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:45:02 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
06:50:27 <Square> Man, I love Free monads. They're powerful with GADTs.
06:58:48 lortabac joins (~lortabac@2a01:e0a:541:b8f0:6317:fe5f:2291:c931)
07:00:42 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
07:01:04 shailangsa_ joins (~shailangs@host86-186-196-224.range86-186.btcentralplus.com)
07:02:47 × eggplant_ quits (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5) (Remote host closed the connection)
07:04:17 × apteryx quits (~maxim@dsl-10-128-23.b2b2c.ca) (Ping timeout: 246 seconds)
07:06:35 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 250 seconds)
07:06:50 <Square> Iirc, there is some file haskell like file type (with its own file suffix) that can contain code woven into documentation, but after compilation code parts get cleaned up and gets compiled
07:10:57 <mauke> literate haskell?
07:11:50 <Square> mauke, thats it. ".lhs"
07:11:53 <Square> thanks
07:14:05 × Simikando_ quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Ping timeout: 246 seconds)
07:15:30 kenran joins (~user@user/kenran)
07:17:02 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 246 seconds)
07:17:24 <kenran> our client is obsessed with "freeing unused memory" when they're deploying their apps, and of course our Haskell app uses as much as it can get its hands on :) a colleague mentioned he found an option (a newer one, I think he said from GHC 9 on) that controls the runtime to more aggressively reduce the used heap size, but I just cannot find it
07:17:31 apteryx joins (~maxim@dsl-154-228.b2b2c.ca)
07:17:37 <kenran> do you know what rts option could be meant?
07:19:26 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
07:19:26 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
07:19:26 wroathe joins (~wroathe@user/wroathe)
07:19:30 gmg joins (~user@user/gehmehgeh)
07:20:52 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
07:21:51 ubert joins (~Thunderbi@91.141.56.232.wireless.dyn.drei.com)
07:22:34 crazazy joins (~user@130.89.171.133)
07:23:25 <lortabac> kenran: maybe --disable-delayed-os-memory-return
07:23:33 <lortabac> https://downloads.haskell.org/ghc/latest/docs/users_guide/runtime_control.html#rts-flag---disable-delayed-os-memory-return
07:25:20 <kenran> lortabac: thank you! this might be it. I was looking under the gc options so did not see this
07:25:36 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 260 seconds)
07:26:22 <lortabac> kenran: it doesn't reduce memory usage, but there may have been a misunderstanding with your colleague
07:27:06 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
07:28:12 <kenran> lortabac: yeah, there well might have been
07:29:01 <kenran> I'm also not sure what the client really wants... they have the expectation that after some costly operations are "done", the memory usage they see (through a couple of layers, like docker) goes down quickly
07:29:39 <lortabac> then I think this is the right option
07:29:41 <kenran> yeah
07:30:05 <lortabac> we use it at work to make monitoring more accurate
07:30:37 <kenran> ahh, then it really is exactly what they/we want
07:30:40 <kenran> thanks again :)
07:31:10 fendor joins (~fendor@2a02:8388:1640:be00:29b8:807b:7fa6:1bcf)
07:31:31 <kenran> I haven't experimented with any RTS options so far, except for -N and (due to their tiny machines) -M
07:31:46 <lortabac> the doc says it makes the program slower, but we didn't see any significant difference in performance
07:32:19 <kenran> so if I wish to have this option be the default, I have to "bake" it into my programs at compile time with -with-rtsopts instead of setting it on every executable, right?
07:32:23 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
07:32:31 <lortabac> yes
07:32:32 Simikando_ joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
07:32:53 × powderhorn quits (~powderhor@207-153-12-54.static.fttp.usinternet.com) (Ping timeout: 246 seconds)
07:33:08 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
07:34:25 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
07:35:03 <kenran> how do I know I set it correctly? :D is the only way by inspecting cabal logs, or is there some sort of test I can perform?
07:35:18 × Simikando_ quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Client Quit)
07:35:42 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
07:36:46 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 255 seconds)
07:39:06 <lortabac> kenran: I don't think there is a way to test it
07:39:42 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5)
07:40:42 mima joins (~mmh@net-93-148-95-167.cust.vodafonedsl.it)
07:40:49 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Ping timeout: 255 seconds)
07:40:58 × Nixkernal quits (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
07:42:30 Nixkernal joins (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch)
07:43:37 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
07:46:32 cfricke joins (~cfricke@user/cfricke)
07:47:19 × mima quits (~mmh@net-93-148-95-167.cust.vodafonedsl.it) (Ping timeout: 250 seconds)
07:49:24 mima joins (~mmh@net-93-148-110-45.cust.dsl.teletu.it)
07:49:28 <kenran> ah, it might be a candidate to put in $GHCRTS. if I read it correctly, I would assume they are merged with whatever I set on the command line, with the command line "winning"
07:49:46 × dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 244 seconds)
07:54:28 hgolden__ joins (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com)
07:54:36 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
07:55:05 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
07:56:08 manwithl- joins (~manwithlu@2406:da14:5ea:e400:7863:dbc1:6a84:3050)
07:56:31 × hgolden_ quits (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) (Read error: Connection reset by peer)
07:57:08 × manwithluck quits (manwithluc@2406:da14:5ea:e400:7863:dbc1:6a84:3050) (Ping timeout: 246 seconds)
07:58:49 × mrmr1 quits (~mrmr@user/mrmr) (Ping timeout: 255 seconds)
07:59:03 razetime joins (~quassel@49.207.192.55)
08:02:32 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 240 seconds)
08:02:34 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
08:05:33 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
08:06:12 × razetime quits (~quassel@49.207.192.55) (Ping timeout: 240 seconds)
08:06:33 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
08:06:42 CiaoSen joins (~Jura@2a05:5800:28f:2400:664b:f0ff:fe37:9ef)
08:07:22 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
08:07:34 vglfr joins (~vglfr@145.224.100.231)
08:10:14 zer0bitz joins (~zer0bitz@user/zer0bitz)
08:15:14 <danza__> kvpy
08:17:03 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
08:17:09 sm joins (~sm@plaintextaccounting/sm)
08:17:24 <danza__> ops sorry, something fell on the keyboard :P
08:20:15 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
08:20:21 × ft quits (~ft@p508db658.dip0.t-ipconnect.de) (Quit: leaving)
08:21:10 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
08:21:39 Melon joins (~Melon@2a0a-a547-158e-1-665e-17dd-7fc8-2789.ipv6dyn.netcologne.de)
08:21:49 <tomsmeding> how do you get kvpy with something falling on the keyboard
08:22:03 Melon is now known as Guest4684
08:22:05 <tomsmeding> kvpy<enter>, no less
08:22:39 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
08:22:48 vglfr joins (~vglfr@145.224.100.231)
08:22:50 Guest4684 is now known as MelonScent
08:23:48 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
08:23:56 dcoutts joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net)
08:24:35 × danza__ quits (~francesco@151.47.253.201) (Ping timeout: 250 seconds)
08:28:33 cfricke joins (~cfricke@user/cfricke)
08:29:37 × MelonScent quits (~Melon@2a0a-a547-158e-1-665e-17dd-7fc8-2789.ipv6dyn.netcologne.de) (Quit: Client closed)
08:31:31 × crazazy quits (~user@130.89.171.133) (Ping timeout: 260 seconds)
08:32:07 × Sgeo_ quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:33:04 danse-nr3__ joins (~francesco@151.47.253.201)
08:34:03 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
08:35:27 sm joins (~sm@plaintextaccounting/sm)
08:39:05 justache is now known as reddit-bot
08:39:12 reddit-bot is now known as justache
08:39:31 × dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 245 seconds)
08:41:17 × zer0bitz quits (~zer0bitz@user/zer0bitz) (Read error: Connection reset by peer)
08:43:50 × sm quits (~sm@plaintextaccounting/sm) (Ping timeout: 245 seconds)
08:44:01 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Quit: Leaving)
08:45:00 × danse-nr3__ quits (~francesco@151.47.253.201) (Read error: Connection reset by peer)
08:45:19 danse-nr3__ joins (~francesco@151.47.255.90)
08:46:44 × koala_man quits (~vidar@157.146.251.23.bc.googleusercontent.com) (Ping timeout: 258 seconds)
08:48:38 koala_man joins (~vidar@157.146.251.23.bc.googleusercontent.com)
08:55:43 razetime joins (~quassel@49.207.192.55)
08:58:09 mrmr1 joins (~mrmr@user/mrmr)
08:58:21 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 245 seconds)
09:08:45 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
09:09:48 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2)
09:10:29 zer0bitz joins (~zer0bitz@user/zer0bitz)
09:12:55 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
09:13:41 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 245 seconds)
09:15:31 vglfr joins (~vglfr@145.224.100.231)
09:17:33 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
09:18:01 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 255 seconds)
09:22:13 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 250 seconds)
09:24:08 patrl joins (~patrl@user/patrl)
09:26:52 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
09:28:02 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
09:28:29 azimut joins (~azimut@gateway/tor-sasl/azimut)
09:30:42 × patrl quits (~patrl@user/patrl) (Quit: WeeChat 3.8)
09:31:12 × son0p quits (~ff@152.203.98.110) (Ping timeout: 240 seconds)
09:37:06 fweht joins (uid404746@id-404746.lymington.irccloud.com)
09:48:52 × mima quits (~mmh@net-93-148-110-45.cust.dsl.teletu.it) (Ping timeout: 240 seconds)
09:49:58 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
09:50:57 mima joins (~mmh@net-2-38-141-119.cust.vodafonedsl.it)
09:54:31 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
09:55:13 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Client Quit)
09:55:35 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
09:55:56 × fendor quits (~fendor@2a02:8388:1640:be00:29b8:807b:7fa6:1bcf) (Ping timeout: 248 seconds)
09:56:47 mmhat joins (~mmh@p200300f1c70419dcee086bfffe095315.dip0.t-ipconnect.de)
09:56:58 × mmhat quits (~mmh@p200300f1c70419dcee086bfffe095315.dip0.t-ipconnect.de) (Client Quit)
09:58:33 <danse-nr3__> i recall reading about a class that was somewhat the opposite of a functor, but i don't think it was a contrafunctor ... which other options are there?
09:59:13 × driib quits (~driib@176.57.184.141) (Quit: The Lounge - https://thelounge.chat)
09:59:55 driib joins (~driib@vmi931078.contaboserver.net)
10:01:08 <ncf> not sure there are any others
10:02:42 <danse-nr3__> right i cannot find anything else...
10:04:05 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Ping timeout: 246 seconds)
10:04:49 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 255 seconds)
10:05:26 × xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 260 seconds)
10:07:17 <danse-nr3__> oh yes, that was it, found the link. Cheers
10:07:37 × _________ quits (~nobody@user/noodly) (Quit: leaving)
10:07:57 patrl joins (~patrl@user/patrl)
10:09:18 _________ joins (~nobody@user/noodly)
10:13:14 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
10:17:44 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Ping timeout: 246 seconds)
10:20:51 vglfr joins (~vglfr@145.224.100.231)
10:21:27 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
10:21:45 robosexual joins (~spaceoyst@5.165.11.54)
10:22:05 vglfr joins (~vglfr@145.224.100.231)
10:22:05 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
10:22:20 vglfr joins (~vglfr@145.224.100.231)
10:22:57 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
10:23:07 vglfr joins (~vglfr@145.224.100.231)
10:23:31 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 260 seconds)
10:24:22 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
10:25:05 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
10:27:10 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
10:27:46 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
10:28:46 × mima quits (~mmh@net-2-38-141-119.cust.vodafonedsl.it) (Ping timeout: 260 seconds)
10:29:15 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
10:29:27 vglfr joins (~vglfr@145.224.100.231)
10:33:50 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 245 seconds)
10:35:24 × robosexual quits (~spaceoyst@5.165.11.54) (Quit: Konversation terminated!)
10:35:24 × aaronv quits (~aaronv@user/aaronv) (Ping timeout: 248 seconds)
10:36:29 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
10:38:13 vglfr joins (~vglfr@145.224.100.231)
10:41:16 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 255 seconds)
10:42:37 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 255 seconds)
10:42:51 lena64t joins (~lena64t@gateway/tor-sasl/hck)
10:43:28 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
10:45:31 × Feuermagier quits (~Feuermagi@user/feuermagier) (Remote host closed the connection)
10:46:47 × _________ quits (~nobody@user/noodly) (Quit: leaving)
10:47:48 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Ping timeout: 246 seconds)
10:48:12 _________ joins (~nobody@user/noodly)
10:48:42 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
10:49:22 Feuermagier joins (~Feuermagi@user/feuermagier)
10:50:01 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Quit: WeeChat 3.8)
10:50:49 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
10:51:24 vglfr joins (~vglfr@145.224.100.231)
10:52:28 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
10:53:36 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
10:53:42 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
10:53:54 vglfr joins (~vglfr@145.224.100.231)
10:58:19 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
10:58:31 vglfr joins (~vglfr@145.224.100.231)
11:01:26 × CiaoSen quits (~Jura@2a05:5800:28f:2400:664b:f0ff:fe37:9ef) (Ping timeout: 260 seconds)
11:02:24 × qqq quits (~qqq@92.43.167.61) (Remote host closed the connection)
11:02:32 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 246 seconds)
11:02:52 vglfr joins (~vglfr@145.224.100.231)
11:09:11 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 246 seconds)
11:12:00 vglfr joins (~vglfr@145.224.100.231)
11:15:43 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
11:17:13 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
11:20:01 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
11:20:21 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
11:20:55 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
11:21:35 × patrl quits (~patrl@user/patrl) (Quit: WeeChat 3.8)
11:22:52 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
11:23:12 vglfr joins (~vglfr@145.224.100.231)
11:23:38 sm joins (~sm@plaintextaccounting/sm)
11:25:49 × danse-nr3__ quits (~francesco@151.47.255.90) (Ping timeout: 255 seconds)
11:30:48 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
11:31:03 vglfr joins (~vglfr@145.224.100.231)
11:32:17 × infinity0 quits (~infinity0@pwned.gg) (Remote host closed the connection)
11:34:00 infinity0 joins (~infinity0@pwned.gg)
11:39:35 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:40:55 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
11:41:17 son0p joins (~ff@186.121.39.74)
11:41:32 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
11:43:08 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
11:47:31 shapr joins (~user@2600:1700:c640:3100:aa8c:7c0f:a0b4:ce7c)
11:55:54 × fweht quits (uid404746@id-404746.lymington.irccloud.com) (Quit: Connection closed for inactivity)
11:57:54 × mmarusea1ph2 quits (~mihai@mihai.page) (Quit: So long and thanks for all the lambdas)
11:58:10 mmaruseacph2 joins (~mihai@mihai.page)
11:58:36 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 248 seconds)
12:04:12 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:05:01 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
12:10:13 accord joins (uid568320@id-568320.hampstead.irccloud.com)
12:12:08 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
12:12:37 × jespada quits (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Ping timeout: 255 seconds)
12:13:34 danse-nr3__ joins (~francesco@151.47.255.90)
12:21:01 jespada joins (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net)
12:24:45 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
12:24:57 vglfr joins (~vglfr@145.224.100.231)
12:25:25 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2)
12:30:53 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Quit: Leaving)
12:31:09 xff0x joins (~xff0x@2405:6580:b080:900:f9db:5513:e0b6:cbdd)
12:32:45 × razetime quits (~quassel@49.207.192.55) (Ping timeout: 248 seconds)
12:37:32 × danse-nr3__ quits (~francesco@151.47.255.90) (Ping timeout: 248 seconds)
12:37:56 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 245 seconds)
12:38:03 × Square2 quits (~Square4@user/square) (Ping timeout: 246 seconds)
12:40:45 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht)
12:43:33 danse-nr3 joins (~francesco@151.47.116.153)
12:43:44 × ddellacosta quits (~ddellacos@ool-44c738de.dyn.optonline.net) (Quit: WeeChat 4.0.3)
12:45:16 × ubert quits (~Thunderbi@91.141.56.232.wireless.dyn.drei.com) (Ping timeout: 260 seconds)
12:49:02 ezzieyguywuf joins (~Unknown@user/ezzieyguywuf)
12:49:31 × Square quits (~Square@user/square) (Ping timeout: 255 seconds)
12:49:46 × ezzieygu1wuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 258 seconds)
12:50:33 ddellacosta joins (~ddellacos@ool-44c738de.dyn.optonline.net)
12:51:16 AlexNoo_ is now known as AlexNoo
12:52:09 Alex_test_ is now known as Alex_test
12:53:50 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 246 seconds)
12:54:01 × jespada quits (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Ping timeout: 255 seconds)
12:54:52 ezzieyguywuf joins (~Unknown@user/ezzieyguywuf)
12:59:39 jespada joins (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net)
13:03:52 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 240 seconds)
13:08:09 razetime joins (~quassel@49.207.192.55)
13:10:16 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
13:15:08 grnman_ joins (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net)
13:15:28 ubert joins (~Thunderbi@91.141.56.232.wireless.dyn.drei.com)
13:15:36 constexpr joins (~constexpr@211.204.97.171)
13:18:06 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 246 seconds)
13:18:51 × danse-nr3 quits (~francesco@151.47.116.153) (Remote host closed the connection)
13:19:13 danse-nr3 joins (~francesco@151.47.116.153)
13:19:17 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
13:20:15 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
13:22:55 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
13:22:55 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
13:22:55 wroathe joins (~wroathe@user/wroathe)
13:24:01 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 250 seconds)
13:24:43 Tuplanolla joins (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi)
13:36:32 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
13:38:32 dhil joins (~dhil@78.45.150.83.ewm.ftth.as8758.net)
13:44:05 yosef` joins (~yosef`@user/yosef/x-2947716)
13:52:10 fserucas__ joins (~fserucas@89.214.154.211)
13:52:31 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
13:54:56 × fserucas_ quits (~fserucas@89.214.155.193) (Ping timeout: 258 seconds)
13:54:58 × yosef` quits (~yosef`@user/yosef/x-2947716) (Quit: Client closed)
13:56:02 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
13:56:07 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 255 seconds)
14:01:44 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 246 seconds)
14:06:04 × dhil quits (~dhil@78.45.150.83.ewm.ftth.as8758.net) (Ping timeout: 248 seconds)
14:07:58 × YuutaW quits (~YuutaW@mail.yuuta.moe) (Ping timeout: 244 seconds)
14:08:50 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
14:11:08 YuutaW joins (~YuutaW@mail.yuuta.moe)
14:12:29 × constexpr quits (~constexpr@211.204.97.171) (Quit: Client closed)
14:12:56 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
14:19:49 mima joins (~mmh@net-2-38-141-119.cust.vodafonedsl.it)
14:21:27 × califax quits (~califax@user/califx) (Ping timeout: 246 seconds)
14:22:27 adanwan_ joins (~adanwan@gateway/tor-sasl/adanwan)
14:22:30 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 246 seconds)
14:22:32 califax joins (~califax@user/califx)
14:22:51 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 246 seconds)
14:23:12 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 246 seconds)
14:23:12 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 246 seconds)
14:23:33 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 246 seconds)
14:23:33 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Ping timeout: 246 seconds)
14:23:34 × Me-me quits (~Me-me@user/me-me) (Ping timeout: 255 seconds)
14:23:48 Me-me joins (~Me-me@146.102.215.218.dyn.iprimus.net.au)
14:24:00 chexum joins (~quassel@gateway/tor-sasl/chexum)
14:25:16 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
14:25:24 gmg joins (~user@user/gehmehgeh)
14:27:38 kenran parts (~user@user/kenran) (ERC 5.6-git (IRC client for GNU Emacs 30.0.50))
14:27:40 × hdggxin_ quits (~hdggxin@122.175.41.19) (Remote host closed the connection)
14:28:25 hdggxin joins (~hdggxin@122.175.41.19)
14:33:35 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
14:35:12 cafkafk joins (~cafkafk@fsf/member/cafkafk)
14:35:28 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
14:36:41 Sgeo joins (~Sgeo@user/sgeo)
14:42:04 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
14:43:10 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
14:46:36 × YuutaW quits (~YuutaW@mail.yuuta.moe) (Ping timeout: 260 seconds)
14:46:51 sm joins (~sm@plaintextaccounting/sm)
14:48:16 ft joins (~ft@p508db658.dip0.t-ipconnect.de)
14:49:57 YuutaW joins (~YuutaW@mail.yuuta.moe)
14:51:05 × sm quits (~sm@plaintextaccounting/sm) (Ping timeout: 246 seconds)
14:54:39 fserucas_ joins (~fserucas@89.214.146.18)
14:57:00 × fserucas__ quits (~fserucas@89.214.154.211) (Ping timeout: 246 seconds)
14:58:18 sm joins (~sm@plaintextaccounting/sm)
15:03:45 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.0.4)
15:04:09 × libertyprime quits (~libertypr@203.96.203.44) (Quit: leaving)
15:04:21 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
15:05:50 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:6317:fe5f:2291:c931) (Ping timeout: 244 seconds)
15:09:12 vglfr joins (~vglfr@145.224.100.231)
15:09:50 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
15:13:29 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 246 seconds)
15:13:31 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 255 seconds)
15:13:50 vglfr joins (~vglfr@145.224.100.231)
15:15:16 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
15:26:30 lena64t1 joins (~lena64t@gateway/tor-sasl/hck)
15:27:01 × Lears quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
15:27:15 [Leary] joins (~Leary]@user/Leary/x-0910699)
15:29:00 × lena64t quits (~lena64t@gateway/tor-sasl/hck) (Ping timeout: 246 seconds)
15:32:02 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 246 seconds)
15:32:09 × lena64t1 quits (~lena64t@gateway/tor-sasl/hck) (Ping timeout: 246 seconds)
15:34:04 ezzieyguywuf joins (~Unknown@user/ezzieyguywuf)
15:38:31 × Feuermagier quits (~Feuermagi@user/feuermagier) (Ping timeout: 246 seconds)
15:39:57 Feuermagier joins (~Feuermagi@user/feuermagier)
15:42:04 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 248 seconds)
15:42:31 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5) (Remote host closed the connection)
15:42:46 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5)
15:45:33 caryhartline joins (~caryhartl@168.182.58.169)
15:49:07 lena64t joins (~lena64t@gateway/tor-sasl/hck)
15:53:50 × ursa-major quits (~ursa-majo@static-198-44-128-214.cust.tzulo.com) (Quit: WeeChat 4.0.4)
15:56:40 fserucas__ joins (~fserucas@89.214.152.95)
15:58:06 × accord quits (uid568320@id-568320.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
15:58:59 × fserucas_ quits (~fserucas@89.214.146.18) (Ping timeout: 246 seconds)
15:59:22 __monty__ joins (~toonn@user/toonn)
15:59:52 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
16:00:07 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
16:07:06 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5) (Remote host closed the connection)
16:07:58 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
16:15:00 <albet70> getValue :: m a -> a, this can be existed?
16:15:48 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
16:15:51 <geekosaur> not in general unless you're talking about Comonad
16:15:53 <erisco> albet70, sounds like extract from Comonad
16:17:08 <geekosaur> (and ignoring unsafePerformIO which is "unsafe" for good reason)
16:17:41 <albet70> https://twitter.com/iceland_jack/status/1697561616198341066
16:17:47 <int-e> :t runIdentity
16:17:48 <lambdabot> Identity a -> a
16:18:46 <ncf> (that tweet is a joke, i'm fairly certain)
16:18:51 <int-e> :t fst . runWriter
16:18:52 <lambdabot> Writer b c -> c
16:18:53 <erisco> that is intended comedy right? lol
16:19:46 <dolio> What if m = Const ()?
16:19:54 <dolio> getValue :: () -> a
16:20:10 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
16:20:16 <int-e> ncf: but was the parent tweet a joke as well?
16:20:40 <erisco> Iceland Jack is definitely joking but I'm hoping Dillion Mulroy is too lol
16:20:46 <ncf> who knows
16:21:01 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
16:21:04 <EvanR> albet70, wasn't even asking about monads! jokes on you!
16:21:35 <EvanR> except for dolio who "gets it"
16:21:45 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
16:22:30 ncf . o O ( "be existed"... i guess existing is the most passive thing you can do )
16:23:19 <int-e> . o O ( Maybe alluding to BeOS )
16:23:27 <EvanR> merely exists - classical logic
16:23:32 <EvanR> be existed - constructive logic
16:23:54 <dolio> Const () happens to be a monad, but I did notice that it wasn't specified.
16:24:15 <ncf> is it?
16:24:17 <ncf> oh yeah
16:24:23 <int-e> monads are useless
16:24:36 <dolio> Someone was asking about it the other night. It's the monad that 'interprets every other monad'.
16:25:04 <erisco> thought that was Cont
16:25:25 <dolio> Well, that just goes to show you that people that say that don't know what they're talking about. :)
16:25:27 <int-e> type HotelCalifornia a = Const () a
16:25:28 <ncf> "interpret" in the sense of "monad homomorphism from"?
16:25:42 <dolio> Yeah.
16:25:46 <ncf> terminal monad, i guess
16:25:55 <int-e> where values go to die
16:26:18 <ncf> at least they have a pure death
16:26:44 <int-e> death without side effects?
16:26:52 <int-e> interesting concept :)
16:27:06 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
16:28:18 <dolio> 'Merely exists' is still constructive in homotopy type theory, incidentally.
16:28:44 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 246 seconds)
16:28:55 susul joins (~susul@user/susul)
16:29:36 × grnman_ quits (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net) (Ping timeout: 245 seconds)
16:30:11 qqq joins (~qqq@92.43.167.61)
16:31:29 <EvanR> i also heard Cont is "the mother of all monads"
16:31:43 <EvanR> dunno if that's a different standard
16:31:55 <dolio> Yeah, I think that's pretty misleading when you actually think about it.
16:33:24 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 246 seconds)
16:34:05 <dolio> You can say the same thing about free monads and be similarly correct.
16:36:52 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5)
16:37:28 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
16:37:42 vglfr joins (~vglfr@145.224.100.231)
16:39:14 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
16:40:30 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:40:32 grnman_ joins (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net)
16:40:32 × lena64t quits (~lena64t@gateway/tor-sasl/hck) (Remote host closed the connection)
16:41:05 lena64t joins (~lena64t@gateway/tor-sasl/hck)
16:42:14 danse-nr3_ joins (~francesco@151.35.106.7)
16:42:32 × danse-nr3 quits (~francesco@151.47.116.153) (Read error: Connection reset by peer)
16:45:32 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
16:45:46 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
16:53:49 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
16:55:55 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
16:58:20 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 248 seconds)
17:07:38 dhil joins (~dhil@78.45.150.83.ewm.ftth.as8758.net)
17:10:59 × YuutaW quits (~YuutaW@mail.yuuta.moe) (Ping timeout: 246 seconds)
17:11:34 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
17:11:47 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
17:12:57 YuutaW joins (~YuutaW@mail.yuuta.moe)
17:19:45 powderhorn joins (~powderhor@207-153-12-54.static.fttp.usinternet.com)
17:21:03 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
17:23:16 × razetime quits (~quassel@49.207.192.55) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
17:23:25 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 245 seconds)
17:23:34 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
17:25:16 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 260 seconds)
17:26:22 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 244 seconds)
17:27:36 vglfr joins (~vglfr@145.224.100.231)
17:30:40 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
17:31:35 hyvoid1 is now known as hyvoid
17:33:01 Jeanne-Kamikaze joins (~Jeanne-Ka@static-198-54-134-69.cust.tzulo.com)
17:34:51 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
17:37:22 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
17:41:04 vglfr joins (~vglfr@145.224.100.231)
17:43:49 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
17:44:41 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
17:46:41 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
17:47:43 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
17:49:39 × danse-nr3_ quits (~francesco@151.35.106.7) (Ping timeout: 250 seconds)
17:50:17 danse-nr3_ joins (~francesco@151.35.106.7)
17:54:32 × danse-nr3_ quits (~francesco@151.35.106.7) (Remote host closed the connection)
17:54:42 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
17:54:55 danse-nr3_ joins (~francesco@151.35.106.7)
17:59:12 johnw joins (~johnw@69.62.242.138)
17:59:37 × danse-nr3_ quits (~francesco@151.35.106.7) (Ping timeout: 250 seconds)
18:00:09 × nurupo quits (~nurupo.ga@user/nurupo) (Quit: nurupo.ga)
18:00:24 nurupo joins (~nurupo.ga@user/nurupo)
18:00:49 danza joins (~francesco@151.35.106.7)
18:02:41 lortabac joins (~lortabac@2a01:e0a:541:b8f0:766e:7733:2fcb:45a0)
18:03:00 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:766e:7733:2fcb:45a0) (Client Quit)
18:05:02 × nshepperd2 quits (nshepperd@2600:3c03::f03c:92ff:fe28:92c9) (Server closed connection)
18:05:16 nshepperd2 joins (nshepperd@2600:3c03::f03c:92ff:fe28:92c9)
18:07:41 × immae quits (~immae@2a01:4f8:141:53e7::) (Server closed connection)
18:07:59 immae joins (~immae@2a01:4f8:141:53e7::)
18:09:05 × mysl quits (~mysl@user/mysl) (Remote host closed the connection)
18:09:28 mysl joins (~mysl@user/mysl)
18:09:35 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 250 seconds)
18:10:45 mysl is now known as mysl_
18:10:50 mysl_ is now known as mysl
18:10:50 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Ping timeout: 246 seconds)
18:11:54 wootehfoot joins (~wootehfoo@user/wootehfoot)
18:11:55 vglfr joins (~vglfr@cli-188-239-233-89.bbn.slav.dn.ua)
18:13:21 × ulysses4ever quits (~artem@2601:249:4380:8950:f474:e3f8:9806:671) (Ping timeout: 246 seconds)
18:14:53 × powderhorn quits (~powderhor@207-153-12-54.static.fttp.usinternet.com) (Quit: Client closed)
18:21:41 × hpc quits (~juzz@ip98-169-35-163.dc.dc.cox.net) (Ping timeout: 245 seconds)
18:22:36 hpc joins (~juzz@ip98-169-35-163.dc.dc.cox.net)
18:24:31 Lycurgus joins (~juan@user/Lycurgus)
18:26:17 × landonf quits (landonf@mac68k.info) (Server closed connection)
18:26:32 landonf joins (landonf@mac68k.info)
18:27:42 × tolt quits (~weechat-h@173.255.209.154) (Server closed connection)
18:27:59 Guest2 joins (~Guest54@p200300ef970060dda42db098689300dd.dip0.t-ipconnect.de)
18:28:10 tolt joins (~weechat-h@li219-154.members.linode.com)
18:28:39 <Guest2> Can I short circuit a foldr where the accumulator is not a Bool but contains a Bool?
18:30:53 × vglfr quits (~vglfr@cli-188-239-233-89.bbn.slav.dn.ua) (Ping timeout: 246 seconds)
18:31:06 <Guest2> e.g. in "foldr f (complexValue, False) [1..10]"
18:31:32 vglfr joins (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff)
18:31:38 <davean> I mean you can litterly insert an if statement based on the bool?
18:32:00 <davean> I think I'm confused as to the question
18:33:09 <Guest2> Maybe I made it more complicated than I needed.
18:33:35 <geekosaur> "short circuiting"is not evaluating the `y` in `\x y ->` (that is, the second parameter to `f`)
18:34:57 <Guest2> davean: It still traverses the whole list.
18:37:16 <glguy> foldr doesn't have an accumulator
18:37:38 <glguy> but if you want a short-circuit foldl you can make one with foldr and continuation passing style
18:38:16 × dhil quits (~dhil@78.45.150.83.ewm.ftth.as8758.net) (Ping timeout: 255 seconds)
18:39:02 × jocke-l quits (jocke-l@a.x0.is) (Server closed connection)
18:39:07 <Guest2> In JavaScript I have a function with a mutable variable (i.e. the accumulator) and a for loop. If a certain condition is met I will break out of the loop and stop traversing. In Haskell if my f (in foldr f ...) starts with an if that checks the Bool it will still traverse the whole thing.
18:39:15 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:39:27 jocke-l joins (jocke-l@a.x0.is)
18:39:57 <glguy> > foldr (\x go acc -> if acc < 0 then acc else go (x+acc)) id [1,2,3,4] 0
18:39:58 <lambdabot> 10
18:40:03 <glguy> > foldr (\x go acc -> if acc < 0 then acc else go (x+acc)) id [1,2,-4,-5] 0
18:40:04 <lambdabot> -1
18:40:15 <glguy> that bails out as soon as the prefix-sum is negative
18:40:22 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
18:40:49 <glguy> or you can use foldM with Either if you want an early exit case
18:41:43 <EvanR> it took me a long time to internalize that what Guest2 is trying to do is foldl
18:42:34 <monochrom> Yeah the first response should be "show what actual code you have got" not try to guess the question.
18:44:06 <glguy> int-e: I think we had to use this back in 2020 https://hackage.haskell.org/package/integer-gmp-1.1/docs/GHC-Integer-GMP-Internals.html#v:gcdExtInteger
18:44:43 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
18:45:14 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 246 seconds)
18:46:28 <Guest2> monochrom: I reduced the problem to a containsDuplicate function https://paste.tomsmeding.com/vrrAb4h5
18:46:31 Simikando joins (~Simikando@adsl-dyn1.91-127-51.t-com.sk)
18:46:40 <EvanR> > foldr (\x answer -> if x < 0 then 'a' else answer) 'b' ([1,2,3,-4] ++ [5..])
18:46:41 <lambdabot> 'a'
18:47:11 <EvanR> this foldr which simply uses an if in there probably isn't going through the whole list because I made it infinite
18:47:19 <int-e> glguy: Right, that's where it was then. But the loop was simpler regardless :)
18:49:26 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Read error: Connection reset by peer)
18:49:36 <haskellbridge> <j​ean-paul.> That foldr... how does it not go through the whole list?
18:50:13 <EvanR> personally I have to look at lambdabot's code for foldr!
18:50:16 <EvanR> @src foldr
18:50:16 <lambdabot> foldr f z [] = z
18:50:16 <lambdabot> foldr f z (x:xs) = f x (foldr f z xs)
18:50:24 scholablade joins (~scholabla@160.176.37.140)
18:50:51 <haskellbridge> <j​ean-paul.> ah
18:51:32 <haskellbridge> <j​ean-paul.> as soon as `answer` is not part of the return value of f, the result of the recursive call is not needed so not evaluated
18:51:45 × scholablade quits (~scholabla@160.176.37.140) (Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1))
18:51:47 tuxillo joins (~tuxillo@217.138.218.104)
18:52:14 × ubert quits (~Thunderbi@91.141.56.232.wireless.dyn.drei.com) (Ping timeout: 246 seconds)
18:52:15 <EvanR> the variable answer, yeah. The actual answer, is what is returned
18:52:44 <tuxillo> hi
18:52:44 <monochrom> > foldr (&&) undefined (False : repeat True)
18:52:46 <lambdabot> False
18:53:27 <tuxillo> I'm the packager of ghc for DragonFly BSD. where can I discuss bootstrapping issues?
18:53:52 × Guest2 quits (~Guest54@p200300ef970060dda42db098689300dd.dip0.t-ipconnect.de) (Quit: Client closed)
18:54:01 <[exa]> tuxillo: partially here (higher traffic) and partially in #ghc (actual ghc devs are there)
18:54:10 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
18:54:17 <geekosaur> what kind of bootstrapping issues?
18:54:20 Guest26 joins (~Guest54@p200300ef970060dda42db098689300dd.dip0.t-ipconnect.de)
18:54:32 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:607b:f078:c328:abff) (Read error: Connection reset by peer)
18:54:50 vglfr joins (~vglfr@145.224.100.231)
18:54:50 <tuxillo> ok, i'll join #ghc, thanks!
18:55:14 × vglfr quits (~vglfr@145.224.100.231) (Read error: Connection reset by peer)
18:55:24 vglfr joins (~vglfr@145.224.100.231)
18:55:33 <tuxillo> geekosaur: apparently the include search paths are not being passed during bootstrap (for ncurses headers) and I'm ending up with " fatal error: term.h: No such file or directory"
18:56:04 <geekosaur> that sounds like a #ghc question, yes
18:57:16 × ProofTechnique_ quits (sid79547@id-79547.ilkley.irccloud.com) (Server closed connection)
18:57:31 ProofTechnique_ joins (sid79547@id-79547.ilkley.irccloud.com)
18:58:52 × cjay quits (cjay@nerdbox.nerd2nerd.org) (Server closed connection)
18:59:01 cjay joins (cjay@nerdbox.nerd2nerd.org)
18:59:16 × susul quits (~susul@user/susul) (Quit: WeeChat 3.0)
19:00:39 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:01:31 × integral quits (sid296274@user/integral) (Server closed connection)
19:01:42 integral joins (sid296274@user/integral)
19:02:11 ulysses4ever joins (~artem@2601:249:4380:8950:f474:e3f8:9806:671)
19:03:06 scholablade joins (~user@160.176.37.140)
19:03:16 scholabl` joins (~user@160.176.37.140)
19:05:41 × scholabl` quits (~user@160.176.37.140) (Client Quit)
19:05:50 scholabl` joins (~scholabla@160.176.37.140)
19:05:59 × scholabl` quits (~scholabla@160.176.37.140) (Remote host closed the connection)
19:07:25 scholabl` joins (~user@160.176.37.140)
19:07:29 × scholabl` quits (~user@160.176.37.140) (Remote host closed the connection)
19:07:52 × Jackneill_ quits (~Jackneill@20014C4E1E04F90056592DA5D2139949.dsl.pool.telekom.hu) (Ping timeout: 245 seconds)
19:08:16 scholabl` joins (~user@160.176.37.140)
19:08:30 × scholabl` quits (~user@160.176.37.140) (Remote host closed the connection)
19:10:01 × glowcoil quits (sid3405@id-3405.tinside.irccloud.com) (Server closed connection)
19:10:08 glowcoil joins (sid3405@id-3405.tinside.irccloud.com)
19:10:14 scholabl` joins (~scholabla@160.176.37.140)
19:10:14 × scholabl` quits (~scholabla@160.176.37.140) (Remote host closed the connection)
19:10:26 × Simikando quits (~Simikando@adsl-dyn1.91-127-51.t-com.sk) (Quit: Leaving)
19:11:26 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:12:58 scholabl` joins (~user@160.176.37.140)
19:19:07 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5) (Remote host closed the connection)
19:25:32 jero98772 joins (~jero98772@2800:484:1d84:300::2)
19:25:45 × briandaed quits (~briandaed@185.234.210.211.r.toneticgroup.pl) (Remote host closed the connection)
19:27:23 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:31:18 <[Leary]> Guest26: Consider using `scanl`, `zipWith` and `or` rather than `foldr`.
19:32:39 tremon joins (~tremon@83.80.159.219)
19:34:22 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5)
19:35:52 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 255 seconds)
19:37:32 vglfr joins (~vglfr@cli-188-239-233-89.bbn.slav.dn.ua)
19:43:10 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:49:59 × Guest26 quits (~Guest54@p200300ef970060dda42db098689300dd.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
19:50:00 aaronv joins (~aaronv@user/aaronv)
19:50:13 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
19:58:28 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
19:58:35 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:58:57 × tom_ quits (~tom@2a00:23c8:970c:4801:a861:cd59:2e4c:1efa) (Remote host closed the connection)
19:59:45 tom_ joins (~tom@2a00:23c8:970c:4801:a861:cd59:2e4c:1efa)
20:01:18 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 246 seconds)
20:03:56 × jero98772 quits (~jero98772@2800:484:1d84:300::2) (Ping timeout: 260 seconds)
20:05:40 anselmschueler joins (~anselmsch@user/schuelermine)
20:05:48 anselmschueler parts (~anselmsch@user/schuelermine) ()
20:08:29 × oo_miguel quits (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) (Quit: oo_miguel)
20:09:14 oo_miguel joins (~Thunderbi@78-11-179-96.static.ip.netia.com.pl)
20:09:44 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
20:11:05 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
20:13:35 × Jeanne-Kamikaze quits (~Jeanne-Ka@static-198-54-134-69.cust.tzulo.com) (Quit: Leaving)
20:14:56 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:15:17 jero98772 joins (~jero98772@2800:484:1d84:300::2)
20:16:36 × tritlo_ quits (sid58727@id-58727.hampstead.irccloud.com) (Server closed connection)
20:16:50 tritlo_ joins (sid58727@id-58727.hampstead.irccloud.com)
20:17:38 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
20:26:20 × grnman_ quits (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net) (Ping timeout: 245 seconds)
20:26:21 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
20:29:07 × caryhartline quits (~caryhartl@168.182.58.169) (Ping timeout: 250 seconds)
20:30:46 × b20n quits (sid115913@id-115913.uxbridge.irccloud.com) (Server closed connection)
20:30:51 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
20:30:55 b20n joins (sid115913@id-115913.uxbridge.irccloud.com)
20:33:36 × dsal quits (sid13060@id-13060.lymington.irccloud.com) (Server closed connection)
20:33:45 dsal joins (sid13060@id-13060.lymington.irccloud.com)
20:39:22 caryhartline joins (~caryhartl@168.182.58.169)
20:41:59 Lycurgus joins (~juan@user/Lycurgus)
20:42:36 danza_ joins (~francesco@151.57.124.123)
20:42:46 × danza quits (~francesco@151.35.106.7) (Read error: Connection reset by peer)
20:44:54 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:45:10 sm joins (~sm@plaintextaccounting/sm)
20:46:08 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
20:54:55 × michalz quits (~michalz@185.246.207.221) (Remote host closed the connection)
20:55:47 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
20:56:01 falafel joins (~falafel@62.175.113.194.dyn.user.ono.com)
21:01:13 × tuxillo quits (~tuxillo@217.138.218.104) (Quit: Client closed)
21:01:31 × kimiamania quits (~65804703@user/kimiamania) (Quit: PegeLinux)
21:01:57 kimiamania joins (~67afdc47@user/kimiamania)
21:04:11 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
21:11:51 × idnar quits (sid12240@debian/mithrandi) (Server closed connection)
21:11:59 idnar joins (sid12240@debian/mithrandi)
21:13:03 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:13:45 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:b0f5:9dfd:241c:83c5) (Remote host closed the connection)
21:13:48 × jero98772 quits (~jero98772@2800:484:1d84:300::2) (Ping timeout: 248 seconds)
21:19:47 Square joins (~Square@user/square)
21:21:12 × acidjnk quits (~acidjnk@p200300d6e7072f6224e9f62f062fe3b9.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
21:21:31 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
21:22:32 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
21:26:01 × mzg quits (mzg@lazy.unconscious.biz) (Server closed connection)
21:26:08 mzg joins (mzg@lazy.unconscious.biz)
21:26:30 jero98772 joins (~jero98772@2800:484:1d84:300::2)
21:27:08 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 244 seconds)
21:27:55 sm joins (~sm@plaintextaccounting/sm)
21:29:23 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
21:29:41 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
21:30:26 × hdggxin quits (~hdggxin@122.175.41.19) (Ping timeout: 246 seconds)
21:32:32 × aaronv quits (~aaronv@user/aaronv) (Ping timeout: 246 seconds)
21:32:35 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:36:23 × mima quits (~mmh@net-2-38-141-119.cust.vodafonedsl.it) (Ping timeout: 246 seconds)
21:39:45 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:44:34 × tv quits (~tv@user/tv) (Ping timeout: 255 seconds)
21:51:22 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e816:d59f:5dd6:1363)
21:55:56 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e816:d59f:5dd6:1363) (Ping timeout: 248 seconds)
22:01:09 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
22:01:10 × falafel quits (~falafel@62.175.113.194.dyn.user.ono.com) (Remote host closed the connection)
22:01:26 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
22:01:27 jmdaemon joins (~jmdaemon@user/jmdaemon)
22:01:35 falafel joins (~falafel@62.175.113.194.dyn.user.ono.com)
22:01:46 powderhorn joins (~powderhor@207-153-12-54.static.fttp.usinternet.com)
22:03:51 tv joins (~tv@user/tv)
22:05:38 wroathe joins (~wroathe@user/wroathe)
22:05:47 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
22:06:08 × falafel quits (~falafel@62.175.113.194.dyn.user.ono.com) (Ping timeout: 246 seconds)
22:08:31 × nadja quits (~dequbed@2a01:4f8:201:34c7::1) (Server closed connection)
22:08:41 nadja joins (~dequbed@banana-new.kilobyte22.de)
22:09:06 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e816:d59f:5dd6:1363)
22:09:45 × lena64t quits (~lena64t@gateway/tor-sasl/hck) (Ping timeout: 246 seconds)
22:10:33 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
22:15:05 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds)
22:19:51 × dy quits (sid3438@user/dy) (Server closed connection)
22:19:59 dy joins (sid3438@user/dy)
22:22:33 × tom_ quits (~tom@2a00:23c8:970c:4801:a861:cd59:2e4c:1efa) (Remote host closed the connection)
22:22:38 tom__ joins (~tom@host86-132-186-152.range86-132.btcentralplus.com)
22:23:38 × jero98772 quits (~jero98772@2800:484:1d84:300::2) (Ping timeout: 246 seconds)
22:25:05 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
22:27:23 × ft quits (~ft@p508db658.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
22:28:23 ft joins (~ft@p508db658.dip0.t-ipconnect.de)
22:28:32 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds)
22:29:35 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
22:30:01 falafel joins (~falafel@62.175.113.194.dyn.user.ono.com)
22:33:48 aaronv joins (~aaronv@user/aaronv)
22:37:03 jero98772 joins (~jero98772@2800:484:1d84:300::2)
22:37:39 hdggxin joins (~hdggxin@122.175.41.19)
22:38:16 × conjunctive quits (sid433686@2a03:5180:f:1::6:9e16) (Server closed connection)
22:38:25 conjunctive joins (sid433686@id-433686.helmsley.irccloud.com)
22:39:07 × sm quits (~sm@plaintextaccounting/sm) (Ping timeout: 250 seconds)
22:41:28 sm joins (~sm@plaintextaccounting/sm)
22:42:48 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
22:43:40 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
22:45:15 grnman_ joins (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net)
22:51:34 tuxillo joins (~tuxillo@89.238.178.134)
22:52:15 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
23:03:17 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
23:03:22 kjak_ is now known as kjak
23:09:01 × grnman_ quits (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
23:15:06 × astra quits (sid289983@user/amish) (Server closed connection)
23:15:27 astra joins (sid289983@id-289983.hampstead.irccloud.com)
23:15:38 × Tuplanolla quits (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) (Quit: Leaving.)
23:19:22 × Feuermagier quits (~Feuermagi@user/feuermagier) (Remote host closed the connection)
23:27:15 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
23:27:41 × aaronv quits (~aaronv@user/aaronv) (Ping timeout: 246 seconds)
23:30:35 aaronv joins (~aaronv@user/aaronv)
23:30:45 OscarZ joins (~oscarz@85.194.207.108)
23:31:01 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
23:31:48 L29Ah joins (~L29Ah@wikipedia/L29Ah)
23:33:28 × Me-me quits (~Me-me@146.102.215.218.dyn.iprimus.net.au) (Changing host)
23:33:28 Me-me joins (~Me-me@user/me-me)
23:33:56 × jero98772 quits (~jero98772@2800:484:1d84:300::2) (Ping timeout: 260 seconds)
23:38:52 × aaronv quits (~aaronv@user/aaronv) (Ping timeout: 248 seconds)
23:44:25 grnman_ joins (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net)
23:45:02 × mcfrdy quits (~mcfrdy@user/mcfrdy) (Server closed connection)
23:45:22 mcfrdy joins (~mcfrdy@user/mcfrdy)
23:47:09 jero98772 joins (~jero98772@2800:484:1d84:300::2)
23:48:27 × danza_ quits (~francesco@151.57.124.123) (Remote host closed the connection)
23:49:03 danza joins (~francesco@151.57.124.123)
23:49:21 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 246 seconds)
23:49:27 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
23:50:48 Lord_of_Life_ is now known as Lord_of_Life
23:56:41 × OscarZ quits (~oscarz@85.194.207.108) (Quit: Leaving)
23:57:10 × tremon quits (~tremon@83.80.159.219) (Quit: getting boxed in)
23:57:11 Feuermagier joins (~Feuermagi@user/feuermagier)
23:57:27 libertyprime joins (~libertypr@203.96.203.44)
23:58:10 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)

All times are in UTC on 2023-09-01.