2025/03/12

Newest at the top

2025-03-12 10:51:28 +0100 <dminuoso> Over all my Haskell time, my code complexity/tricky has followed a parabola.
2025-03-12 10:51:16 +0100Guest30566(~Guest3056@fixed-187-189-0-231.totalplay.net)
2025-03-12 10:51:01 +0100pata(~pata@185.57.29.142)
2025-03-12 10:51:00 +0100preflex_(~preflex@user/mauke/bot/preflex) preflex
2025-03-12 10:50:24 +0100 <dminuoso> Especially for using Traversable/Foldable instances that are not immediately clear
2025-03-12 10:50:02 +0100 <yahb2> <no output>
2025-03-12 10:50:02 +0100 <dminuoso> % withJust :: Maybe a -> (a -> IO b) -> IO (); withJust = for_
2025-03-12 10:49:59 +0100 <yahb2> <interactive>:343:57: error: [GHC-88464] ; Variable not in scope: for_b :: Maybe a -> (a -> IO b) -> IO () ; Suggested fix: Perhaps use ‘for_’ (imported from Data.Foldable)
2025-03-12 10:49:59 +0100 <dminuoso> % withJust :: Maybe a -> (a -> IO b) -> IO (); withJust = for_b
2025-03-12 10:49:55 +0100 <dminuoso> Also, you can just locally rename/constraint its type
2025-03-12 10:49:15 +0100tabaqui1(~root@87.200.129.102) tabaqui
2025-03-12 10:48:00 +0100lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) lortabac
2025-03-12 10:44:19 +0100 <mauke> rule of thumb: it's always traverse
2025-03-12 10:40:38 +0100merijn(~merijn@77.242.116.146) (Ping timeout: 252 seconds)
2025-03-12 10:40:16 +0100rvalue(~rvalue@user/rvalue) (Ping timeout: 252 seconds)
2025-03-12 10:36:32 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-03-12 10:34:29 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds)
2025-03-12 10:27:28 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 245 seconds)
2025-03-12 10:23:10 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-12 10:13:51 +0100izzyfalco(~jake_pers@user/izzyfalco) (Ping timeout: 252 seconds)
2025-03-12 10:08:29 +0100merijn(~merijn@77.242.116.146) merijn
2025-03-12 10:06:54 +0100merijn(~merijn@77.242.116.146) (Ping timeout: 260 seconds)
2025-03-12 10:03:47 +0100Smiles(uid551636@id-551636.lymington.irccloud.com) Smiles
2025-03-12 10:00:27 +0100Unicorn_Princess(~Unicorn_P@user/Unicorn-Princess/x-3540542) Unicorn_Princess
2025-03-12 10:00:06 +0100stilgart(~Christoph@chezlefab.net) stilgart
2025-03-12 09:57:49 +0100merijn(~merijn@77.242.116.146) merijn
2025-03-12 09:48:53 +0100tusko(uid478376@user/tusko) (Quit: Connection closed for inactivity)
2025-03-12 09:41:24 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 260 seconds)
2025-03-12 09:40:16 +0100__monty__(~toonn@user/toonn) toonn
2025-03-12 09:37:05 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-12 09:31:24 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-03-12 09:31:05 +0100ljdarj(~Thunderbi@user/ljdarj) (Quit: ljdarj)
2025-03-12 09:28:32 +0100gmg(~user@user/gehmehgeh) gehmehgeh
2025-03-12 09:24:40 +0100acidjnk_new(~acidjnk@p200300d6e7283f52ecd38ce1a7966a67.dip0.t-ipconnect.de) acidjnk
2025-03-12 09:22:35 +0100ft(~ft@p508db291.dip0.t-ipconnect.de) (Quit: leaving)
2025-03-12 09:18:58 +0100 <kaol> Not unless I flip it.
2025-03-12 09:14:25 +0100 <ski> or `for'
2025-03-12 09:10:54 +0100sord937(~sord937@gateway/tor-sasl/sord937) sord937
2025-03-12 09:10:35 +0100sord937(~sord937@gateway/tor-sasl/sord937) (Remote host closed the connection)
2025-03-12 09:10:26 +0100 <kaol> I just realized that I can use traverse instead of maybe (pure ()). Much nicer to look at.
2025-03-12 09:06:42 +0100tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
2025-03-12 09:04:37 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2025-03-12 09:03:10 +0100sord937(~sord937@gateway/tor-sasl/sord937) sord937
2025-03-12 08:59:58 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-12 08:58:56 +0100machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod
2025-03-12 08:56:54 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 260 seconds)
2025-03-12 08:56:31 +0100pointlessslippe1(~pointless@62.106.85.17) pointlessslippe1
2025-03-12 08:56:30 +0100chele(~chele@user/chele) chele
2025-03-12 08:52:22 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-12 08:51:46 +0100pointlessslippe1(~pointless@62.106.85.17) (Read error: Connection reset by peer)