Newest at the top
2024-04-19 17:29:39 +0200 | __monty__ | (~toonn@user/toonn) |
2024-04-19 17:26:40 +0200 | Lycurgus | (~georg@user/Lycurgus) (Quit: leaving) |
2024-04-19 17:22:05 +0200 | paddymahoney | (~paddymaho@pool-99-250-26-190.cpe.net.cable.rogers.com) (Ping timeout: 268 seconds) |
2024-04-19 17:18:52 +0200 | raehik | (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) |
2024-04-19 17:16:31 +0200 | Arsen | (~arsen@gentoo/developer/managarm.dev.Arsen) (Ping timeout: 260 seconds) |
2024-04-19 17:16:05 +0200 | paddymahoney | (~paddymaho@pool-99-250-26-190.cpe.net.cable.rogers.com) |
2024-04-19 17:14:04 +0200 | lg188 | (~lg188@82.18.98.230) (Ping timeout: 268 seconds) |
2024-04-19 17:13:14 +0200 | destituion | (~destituio@2a02:2121:340:2456:c597:f836:b4a7:e541) |
2024-04-19 17:10:43 +0200 | <Lycurgus> | sry wrng room |
2024-04-19 17:10:31 +0200 | <Lycurgus> | https://en.wikipedia.org/wiki/Political_posturing |
2024-04-19 17:09:05 +0200 | <EvanR> | time ->, also known as dependency injection monad |
2024-04-19 17:07:24 +0200 | tzh | (~tzh@c-73-164-206-160.hsd1.or.comcast.net) |
2024-04-19 17:05:23 +0200 | destituion | (~destituio@85.221.111.174) (Ping timeout: 264 seconds) |
2024-04-19 17:00:32 +0200 | aforemny | (~aforemny@i59F516F6.versanet.de) |
2024-04-19 16:58:04 +0200 | aforemny_ | (~aforemny@2001:9e8:6cf2:f800:c4e9:a677:636b:7412) (Ping timeout: 260 seconds) |
2024-04-19 16:53:57 +0200 | <kuribas> | Although sometimes injecting a function for testing can be useful, but in this case I don't even need a typeclass, I could just pass a function. |
2024-04-19 16:52:07 +0200 | danse-nr3 | (~danse-nr3@151.57.127.227) |
2024-04-19 16:51:56 +0200 | danse-nr3 | (~danse-nr3@151.47.118.224) (Read error: Connection reset by peer) |
2024-04-19 16:51:01 +0200 | gmg | (~user@user/gehmehgeh) |
2024-04-19 16:50:04 +0200 | gmg | (~user@user/gehmehgeh) (Remote host closed the connection) |
2024-04-19 16:49:56 +0200 | <kuribas> | I like the handle pattern: https://jaspervdj.be/posts/2018-03-08-handle-pattern.html |
2024-04-19 16:49:44 +0200 | chele | (~chele@user/chele) (Remote host closed the connection) |
2024-04-19 16:49:20 +0200 | <kuribas> | So a pure function (Time -> ...), then I get the current time in IO, and pass it later. |
2024-04-19 16:48:39 +0200 | lg188 | (~lg188@82.18.98.230) |
2024-04-19 16:47:45 +0200 | <kuribas> | For me, separating pure logic from side-effects should be enough. |
2024-04-19 16:47:40 +0200 | lg188 | (~lg188@82.18.98.230) (Quit: Bye.) |
2024-04-19 16:47:26 +0200 | <kuribas> | mcksp: I am personally not a big fan of abstracting effects like in Layer 2, which is a form of dependency injection. |
2024-04-19 16:42:25 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-04-19 16:37:11 +0200 | lg188 | (~lg188@82.18.98.230) |
2024-04-19 16:35:56 +0200 | <mcksp> | Or three cake layer Haskell is sooo 2018 and I should jump to ...? |
2024-04-19 16:35:55 +0200 | <mcksp> | My question: did I get that right? What did I gain from it, I need to write 2 times more code so at the end it looks exactly the same? |
2024-04-19 16:35:55 +0200 | <mcksp> | I created a little snippet so it will be easier to read: https://gist.github.com/mcksp/dd26688ba141c9d2a1771f8803952ad3 |
2024-04-19 16:35:54 +0200 | <mcksp> | Hi, I try to understand three layer Haskell. https://www.parsonsmatt.org/2018/03/22/three_layer_haskell_cake.html |
2024-04-19 16:33:36 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-04-19 16:21:40 +0200 | ft | (~ft@p4fc2a20e.dip0.t-ipconnect.de) |
2024-04-19 16:18:16 +0200 | gmg | (~user@user/gehmehgeh) |
2024-04-19 16:17:07 +0200 | gmg | (~user@user/gehmehgeh) (Remote host closed the connection) |
2024-04-19 16:16:13 +0200 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
2024-04-19 16:13:47 +0200 | raehik | (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 264 seconds) |
2024-04-19 16:00:05 +0200 | paddymahoney | (~paddymaho@pool-99-250-26-190.cpe.net.cable.rogers.com) (Ping timeout: 256 seconds) |
2024-04-19 15:50:52 +0200 | Sgeo | (~Sgeo@user/sgeo) |
2024-04-19 15:44:40 +0200 | paddymahoney | (~paddymaho@pool-99-250-26-190.cpe.net.cable.rogers.com) |
2024-04-19 15:43:42 +0200 | dolio | (~dolio@130.44.134.54) |
2024-04-19 15:42:55 +0200 | kuribas | (~user@ip-188-118-57-242.reverse.destiny.be) |
2024-04-19 15:34:18 +0200 | mcksp | (~mcksp@host2.98.gci-net.pl) |
2024-04-19 15:31:52 +0200 | dolio | (~dolio@130.44.134.54) (Quit: ZNC 1.8.2 - https://znc.in) |
2024-04-19 15:27:54 +0200 | rvalue | (~rvalue@user/rvalue) |
2024-04-19 15:27:25 +0200 | rvalue | (~rvalue@user/rvalue) (Read error: Connection reset by peer) |
2024-04-19 15:26:53 +0200 | tri | (~tri@ool-18bc2e74.dyn.optonline.net) |
2024-04-19 15:25:41 +0200 | Lycurgus | (~georg@user/Lycurgus) |