Newest at the top
2024-11-18 18:28:13 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2024-11-18 18:26:09 +0100 | shapr | (~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 +0100 | Leonard26 | (~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 +0100 | Alleria | (~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 +0100 | euleritian | (~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de) |
2024-11-18 18:14:15 +0100 | euleritian | (~euleritia@77.22.252.159) (Read error: Connection reset by peer) |
2024-11-18 18:14:14 +0100 | Alleria | (~Alleria@user/alleria) Alleria |
2024-11-18 18:11:16 +0100 | Tuplanolla | (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla |
2024-11-18 18:10:33 +0100 | acidjnk_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 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-11-18 17:54:14 +0100 | housemate | (~housemate@2a04:9dc0:0:162::5d91:d7ed) housemate |
2024-11-18 17:52:49 +0100 | rachelambda | (~rachelamb@cust-95-80-25-71.csbnet.se) rachelambda |
2024-11-18 17:52:31 +0100 | housemate | (~housemate@2a04:9dc0:0:162::5d91:d7ed) (Remote host closed the connection) |
2024-11-18 17:50:52 +0100 | L29Ah | (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
2024-11-18 17:49:54 +0100 | Alleria | (~Alleria@user/alleria) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2024-11-18 17:48:48 +0100 | housemate | (~housemate@2a04:9dc0:0:162::5d91:d7ed) housemate |
2024-11-18 17:46:42 +0100 | jespada | (~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 +0100 | jespada_ | (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Read error: Connection reset by peer) |
2024-11-18 17:41:51 +0100 | jespada_ | (~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 +0100 | jespada | (~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 +0100 | alp | (~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 +0100 | berberman | (~berberman@user/berberman) berberman |
2024-11-18 17:34:21 +0100 | killerstorm | (~killersto@224.225.60.94.rev.vodafone.pt) |
2024-11-18 17:33:15 +0100 | berberman | (~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in) |
2024-11-18 17:32:13 +0100 | Alleria | (~Alleria@user/alleria) Alleria |
2024-11-18 17:29:17 +0100 | mari-estel | (~mari-este@user/mari-estel) (Remote host closed the connection) |
2024-11-18 17:29:16 +0100 | housemate | (~housemate@2a04:9dc0:0:162::5d91:d7ed) (Ping timeout: 244 seconds) |
2024-11-18 17:27:33 +0100 | euleritian | (~euleritia@77.22.252.159) |
2024-11-18 17:27:16 +0100 | euleritian | (~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de) (Remote host closed the connection) |
2024-11-18 17:26:54 +0100 | Leonard26 | (~Leonard26@49.236.26.53) |
2024-11-18 17:25:30 +0100 | Alleria | (~Alleria@user/alleria) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2024-11-18 17:22:52 +0100 | housemate | (~housemate@2a04:9dc0:0:162::5d91:d7ed) housemate |
2024-11-18 17:21:43 +0100 | housemate | (~housemate@2a04:9dc0:0:162::5d91:d7ed) (Client Quit) |
2024-11-18 17:21:31 +0100 | son0p | (~ff@2800:e6:4001:6cc3:2748:5c2a:65d9:57ac) son0p |