2025/12/20

Newest at the top

2025-12-21 00:38:18 +0100 <Leary> I would have omitted it, since you can always `fmap` anyway.
2025-12-21 00:36:53 +0100 <byorgey> It seems like it would not be strictly necessary in the case of foldMap, but since the Fold type already provides this separate "extraction" capability for other reasons, foldMap might as well provide the extra flexibility?
2025-12-21 00:35:34 +0100 <byorgey> the second function could be id. It just allows for a bit more flexibility in the case that the final result you want is itself not monoidal, but can be extracted from some monoidal result.
2025-12-21 00:32:32 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-12-21 00:31:53 +0100 <hololeap> "This allows the Applicative instance to assemble derived folds that traverse the container only once"
2025-12-21 00:31:36 +0100 <hololeap> "extraction function"
2025-12-21 00:31:25 +0100trickard(~trickard@cpe-81-98-47-163.wireline.com.au)
2025-12-21 00:31:12 +0100trickard(~trickard@cpe-81-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-12-21 00:31:11 +0100 <hololeap> something to do with the way the Applicative instance is impemented for Fold
2025-12-21 00:28:33 +0100 <hololeap> so I guess the second function could be `id`? it still seems strange to me
2025-12-21 00:28:04 +0100 <hololeap> oh, wait I misread it
2025-12-21 00:27:35 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-21 00:27:14 +0100 <hololeap> any guesses why this wants/needs an isomorphism? https://hackage.haskell.org/package/foldl-1.4.18/docs/Control-Foldl.html#v:foldMap
2025-12-21 00:25:44 +0100jmcantrell_jmcantrell
2025-12-21 00:25:35 +0100jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2025-12-21 00:21:23 +0100jmcantrell(~weechat@user/jmcantrell) (Quit: WeeChat 4.8.1)
2025-12-21 00:20:11 +0100trickard_trickard
2025-12-21 00:15:43 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-12-21 00:09:17 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-21 00:09:10 +0100Pozyomka(~pyon@user/pyon) pyon
2025-12-21 00:04:45 +0100lambda_gibbon(~lambda_gi@2603:7080:ee00:37d8:dcc4:d31b:c3d9:56cd) (Ping timeout: 265 seconds)
2025-12-21 00:03:21 +0100target_i(~target_i@user/target-i/x-6023099) (Quit: leaving)
2025-12-20 23:59:51 +0100lambda_gibbon(~lambda_gi@2603:7080:ee00:37d8:dcc4:d31b:c3d9:56cd)
2025-12-20 23:58:49 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2025-12-20 23:53:42 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-20 23:52:12 +0100tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net)
2025-12-20 23:51:54 +0100jmcantrell_jmcantrell
2025-12-20 23:51:13 +0100CiaoSen(~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 265 seconds)
2025-12-20 23:50:05 +0100L29Ah(~L29Ah@wikipedia/L29Ah) L29Ah
2025-12-20 23:47:41 +0100trickard_(~trickard@cpe-81-98-47-163.wireline.com.au)
2025-12-20 23:47:28 +0100trickard(~trickard@cpe-81-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-12-20 23:45:55 +0100euphores(~SASL_euph@user/euphores) euphores
2025-12-20 23:42:35 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-12-20 23:42:24 +0100FloorCalc(~user@user/FloorCalc) (Quit: toodles)
2025-12-20 23:37:55 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-20 23:35:51 +0100euphores(~SASL_euph@user/euphores) (Read error: Connection reset by peer)
2025-12-20 23:30:03 +0100arandombit(~arandombi@user/arandombit) arandombit
2025-12-20 23:30:03 +0100arandombit(~arandombi@2603:7000:4600:ffbe:b187:4218:3538:7a7a) (Changing host)
2025-12-20 23:30:03 +0100arandombit(~arandombi@2603:7000:4600:ffbe:b187:4218:3538:7a7a)
2025-12-20 23:29:54 +0100arandombit(~arandombi@user/arandombit) (Ping timeout: 256 seconds)
2025-12-20 23:26:55 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-12-20 23:26:24 +0100trickard_trickard
2025-12-20 23:22:53 +0100L29Ah(~L29Ah@wikipedia/L29Ah) ()
2025-12-20 23:22:08 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-20 23:19:00 +0100milan2(~milan@88.212.61.169) (Quit: WeeChat 4.5.2)
2025-12-20 23:16:40 +0100trickard_(~trickard@cpe-81-98-47-163.wireline.com.au)
2025-12-20 23:16:27 +0100trickard(~trickard@cpe-81-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-12-20 23:15:47 +0100Googulator59(~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed)
2025-12-20 23:15:44 +0100Googulator93(~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu)
2025-12-20 23:14:03 +0100weary-traveler(~user@user/user363627) user363627