2024/11/18

Newest at the top

2024-11-18 18:48:07 +0100Alleria_(~Alleria@user/alleria) Alleria
2024-11-18 18:47:07 +0100acidjnk_new(~acidjnk@p200300d6e7283f69701fb6560bc0f0be.dip0.t-ipconnect.de) acidjnk
2024-11-18 18:34:15 +0100hellwolf(~user@ce28-37de-4848-1507-0f00-4d40-07d0-2001.sta.estpak.ee) hellwolf
2024-11-18 18:33:55 +0100hellwolf(~user@04ed-dbc2-42ba-2a72-0f00-4d40-07d0-2001.sta.estpak.ee) (Remote host closed the connection)
2024-11-18 18:32:07 +0100alexherbo2(~alexherbo@2a02-8440-3113-e8b3-4dc5-4d20-737c-18a7.rev.sfr.net) (Remote host closed the connection)
2024-11-18 18:28:13 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2024-11-18 18:26:09 +0100shapr(~user@2600:4040:5c49:5600:7905:5c67:d410:b5e3) (Ping timeout: 248 seconds)
2024-11-18 18:25:27 +0100 <zzz> thanks
2024-11-18 18:25:25 +0100 <zzz> i actually prefer not using State in this particular instance
2024-11-18 18:24:59 +0100 <geekosaur> and yes, especially if it's going to be a large tree I'd `fromList` at the end
2024-11-18 18:24:43 +0100Leonard26(~Leonard26@49.236.26.53) (Quit: Client closed)
2024-11-18 18:24:40 +0100 <geekosaur> (but you'd need to inspect Core to find out)
2024-11-18 18:24:09 +0100 <zzz> and then again maybe not. i guess IntMap.fromList can be more performant than IntMap.insert every step
2024-11-18 18:24:04 +0100 <geekosaur> if ghc's doing its thing correctly, the state monad should get optimized down to the manual version
2024-11-18 18:22:33 +0100Alleria(~Alleria@user/alleria) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2024-11-18 18:22:30 +0100 <zzz> i guess i could create a new IntMap and update it each step instead of appending to a linked list and then using IntMap.fromList but other than that
2024-11-18 18:18:49 +0100euleritian(~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de)
2024-11-18 18:14:15 +0100euleritian(~euleritia@77.22.252.159) (Read error: Connection reset by peer)
2024-11-18 18:14:14 +0100Alleria(~Alleria@user/alleria) Alleria
2024-11-18 18:11:16 +0100Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla
2024-11-18 18:10:33 +0100acidjnk_new(~acidjnk@p200300d6e7283f69701fb6560bc0f0be.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
2024-11-18 18:10:11 +0100 <zzz> is there any potencial performance difference between using the State monad and threading manually like this?: https://paste.jrvieira.com/1731949754002
2024-11-18 18:06:04 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-11-18 17:54:14 +0100housemate(~housemate@2a04:9dc0:0:162::5d91:d7ed) housemate
2024-11-18 17:52:49 +0100rachelambda(~rachelamb@cust-95-80-25-71.csbnet.se) rachelambda
2024-11-18 17:52:31 +0100housemate(~housemate@2a04:9dc0:0:162::5d91:d7ed) (Remote host closed the connection)
2024-11-18 17:50:52 +0100L29Ah(~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
2024-11-18 17:49:54 +0100Alleria(~Alleria@user/alleria) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2024-11-18 17:48:48 +0100housemate(~housemate@2a04:9dc0:0:162::5d91:d7ed) housemate
2024-11-18 17:46:42 +0100jespada(~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) jespada
2024-11-18 17:44:46 +0100 <Leonard26> yes, right, sorry I forgot '=D
2024-11-18 17:44:05 +0100 <ncf> well obviously you need to call newFunc from main
2024-11-18 17:43:23 +0100jespada_(~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Read error: Connection reset by peer)
2024-11-18 17:41:51 +0100jespada_(~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) jespada
2024-11-18 17:40:33 +0100 <Leonard26> You mean like so? https://paste.tomsmeding.com/5unyMRGn
2024-11-18 17:39:47 +0100jespada(~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Read error: Connection reset by peer)
2024-11-18 17:37:36 +0100 <ncf> pass var as an argument
2024-11-18 17:37:35 +0100alp(~alp@2001:861:e3d6:8f80:568b:9761:243e:95b5)
2024-11-18 17:35:29 +0100 <Leonard26> Like so https://paste.tomsmeding.com/IyjbMmtV
2024-11-18 17:35:29 +0100 <Leonard26> I was asking myself if given the following line `var <- newTVarIO (1 :: Int)` one could then use it in a different function outside of main?
2024-11-18 17:35:28 +0100 <Leonard26> I am trying to follow the tutorial/blog on ReaderT https://tech.fpcomplete.com/blog/2017/06/readert-design-pattern/
2024-11-18 17:35:28 +0100 <Leonard26> Hello! =D How are you?
2024-11-18 17:35:20 +0100berberman(~berberman@user/berberman) berberman
2024-11-18 17:34:21 +0100killerstorm(~killersto@224.225.60.94.rev.vodafone.pt)
2024-11-18 17:33:15 +0100berberman(~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
2024-11-18 17:32:13 +0100Alleria(~Alleria@user/alleria) Alleria
2024-11-18 17:29:17 +0100mari-estel(~mari-este@user/mari-estel) (Remote host closed the connection)
2024-11-18 17:29:16 +0100housemate(~housemate@2a04:9dc0:0:162::5d91:d7ed) (Ping timeout: 244 seconds)
2024-11-18 17:27:33 +0100euleritian(~euleritia@77.22.252.159)
2024-11-18 17:27:16 +0100euleritian(~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de) (Remote host closed the connection)