2025/02/25

Newest at the top

2025-02-26 00:05:52 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-02-26 00:05:03 +0100 <tomsmeding> of course you technically can just start a new parser for that string, and you can also `setInput`, but typically both are a bad idea
2025-02-26 00:04:22 +0100 <hololeap> I see
2025-02-26 00:03:56 +0100 <tomsmeding> you can't "re-inject" some arbitrary string into the source to be parsed
2025-02-26 00:03:13 +0100ljdarj1ljdarj
2025-02-26 00:03:13 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 248 seconds)
2025-02-26 00:03:04 +0100 <tomsmeding> also, while you can process the result of parsing later using (>>=), parsec always parses _from_ the input string
2025-02-26 00:02:55 +0100 <hololeap> right, s/anyChar/(many anyChar)/
2025-02-26 00:02:28 +0100 <tomsmeding> anyChar parses _one_ character
2025-02-26 00:02:18 +0100 <hololeap> hm, you would think with Parsec being a monad, it could be done with: sepBy anyChar (char ',') >>= mapM (...)
2025-02-26 00:01:26 +0100ljdarj1(~Thunderbi@user/ljdarj) ljdarj
2025-02-26 00:01:24 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-26 00:00:53 +0100 <tomsmeding> hololeap: sepBy ((,) <$> manyTill (char ':') <*> manyTill (lookAhead (oneOf ":," <|> eof))) (char ',') ?
2025-02-25 23:59:32 +0100 <hololeap> and I'm not sure how to then split the substrings on (char ':')
2025-02-25 23:59:12 +0100 <hololeap> I started with: sepBy anyChar (char ',')
2025-02-25 23:58:49 +0100 <hololeap> I'm trying to parse a string with parsec that looks like "this:that,black:white" into [(String,String)]
2025-02-25 23:56:19 +0100foul_owl(~kerry@94.156.149.92) (Ping timeout: 260 seconds)
2025-02-25 23:53:46 +0100j1n37(~j1n37@user/j1n37) (Ping timeout: 252 seconds)
2025-02-25 23:52:37 +0100j1n37-(~j1n37@user/j1n37) j1n37
2025-02-25 23:50:57 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
2025-02-25 23:46:02 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-25 23:40:34 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 260 seconds)
2025-02-25 23:36:08 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-25 23:35:04 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-02-25 23:33:24 +0100lxsameer(~lxsameer@Serene/lxsameer) (Ping timeout: 272 seconds)
2025-02-25 23:30:39 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-25 23:21:06 +0100tromp(~textual@2a02:a210:cba:8500:b949:287e:6bbd:873b) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-02-25 23:19:40 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-02-25 23:16:59 +0100target_i(~target_i@user/target-i/x-6023099) (Quit: leaving)
2025-02-25 23:16:32 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-02-25 23:15:54 +0100tabaqui1(~root@87.200.129.102) (Ping timeout: 260 seconds)
2025-02-25 23:14:54 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-25 23:09:44 +0100tromp(~textual@2a02:a210:cba:8500:b949:287e:6bbd:873b)
2025-02-25 23:07:42 +0100tromp(~textual@2a02:a210:cba:8500:b949:287e:6bbd:873b) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-02-25 23:03:29 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2025-02-25 23:03:28 +0100Unicorn_Princess(~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
2025-02-25 23:00:38 +0100tabaqui1(~root@87.200.129.102) tabaqui
2025-02-25 22:56:53 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-25 22:55:33 +0100weary-traveler(~user@user/user363627) user363627
2025-02-25 22:52:53 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 252 seconds)
2025-02-25 22:48:45 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-25 22:45:56 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-02-25 22:44:37 +0100tromp(~textual@2a02:a210:cba:8500:b949:287e:6bbd:873b)
2025-02-25 22:43:13 +0100tromp(~textual@2a02:a210:cba:8500:b949:287e:6bbd:873b) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-02-25 22:41:30 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-25 22:35:23 +0100wootehfoot(~wootehfoo@user/wootehfoot) (Quit: Leaving)
2025-02-25 22:35:01 +0100 <geekosaur> yes, but I also differentiate between lower-latency/lower-retention (even with history, how far back are you willing to scroll?) venues and higher-overhead/ … that
2025-02-25 22:34:52 +0100 <haskellbridge> <sm> Then again irc and forums are so distinct there’s no real harm
2025-02-25 22:33:29 +0100 <haskellbridge> <sm> For a non-urgent support request I’ll usually at least wait a little before trying another channel
2025-02-25 22:33:24 +0100ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Client Quit)