Newest at the top
2025-05-16 18:03:33 +0200 | mistivia | (~mistivia@user/mistivia) mistivia |
2025-05-16 18:03:32 +0200 | <ski> | wbrawner : you will need `fetchHTML :: String -> IO String' (can't "escape I/O") |
2025-05-16 18:02:55 +0200 | sajenim | (~sajenim@user/sajenim) (Ping timeout: 252 seconds) |
2025-05-16 18:02:25 +0200 | mistivia | (~mistivia@user/mistivia) (Ping timeout: 248 seconds) |
2025-05-16 18:01:33 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-05-16 18:01:07 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-05-16 17:56:15 +0200 | __monty__ | (~toonn@user/toonn) toonn |
2025-05-16 17:55:27 +0200 | <wbrawner> | (I also know I should probably be returning a Maybe String to handle errors, haven't gotten that far yet) |
2025-05-16 17:53:31 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds) |
2025-05-16 17:53:25 +0200 | lortabac | (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 248 seconds) |
2025-05-16 17:53:10 +0200 | <wbrawner> | I guess my message was too long, here's the URL again: https://paste.wbrawner.com/upload/falcon-zebra-goose |
2025-05-16 17:52:54 +0200 | <wbrawner> | n-zebra-goose |
2025-05-16 17:52:54 +0200 | <wbrawner> | Hi all, haskell noob here. I'm trying to write a function that will fetch the HTML for a given URL. Something along the lines of fetchHTML :: String -> String, but I know that won't work since I'll be making an HTTP request, which would make the function impure. How can I type this so that I'm able to just take in a string, perform an IO action, then return a string? My WIP code is here: https://paste.wbrawner.com/upload/falco |
2025-05-16 17:50:35 +0200 | JuanDaugherty | (~juan@user/JuanDaugherty) JuanDaugherty |
2025-05-16 17:40:21 +0200 | pointlessslippe1 | (~pointless@62.106.85.17) pointlessslippe1 |
2025-05-16 17:37:00 +0200 | tromp | (~textual@2001:1c00:3487:1b00:a44a:50e6:3df5:3b66) |
2025-05-16 17:35:17 +0200 | acidjnk | (~acidjnk@p200300d6e71c4f4171b486f1d120a7f7.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
2025-05-16 17:33:16 +0200 | pointlessslippe1 | (~pointless@62.106.85.17) (Read error: Connection reset by peer) |
2025-05-16 17:32:53 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-56.bstnma.fios.verizon.net) |
2025-05-16 17:24:54 +0200 | fp | (~Thunderbi@2001:708:150:10::1d80) fp |
2025-05-16 17:24:20 +0200 | gorignak | (~gorignak@user/gorignak) gorignak |
2025-05-16 17:23:33 +0200 | gorignak | (~gorignak@user/gorignak) (Read error: Connection reset by peer) |
2025-05-16 17:23:23 +0200 | fp | (~Thunderbi@2001:708:20:1406::1370) (Ping timeout: 268 seconds) |
2025-05-16 17:23:00 +0200 | tromp | (~textual@2001:1c00:3487:1b00:a44a:50e6:3df5:3b66) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2025-05-16 17:22:06 +0200 | Tuplanolla | (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla |
2025-05-16 17:14:58 +0200 | pointlessslippe1 | (~pointless@62.106.85.17) pointlessslippe1 |
2025-05-16 17:13:34 +0200 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) ezzieyguywuf |
2025-05-16 17:12:00 +0200 | pointlessslippe1 | (~pointless@62.106.85.17) (Read error: Connection reset by peer) |
2025-05-16 17:06:54 +0200 | Guest86 | (~Guest0@175.176.24.130) (Quit: Client closed) |
2025-05-16 17:05:56 +0200 | zmt00 | (~zmt00@user/zmt00) zmt00 |
2025-05-16 17:03:44 +0200 | philopsos | (~caecilius@user/philopsos) philopsos |
2025-05-16 17:03:24 +0200 | chele | (~chele@user/chele) (Remote host closed the connection) |
2025-05-16 16:57:58 +0200 | Guest86 | (~Guest0@175.176.24.130) |
2025-05-16 16:54:51 +0200 | mistivia | (~mistivia@user/mistivia) mistivia |
2025-05-16 16:54:50 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-05-16 16:54:29 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-05-16 16:53:29 +0200 | mistivia | (~mistivia@user/mistivia) (Quit: ZNC 1.9.1 - https://znc.in) |
2025-05-16 16:52:08 +0200 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) (Remote host closed the connection) |
2025-05-16 16:51:17 +0200 | Square2 | (~Square@user/square) (Ping timeout: 252 seconds) |
2025-05-16 16:49:37 +0200 | jmcantrell | (~weechat@user/jmcantrell) jmcantrell |
2025-05-16 16:46:44 +0200 | tromp | (~textual@2001:1c00:3487:1b00:a44a:50e6:3df5:3b66) |
2025-05-16 16:44:11 +0200 | ft_ | ft |
2025-05-16 16:41:02 +0200 | Sgeo | (~Sgeo@user/sgeo) Sgeo |
2025-05-16 16:30:58 +0200 | CiaoSen | (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 276 seconds) |
2025-05-16 16:20:03 +0200 | JuanDaugherty | (~juan@user/JuanDaugherty) (Quit: praxis.meansofproduction.biz (juan@acm.org)) |
2025-05-16 16:16:30 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-05-16 16:16:07 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-05-16 16:07:27 +0200 | JuanDaugherty | (~juan@user/JuanDaugherty) JuanDaugherty |
2025-05-16 16:03:06 +0200 | Square | (~Square4@user/square) (Ping timeout: 276 seconds) |
2025-05-16 16:02:24 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |