2024/12/27

Newest at the top

2024-12-27 17:15:38 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-12-27 17:15:08 +0100L29Ah(~L29Ah@wikipedia/L29Ah) L29Ah
2024-12-27 17:12:10 +0100euleritian(~euleritia@dynamic-176-006-128-055.176.6.pool.telefonica.de)
2024-12-27 17:10:39 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2024-12-27 17:10:04 +0100euleritian(~euleritia@dynamic-176-006-128-055.176.6.pool.telefonica.de) (Read error: Connection reset by peer)
2024-12-27 17:09:15 +0100euleritian(~euleritia@dynamic-176-006-128-055.176.6.pool.telefonica.de)
2024-12-27 17:08:24 +0100haver(~Enviosity@2.219.56.221) (Quit: Connection error?!)
2024-12-27 17:06:29 +0100hueso(~root@user/hueso) hueso
2024-12-27 17:04:42 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-12-27 17:01:31 +0100weary-traveler(~user@user/user363627) user363627
2024-12-27 17:00:46 +0100Smiles(uid551636@id-551636.lymington.irccloud.com) Smiles
2024-12-27 17:00:15 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-12-27 16:55:08 +0100l_k(~student@85.172.110.180) (Ping timeout: 265 seconds)
2024-12-27 16:53:20 +0100euleritian(~euleritia@dynamic-176-006-128-055.176.6.pool.telefonica.de) (Ping timeout: 252 seconds)
2024-12-27 16:50:37 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-12-27 16:48:22 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2024-12-27 16:46:52 +0100euleritian(~euleritia@dynamic-176-006-128-055.176.6.pool.telefonica.de)
2024-12-27 16:42:01 +0100alfiee(alfiee@user/alfiee) alfiee
2024-12-27 16:41:31 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-12-27 16:41:07 +0100sayurc(~sayurc@169.150.203.34) sayurc
2024-12-27 16:39:17 +0100alfiee(alfiee@user/alfiee) (Quit: WeeChat 4.5.0)
2024-12-27 16:35:25 +0100Sgeo(~Sgeo@user/sgeo) Sgeo
2024-12-27 16:30:16 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
2024-12-27 16:26:47 +0100sprout(~sprout@84-80-106-227.fixed.kpn.net) sprout
2024-12-27 16:26:38 +0100tt12310978324354(~tt1231@2603:6010:8700:4a81:219f:50d3:618a:a6ee) tt1231
2024-12-27 16:26:01 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-12-27 16:25:08 +0100hueso(~root@user/hueso) (Quit: hueso)
2024-12-27 16:19:58 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-12-27 16:19:08 +0100hueso(~root@user/hueso) hueso
2024-12-27 16:15:24 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-12-27 16:08:01 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-12-27 16:07:30 +0100 <hellwolf> (I made an obvious mistake when dealing with the State monad)
2024-12-27 16:07:10 +0100jathan(~jathan@69.61.93.38) jathan
2024-12-27 16:07:05 +0100 <hellwolf> But I wonder if anyone make similar assumption on IO's side effect behavior when using mapM/sequence would face a similar awakening moment when the implementation of IO requiring foldM interpretation instead.
2024-12-27 16:07:05 +0100 <hellwolf> I think I get it.
2024-12-27 16:03:08 +0100simplystuart(~simplystu@c-75-75-152-164.hsd1.pa.comcast.net)
2024-12-27 16:02:22 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
2024-12-27 15:57:59 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-12-27 15:54:13 +0100euleritian(~euleritia@dynamic-176-006-128-055.176.6.pool.telefonica.de) (Ping timeout: 248 seconds)
2024-12-27 15:51:28 +0100 <hellwolf> that makes sense. but what was wrong with other code, I still want to understand.
2024-12-27 15:50:07 +0100 <ncf> replicateM (abi_type_count_vars @a) cg_next_var
2024-12-27 15:47:38 +0100 <hellwolf> mapM ,or, sequence $ map, not
2024-12-27 15:47:27 +0100 <hellwolf> (commented-out stupid code worked)
2024-12-27 15:47:06 +0100 <hellwolf> I can't seem to make it work
2024-12-27 15:46:57 +0100 <hellwolf> -- go n vars = cg_next_var >>= \var -> go (n - 1) (var:vars)
2024-12-27 15:46:57 +0100 <hellwolf> -- where go 0 vars = pure vars
2024-12-27 15:46:57 +0100 <hellwolf> -- cg_create_vars = reverse <$> go (abi_type_count_vars @a) []
2024-12-27 15:46:57 +0100 <hellwolf> cg_create_vars = sequence $ fmap (const cg_next_var) [0 .. abi_type_count_vars @a]
2024-12-27 15:46:27 +0100 <hellwolf> I am feeling incredibly dumb atm
2024-12-27 15:45:37 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)