2024/09/21

2024-09-21 00:02:32 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 00:04:07 +0200weary-traveler(~user@user/user363627)
2024-09-21 00:07:27 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2024-09-21 00:09:19 +0200weary-traveler(~user@user/user363627) (Remote host closed the connection)
2024-09-21 00:10:22 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 00:10:24 +0200libertyprime(~libertypr@118-92-68-68.dsl.dyn.ihug.co.nz)
2024-09-21 00:11:03 +0200weary-traveler(~user@user/user363627)
2024-09-21 00:12:26 +0200talismanick(~user@2601:644:937c:ed10::ae5)
2024-09-21 00:13:51 +0200neuroevolutus(~neuroevol@37.19.200.139) (Ping timeout: 256 seconds)
2024-09-21 00:16:39 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 260 seconds)
2024-09-21 00:18:19 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 00:19:06 +0200mikess(~mikess@user/mikess)
2024-09-21 00:20:31 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds)
2024-09-21 00:23:21 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-09-21 00:24:56 +0200machinedgod(~machinedg@d50-99-47-73.abhsia.telus.net)
2024-09-21 00:31:58 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 00:35:43 +0200ell(~ellie@user/ellie) (Quit: Ping timeout (120 seconds))
2024-09-21 00:36:05 +0200ell(~ellie@user/ellie)
2024-09-21 00:36:37 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2024-09-21 00:37:40 +0200mjrosenb(~mjrosenb@pool-96-232-177-77.nycmny.fios.verizon.net) (Ping timeout: 252 seconds)
2024-09-21 00:39:05 +0200mjrosenb(~mjrosenb@pool-96-232-177-77.nycmny.fios.verizon.net)
2024-09-21 00:42:45 +0200mikess(~mikess@user/mikess) (Quit: mikess)
2024-09-21 00:46:25 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 00:47:24 +0200mikess(~mikess@user/mikess)
2024-09-21 00:47:45 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 00:52:33 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 248 seconds)
2024-09-21 00:52:42 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-09-21 00:54:16 +0200 <Inst> monochrom:
2024-09-21 00:54:23 +0200 <Inst> sorry, here's how to show the behavior
2024-09-21 00:54:26 +0200 <Inst> import Debug.Trace
2024-09-21 00:55:37 +0200 <Inst> x <|>> y = traceWith (\u -> show u <> " was evaluated on the left") x <|> y
2024-09-21 00:55:46 +0200 <Inst> Just 3 <|>> Nothing <|>> Nothing
2024-09-21 00:56:30 +0200 <Inst> also, I just discovered you can declare operators in function arguments
2024-09-21 00:57:49 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 01:03:06 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 246 seconds)
2024-09-21 01:03:29 +0200 <Inst> > with (****) a b = a **** b
2024-09-21 01:03:31 +0200 <lambdabot> <hint>:1:17: error: parse error on input ‘=’
2024-09-21 01:03:31 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 01:03:54 +0200 <Inst> well, it works in 9.10 ghci :(
2024-09-21 01:08:21 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
2024-09-21 01:08:45 +0200Oxf1ac(~0xf1ac@62.4.42.168)
2024-09-21 01:09:00 +0200 <Inst> tomsmeding: you CAN stylistically decide to use >>= to make the data flow more obvious, afaik everyone decided to just write functional python with do and <- instead
2024-09-21 01:09:27 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 01:09:52 +0200 <monochrom> do-notation still desugars to right-associative uses of >>=
2024-09-21 01:12:47 +0200Oxf1ac(~0xf1ac@62.4.42.168) (Remote host closed the connection)
2024-09-21 01:12:55 +0200 <monochrom> It is fair to say that infixr is better for >>, <|>, >=> in most use cases, and the standard library made the wrong choice.
2024-09-21 01:13:07 +0200 <monochrom> But this is getting blown out of proportion.
2024-09-21 01:13:11 +0200Oxf1ac(~0xf1ac@62.4.42.168)
2024-09-21 01:13:57 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 248 seconds)
2024-09-21 01:18:07 +0200 <monochrom> Not to mention that "foo <|> (bar <|> x)" is not that hard to write if you find the infixl unsatisfactory.
2024-09-21 01:18:38 +0200 <Inst> ehhh, just pointing out infelicities, it's not a big deal tbh
2024-09-21 01:18:47 +0200 <Inst> it's a good reason not to abuse >>= and =<< for golfing
2024-09-21 01:19:01 +0200 <monochrom> "Does >>= leak?" is not making a big fuzz?
2024-09-21 01:19:18 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 01:19:52 +0200 <Inst> i suppose i should apologize for "baby's first exposure to thinking space and spaceleaks with laziness", but it would do no good
2024-09-21 01:20:27 +0200 <Inst> that said, just out of curiosity, when do you introduce Debug.Trace, monochrom?
2024-09-21 01:24:18 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2024-09-21 01:25:18 +0200 <monochrom> Being novice in technical matters is not the issue I'm complaining about.
2024-09-21 01:25:57 +0200 <monochrom> The dark pattern of always going hyperbole is.
2024-09-21 01:26:35 +0200 <Inst> criticism acknowledged
2024-09-21 01:32:56 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 01:36:14 +0200Squared(~Square@user/square)
2024-09-21 01:37:48 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-09-21 01:43:16 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 01:43:39 +0200acidjnk(~acidjnk@p200300d6e72cfb13044e7157fd3ef949.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
2024-09-21 01:46:32 +0200Oxf1ac(~0xf1ac@62.4.42.168) (Quit: WeeChat 4.4.2)
2024-09-21 01:48:45 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 01:49:18 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 246 seconds)
2024-09-21 01:50:07 +0200 <Inst> monochrom: I should have been more careful in wording and asked whether >>= leaks in direct use, i'm still pouring over GHC core output to check whether or not it does on O2 or higher optimizations
2024-09-21 01:50:23 +0200 <Inst> and yeah i'm aware of the () desugaring of do
2024-09-21 01:52:17 +0200 <Inst> the other realistic issue is, that from what i've seen, thinking lazily isn't prioritized in most haskell books i've seen, and there's been commercial users of haskell that've dropped Haskell because they weren't proficient in laziness
2024-09-21 01:53:27 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 01:53:54 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2024-09-21 01:58:08 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 265 seconds)
2024-09-21 01:58:10 +0200 <Inst> also, another question
2024-09-21 01:58:36 +0200 <Inst> actually, forget it, maybe another time
2024-09-21 02:04:35 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 02:04:40 +0200 <probie> You can evaluate that question thunk at a later time
2024-09-21 02:06:35 +0200 <Inst> it's more like weirdness with GHCI, possibly not an issue with ghc
2024-09-21 02:07:13 +0200 <Inst> if i bang a let declaration in a do block, do traceShowId over a number, it doesn't evaluate, if I traceShowId something else, it evaluates
2024-09-21 02:07:53 +0200 <Inst> it looks like it's wonkiness related to default types, because if I affix a type annotation, it evaluates
2024-09-21 02:09:49 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
2024-09-21 02:10:09 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-09-21 02:15:52 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-09-21 02:20:19 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 02:22:56 +0200ZharMeny(~ZharMeny@user/ZharMeny) (Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4))
2024-09-21 02:25:30 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
2024-09-21 02:32:20 +0200califax(~califax@user/califx) (Remote host closed the connection)
2024-09-21 02:33:59 +0200califax(~califax@user/califx)
2024-09-21 02:36:07 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 02:40:52 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-09-21 02:51:51 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)
2024-09-21 02:53:19 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
2024-09-21 02:55:07 +0200troojg(~troojg@user/troojg)
2024-09-21 02:56:38 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-09-21 03:04:01 +0200 <cheater> what
2024-09-21 03:07:40 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl)