2024/04/28

Newest at the top

2024-04-28 10:20:03 +0200Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
2024-04-28 10:19:17 +0200 <tomsmeding> not sure if the API is _exactly_ the same as in the tutorial you found, but at least it's the same idea
2024-04-28 10:18:36 +0200 <famubu> Thanks! Let me try that.
2024-04-28 10:17:22 +0200 <tomsmeding> megaparsec was reorganised to depend on `parser-combinators` where most of the higher-level API comes from
2024-04-28 10:16:59 +0200 <tomsmeding> https://hackage.haskell.org/package/parser-combinators-1.3.0/docs/Control-Monad-Combinators-Expr.h…
2024-04-28 10:16:54 +0200 <famubu> Yeah.. I was wondering what to use in place of it.
2024-04-28 10:16:32 +0200 <tomsmeding> seems to be gone since 6.0.0
2024-04-28 10:16:25 +0200 <famubu> There seems to be no `import Text.Megaparsec.Expr` in the new megaparsec.
2024-04-28 10:13:32 +0200 <famubu> Or maybe I'm not looking at the right place.
2024-04-28 10:13:16 +0200 <famubu> Now I'm trying to find an upto date tutorial for megaparsec. The official one mentions setting up an operator table with `Operator` type, but can't find that type at all in latest megaparsec repo..
2024-04-28 10:12:16 +0200 <famubu> [exa]: Sorry, I just had to add an explicit type annotation. It somehow worked with that.
2024-04-28 10:11:47 +0200rvalue(~rvalue@user/rvalue)
2024-04-28 10:11:17 +0200rvalue(~rvalue@user/rvalue) (Read error: Connection reset by peer)
2024-04-28 10:10:46 +0200Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2024-04-28 10:10:15 +0200xff0x(~xff0x@softbank219059019218.bbtec.net) (Ping timeout: 256 seconds)
2024-04-28 10:02:54 +0200xff0x(~xff0x@softbank219059019218.bbtec.net)
2024-04-28 10:01:35 +0200sawilagar(~sawilagar@user/sawilagar)
2024-04-28 10:00:35 +0200yin(~yin@user/zero)
2024-04-28 09:53:10 +0200_d0t(~{-d0t-}@user/-d0t-/x-7915216) (Ping timeout: 246 seconds)
2024-04-28 09:52:00 +0200peterbecich(~Thunderbi@47.229.123.186) (Ping timeout: 252 seconds)
2024-04-28 09:41:55 +0200yin(~yin@user/zero) (Ping timeout: 268 seconds)
2024-04-28 09:41:32 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-04-28 09:38:56 +0200acidjnk(~acidjnk@p200300d6e714dc79605b18ab3e573168.dip0.t-ipconnect.de)
2024-04-28 09:38:14 +0200gmg(~user@user/gehmehgeh)
2024-04-28 09:35:23 +0200causal(~eric@50.35.88.207) (Quit: WeeChat 4.1.1)
2024-04-28 09:22:17 +0200philopsos(~caecilius@user/philopsos) (Ping timeout: 252 seconds)
2024-04-28 09:21:06 +0200ezzieyguywuf(~Unknown@user/ezzieyguywuf)
2024-04-28 09:20:49 +0200jinsun(~jinsun@user/jinsun) (Read error: Connection reset by peer)
2024-04-28 09:18:18 +0200 <[exa]> (if that's the case, I'd say there is a bytestring-compatible variant of isUpper somewhere)
2024-04-28 09:17:10 +0200 <[exa]> famubu: what is your parser type? might be the case you are using an overly generic satisfy, or that your stream is not directly compatible with Char (might happen if you parse from bytestrings or so)
2024-04-28 09:14:53 +0200ezzieyguywuf(~Unknown@user/ezzieyguywuf) (Ping timeout: 240 seconds)
2024-04-28 09:02:55 +0200tt123109(~tt1231@2603:6010:8700:4a81:219f:50d3:618a:a6ee)
2024-04-28 09:00:03 +0200tt12310(~tt1231@2603:6010:8700:4a81:219f:50d3:618a:a6ee) (Quit: The Lounge - https://thelounge.chat)
2024-04-28 08:41:11 +0200yin(~yin@user/zero)
2024-04-28 08:25:22 +0200 <famubu> Hi. I had been trying to use megaparsec. I was trying use `satisfy` to accept a single upper-case ascii character. So I tried `satisfy Data.Char.isUpper` but that didn't work. The required type mentions `Token`.
2024-04-28 08:24:13 +0200famubu(~julinuser@user/famubu)
2024-04-28 08:22:11 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-04-28 08:14:25 +0200notzmv(~daniel@user/notzmv)
2024-04-28 08:13:23 +0200peterbecich(~Thunderbi@47.229.123.186)
2024-04-28 08:11:59 +0200hammond(proscan@gateway02.insomnia247.nl)
2024-04-28 08:07:59 +0200euphores(~SASL_euph@user/euphores)
2024-04-28 08:07:17 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-04-28 08:06:41 +0200hammond(proscan@user/hammond2) (Read error: Connection reset by peer)
2024-04-28 08:05:17 +0200philopsos(~caecilius@user/philopsos)
2024-04-28 08:05:11 +0200motherfsck(~motherfsc@user/motherfsck)
2024-04-28 07:57:11 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-04-28 07:56:44 +0200tabemann(~tabemann@172-13-49-137.lightspeed.milwwi.sbcglobal.net)
2024-04-28 07:56:31 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 256 seconds)
2024-04-28 07:48:41 +0200tabemann_(~tabemann@2600:1700:7990:24e0:42f1:a891:a658:f99d) (Ping timeout: 272 seconds)
2024-04-28 07:48:35 +0200y04nn(~username@2a03:1b20:8:f011::e10d) (Ping timeout: 256 seconds)