Newest at the top
2025-02-05 09:50:58 +0100 | tomboy64 | (~tomboy64@user/tomboy64) (Ping timeout: 252 seconds) |
2025-02-05 09:50:49 +0100 | mniip_ | (mniip@libera/staff/mniip) mniip |
2025-02-05 09:50:36 +0100 | leah2 | (~leah@vuxu.org) (Ping timeout: 252 seconds) |
2025-02-05 09:49:41 +0100 | Cylian | (~Cylian@user/Cylian) Cylian |
2025-02-05 09:49:09 +0100 | Cylian | (~Cylian@user/Cylian) (Quit: Client closed) |
2025-02-05 09:44:31 +0100 | merijn | (~merijn@77.242.116.146) merijn |
2025-02-05 09:41:19 +0100 | emmanuelux | (~emmanuelu@user/emmanuelux) (Quit: au revoir) |
2025-02-05 09:37:50 +0100 | CiaoSen | (~Jura@2a05:5800:236:d500:ca4b:d6ff:fec1:99da) (Ping timeout: 272 seconds) |
2025-02-05 09:37:41 +0100 | dhil | (~dhil@2a0c:b381:588:5f00:c91a:d29a:b98a:5647) dhil |
2025-02-05 09:37:03 +0100 | <Cylian> | monochrom Thank you :) |
2025-02-05 09:34:59 +0100 | ByronJohnson | (~bairyn@MAIL.DIGITALKINGDOM.ORG) ByronJohnson |
2025-02-05 09:30:54 +0100 | acidjnk_new3 | (~acidjnk@p200300d6e7283f01d9acb33bf68493bd.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
2025-02-05 09:28:09 +0100 | Cylian | (~Cylian@user/Cylian) Cylian |
2025-02-05 09:28:09 +0100 | Cylian | (~Cylian@42.105.142.200) (Changing host) |
2025-02-05 09:28:00 +0100 | otto_s | (~user@p4ff27d71.dip0.t-ipconnect.de) (Ping timeout: 276 seconds) |
2025-02-05 09:27:42 +0100 | ByronJohnson | (~bairyn@MAIL.DIGITALKINGDOM.ORG) (Ping timeout: 244 seconds) |
2025-02-05 09:20:57 +0100 | Raito_Bezarius | (~Raito@wireguard/tunneler/raito-bezarius) Raito_Bezarius |
2025-02-05 09:20:40 +0100 | AkechiShiro | (~licht@user/akechishiro) AkechiShiro |
2025-02-05 09:20:23 +0100 | Raito_Bezarius | (~Raito@wireguard/tunneler/raito-bezarius) (Ping timeout: 245 seconds) |
2025-02-05 09:20:07 +0100 | AkechiShiro | (~licht@user/akechishiro) (Ping timeout: 265 seconds) |
2025-02-05 09:19:33 +0100 | sord937 | (~sord937@gateway/tor-sasl/sord937) sord937 |
2025-02-05 09:17:31 +0100 | <monochrom> | PM nickserv. You can get starters by PM'ing it "help" |
2025-02-05 09:16:52 +0100 | <Cylian> | How can register my nickname? |
2025-02-05 09:16:40 +0100 | chiselfuse | (~chiselfus@user/chiselfuse) chiselfuse |
2025-02-05 09:15:44 +0100 | <[exa]> | :( |
2025-02-05 09:15:40 +0100 | <lambdabot> | • Perhaps you meant one of these: |
2025-02-05 09:15:40 +0100 | <lambdabot> | • Variable not in scope: takeWhileM |
2025-02-05 09:15:40 +0100 | <lambdabot> | error: |
2025-02-05 09:15:40 +0100 | <[exa]> | :t takeWhileM |
2025-02-05 09:15:12 +0100 | chiselfuse | (~chiselfus@user/chiselfuse) (Ping timeout: 264 seconds) |
2025-02-05 09:15:08 +0100 | <monochrom> | Then you pose the real question. |
2025-02-05 09:15:04 +0100 | <albet70> | how you takeWhile on IO a |
2025-02-05 09:14:53 +0100 | ljdarj | (~Thunderbi@user/ljdarj) ljdarj |
2025-02-05 09:14:44 +0100 | <albet70> | what if that traverse f , and that f is IO stuff |
2025-02-05 09:14:23 +0100 | Cylian | (~Cylian@42.105.142.200) |
2025-02-05 09:14:22 +0100 | cyphase | (~cyphase@user/cyphase) cyphase |
2025-02-05 09:13:42 +0100 | <int-e> | That doesn't work. |
2025-02-05 09:13:34 +0100 | <int-e> | It makes no sense, you're only producing overcomplicated code. |
2025-02-05 09:13:15 +0100 | <int-e> | You have laziness, why are you so obsessed with early returns? |
2025-02-05 09:12:51 +0100 | <monochrom> | takeWhile |
2025-02-05 09:12:44 +0100 | <albet70> | then how you do early return |
2025-02-05 09:12:40 +0100 | <lambdabot> | [Maybe a] -> [a] |
2025-02-05 09:12:39 +0100 | <int-e> | :t catMaybes . takeWhile isJust |
2025-02-05 09:12:24 +0100 | <monochrom> | What Nothing? Just don't use Nothing. |
2025-02-05 09:12:11 +0100 | <albet70> | what if that lambda inside traverse is passing by outside somewhere, you don't know 0 will produce Nothing |
2025-02-05 09:12:06 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 252 seconds) |
2025-02-05 09:11:28 +0100 | <albet70> | what if you don't know what value will produce Nothing, then how you takeWhile? |
2025-02-05 09:10:45 +0100 | <monochrom> | I would go for takeWhile too, then a vanilla map will nicely finish the rest. |
2025-02-05 09:09:54 +0100 | <lambdabot> | [1.0,0.5,0.3333333333333333] |
2025-02-05 09:09:53 +0100 | <int-e> | > map recip . takeWhile (/= 0) $ [1,2,3,0,4] |