2025/03/21

Newest at the top

2025-03-21 08:09:48 +0100wildsalander(~wildsalan@81-175-155-97.bb.dnainternet.fi) (Quit: wildsalander)
2025-03-21 08:09:04 +0100euleritian(~euleritia@ip5f5ad695.dynamic.kabel-deutschland.de)
2025-03-21 08:08:43 +0100ft(~ft@p508db463.dip0.t-ipconnect.de) (Quit: leaving)
2025-03-21 08:08:27 +0100euleritian(~euleritia@ip5f5ad695.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
2025-03-21 08:07:51 +0100 <haskellbridge> <Liamzee> that's also a monad transformer
2025-03-21 08:07:38 +0100 <haskellbridge> <Liamzee> since it's a builder function
2025-03-21 08:07:27 +0100 <haskellbridge> <Liamzee> With Lucid I suspect it might be better to burn the HTML down to a bytestring first
2025-03-21 08:06:13 +0100 <haskellbridge> <Liamzee> thanks, but the term has confusion with the typeclass
2025-03-21 08:05:17 +0100 <Axman6> I think CAF, constant applicative form, is a useful thing to search for, but my memory's rusty
2025-03-21 08:04:58 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 245 seconds)
2025-03-21 08:04:47 +0100 <haskellbridge> <Liamzee> thanks, couldn't find an answer on Google
2025-03-21 08:04:33 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-21 08:03:09 +0100ash3en(~Thunderbi@89.56.182.235) (Client Quit)
2025-03-21 08:02:53 +0100kh0d(~kh0d@212.200.65.86) (Ping timeout: 245 seconds)
2025-03-21 08:02:19 +0100 <Axman6> if it has a generic type, it might also not be cached
2025-03-21 08:02:02 +0100 <Axman6> top level values are generally only evaluated once, just like all named things in Haskell. There are caveats to that though, if it's a function I can't remember what happens
2025-03-21 08:00:56 +0100caconym(~caconym@user/caconym) caconym
2025-03-21 08:00:46 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-21 08:00:01 +0100caconym(~caconym@user/caconym) (Quit: bye)
2025-03-21 07:58:41 +0100ash3en(~Thunderbi@89.56.182.235) ash3en
2025-03-21 07:56:55 +0100kh0d(~kh0d@212.200.65.86) kh0d
2025-03-21 07:55:48 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
2025-03-21 07:54:35 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-03-21 07:52:00 +0100Inst(~Inst@user/Inst) (Remote host closed the connection)
2025-03-21 07:50:54 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-21 07:49:50 +0100Inst(~Inst@user/Inst) Inst
2025-03-21 07:49:29 +0100synchromesh(~john@2406:5a00:24cf:bb00:19d8:9179:8622:bdf3) synchromesh
2025-03-21 07:48:29 +0100synchromesh(~john@2406:5a00:24cf:bb00:19d8:9179:8622:bdf3) (Read error: Connection reset by peer)
2025-03-21 07:47:24 +0100Inst(~Inst@user/Inst) (Remote host closed the connection)
2025-03-21 07:45:14 +0100 <Inst> Every time the page is served, is the top-level definition re-evaluated? Or would it be more efficient to freeze it with IORef, then pass the IORef to the route handler as an argument, with the route handler being in MonadIO?
2025-03-21 07:44:00 +0100 <Inst> Let's say, I'm using a web framework. I define a webpage under Lucid, Lucid2, or Blaze on the top-level.
2025-03-21 07:43:47 +0100acidjnk(~acidjnk@p200300d6e71c4f937555fc5a67c80b19.dip0.t-ipconnect.de) acidjnk
2025-03-21 07:43:25 +0100 <Inst> curious, do you need to use IORef (or relatives) to cache top-level data?
2025-03-21 07:43:10 +0100Inst(~Inst@user/Inst) Inst
2025-03-21 07:40:03 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-03-21 07:35:07 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-21 07:24:46 +0100kh0d(~kh0d@212.200.65.86) (Ping timeout: 265 seconds)
2025-03-21 07:24:39 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
2025-03-21 07:19:26 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 244 seconds)
2025-03-21 07:19:20 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-21 07:18:04 +0100kh0d(~kh0d@212.200.65.86)
2025-03-21 07:15:21 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-21 07:09:33 +0100takuan(~takuan@d8D86B601.access.telenet.be)
2025-03-21 07:08:56 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds)
2025-03-21 07:03:32 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-21 07:00:20 +0100dolio(~dolio@130.44.140.168) (Quit: ZNC 1.9.1 - https://znc.in)
2025-03-21 06:58:22 +0100poscat(~poscat@user/poscat) poscat
2025-03-21 06:56:04 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
2025-03-21 06:56:00 +0100poscat(~poscat@user/poscat) (Quit: Bye)
2025-03-21 06:54:25 +0100dolio(~dolio@130.44.140.168) dolio