2025/01/07

Newest at the top

2025-01-07 21:02:58 +0100ljdarj1(~Thunderbi@user/ljdarj) ljdarj
2025-01-07 21:00:43 +0100caconym(~caconym@user/caconym) caconym
2025-01-07 21:00:04 +0100caconym(~caconym@user/caconym) (Quit: bye)
2025-01-07 20:55:09 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
2025-01-07 20:51:54 +0100gorignak(~gorignak@user/gorignak) (Ping timeout: 276 seconds)
2025-01-07 20:51:38 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-01-07 20:50:31 +0100prasad(~Thunderbi@c-73-75-25-251.hsd1.in.comcast.net) (Ping timeout: 264 seconds)
2025-01-07 20:49:55 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-07 20:49:25 +0100weary-traveler(~user@user/user363627) user363627
2025-01-07 20:49:22 +0100gmg(~user@user/gehmehgeh) gehmehgeh
2025-01-07 20:49:17 +0100chiselfuse(~chiselfus@user/chiselfuse) chiselfuse
2025-01-07 20:49:13 +0100stiell(~stiell@gateway/tor-sasl/stiell) stiell
2025-01-07 20:49:07 +0100califax(~califax@user/califx) califx
2025-01-07 20:49:04 +0100sord937(~sord937@gateway/tor-sasl/sord937) sord937
2025-01-07 20:48:55 +0100chexum(~quassel@gateway/tor-sasl/chexum) chexum
2025-01-07 20:48:49 +0100stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2025-01-07 20:48:41 +0100gmg(~user@user/gehmehgeh) (Read error: Connection reset by peer)
2025-01-07 20:48:41 +0100sord937(~sord937@gateway/tor-sasl/sord937) (Read error: Connection reset by peer)
2025-01-07 20:48:41 +0100chiselfuse(~chiselfus@user/chiselfuse) (Read error: Connection reset by peer)
2025-01-07 20:48:41 +0100chexum(~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
2025-01-07 20:48:38 +0100sprotte24(~sprotte24@p200300d16f116c002c29764fca4182ef.dip0.t-ipconnect.de)
2025-01-07 20:48:37 +0100califax(~califax@user/califx) (Remote host closed the connection)
2025-01-07 20:41:42 +0100Baltazar65(~Baltazar@79-101-207-3.dynamic.isp.telekom.rs)
2025-01-07 20:40:17 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-01-07 20:39:34 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
2025-01-07 20:39:01 +0100 <int-e> (I guess reader, state, and writer are bad examples in that the newtypes are ad-hoc.)
2025-01-07 20:37:57 +0100 <int-e> s/of this/for this/
2025-01-07 20:37:45 +0100 <int-e> I mean, the mtl has a pattern of this: Define a type class for the DSL functions, then define a newtype that's either ad-hoc or wraps a stack of existing transformers (adding state etc. as needed), and then implement the type class for that particular newtype.
2025-01-07 20:36:40 +0100gorignak(~gorignak@user/gorignak) gorignak
2025-01-07 20:36:24 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-01-07 20:36:05 +0100gorignak(~gorignak@user/gorignak) (Quit: quit)
2025-01-07 20:35:38 +0100ethantwardy(user@user/ethantwardy) (Quit: WeeChat 4.4.2)
2025-01-07 20:35:32 +0100 <Square> i guess my problem is creating a monad for my DSL really.
2025-01-07 20:34:33 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-07 20:34:20 +0100 <Square> int-e, all good. Thanks for trying.
2025-01-07 20:33:42 +0100xdminsy(~xdminsy@117.147.71.200) xdminsy
2025-01-07 20:33:29 +0100 <int-e> (I'm skimming at best; not going to read the whole article, sorry)
2025-01-07 20:33:01 +0100 <int-e> and WriterT etc.?
2025-01-07 20:32:50 +0100 <int-e> so... how does mtl implement ReaderT?
2025-01-07 20:32:41 +0100xdminsy(~xdminsy@117.147.71.200) (Read error: Connection reset by peer)
2025-01-07 20:30:52 +0100 <Square> author*
2025-01-07 20:30:36 +0100 <Square> int-e, I assume that is an answer on how I'd achieve Reader/Writer combined? My question was really how you, like the auther claims is possible, can create a Monad (using "some newtype wrappers") for the type of DSLs he describes in the article.
2025-01-07 20:28:13 +0100yushyin(~yushyin@mail.karif.server-speed.net) yushyin
2025-01-07 20:28:12 +0100s4msung(~s4msung@user/s4msung) s4msung
2025-01-07 20:28:07 +0100noctuks(mBZ68nSsKe@user/noctux) noctux
2025-01-07 20:27:31 +0100yushyin(POR894Vlok@mail.karif.server-speed.net) (Quit: WeeChat 4.4.3)
2025-01-07 20:27:31 +0100s4msung(4RaMuLb90c@user/s4msung) (Quit: s4msung)
2025-01-07 20:27:31 +0100noctuks(bEhVax6CGd@user/noctux) (Quit: WeeChat 4.4.3)
2025-01-07 20:26:43 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 252 seconds)
2025-01-07 20:26:39 +0100homo(~homo@user/homo) (Quit: Leaving)