Logs: liberachat/#haskell
| 2021-06-15 13:57:40 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
| 2021-06-15 13:58:43 | × | sekun quits (~sekun@180.190.156.133) (Ping timeout: 272 seconds) |
| 2021-06-15 13:59:06 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 2021-06-15 13:59:18 | → | ddellacosta joins (~ddellacos@89.45.224.112) |
| 2021-06-15 13:59:42 | → | aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 2021-06-15 14:00:12 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
| 2021-06-15 14:00:45 | → | egoist joins (~egoist@186.235.82.46) |
| 2021-06-15 14:00:54 | → | aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 2021-06-15 14:01:14 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2021-06-15 14:02:44 | × | dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 265 seconds) |
| 2021-06-15 14:03:57 | → | fluffyballoon joins (~fluffybal@2620:72:0:6480::10f7) |
| 2021-06-15 14:04:11 | × | ddellacosta quits (~ddellacos@89.45.224.112) (Ping timeout: 265 seconds) |
| 2021-06-15 14:04:12 | × | raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 3.1) |
| 2021-06-15 14:04:31 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 2021-06-15 14:04:55 | × | egoist quits (~egoist@186.235.82.46) (Client Quit) |
| 2021-06-15 14:05:08 | → | egoist joins (~egoist@186.235.82.46) |
| 2021-06-15 14:05:37 | → | etherington joins (~nagybogo@2a02:c7f:d425:9500:3ec0:37eb:211a:4131) |
| 2021-06-15 14:07:05 | × | egoist quits (~egoist@186.235.82.46) (Client Quit) |
| 2021-06-15 14:07:19 | → | egoist joins (~egoist@186.235.82.46) |
| 2021-06-15 14:08:19 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 2021-06-15 14:09:10 | × | egoist quits (~egoist@186.235.82.46) (Client Quit) |
| 2021-06-15 14:10:41 | → | warnz joins (~warnz@2600:1700:77c0:5610:800b:6e01:97af:a956) |
| 2021-06-15 14:13:07 | <cheater> | any idea what "issues" he was experiencing? |
| 2021-06-15 14:13:48 | <cheater> | because haskeline is buggy as hell with ctrl-keys and i reported it typing a when you hold ctrl-a. i think i reported that like 10 years ago. it hasn't been fixed yet. |
| 2021-06-15 14:14:25 | → | econo joins (uid147250@user/econo) |
| 2021-06-15 14:15:18 | × | warnz quits (~warnz@2600:1700:77c0:5610:800b:6e01:97af:a956) (Ping timeout: 265 seconds) |
| 2021-06-15 14:16:39 | × | v01d4lph4 quits (~v01d4lph4@user/v01d4lph4) (Read error: Connection reset by peer) |
| 2021-06-15 14:17:16 | <siraben> | What's the easiest way to sort strings in a locale-sensitive manner? |
| 2021-06-15 14:17:23 | <siraben> | I'm maintaining a list of items https://github.com/siraben/freenode-exodus/pull/112/files and sorting ö against other characters seems to put it in an odd place |
| 2021-06-15 14:18:33 | → | eagleflo joins (~aku@eagleflow.fi) |
| 2021-06-15 14:18:42 | <siraben> | Ideally this should not need anything outside of the base libraries |
| 2021-06-15 14:19:38 | → | warnz joins (~warnz@2600:1700:77c0:5610:800b:6e01:97af:a956) |
| 2021-06-15 14:19:39 | <geekosaur> | siraben, I think base only supports Unicode codepoint sorting and you need an external libary *and* a locale to do better |
| 2021-06-15 14:20:05 | <siraben> | I found https://hackage.haskell.org/package/rfc5051 |
| 2021-06-15 14:20:52 | → | egoist joins (~egoist@186.235.82.46) |
| 2021-06-15 14:21:07 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 2021-06-15 14:22:04 | <geekosaur> | https://hackage.haskell.org/package/text-icu |
| 2021-06-15 14:23:38 | × | fef quits (~thedawn@user/thedawn) (Remote host closed the connection) |
| 2021-06-15 14:24:17 | → | ixlun joins (~matthew@213.205.241.86) |
| 2021-06-15 14:24:21 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-06-15 14:24:23 | → | fef joins (~thedawn@user/thedawn) |
| 2021-06-15 14:25:54 | × | chddr quits (~Thunderbi@31.148.23.125) (Ping timeout: 240 seconds) |
| 2021-06-15 14:25:57 | × | _73 quits (~user@pool-96-252-123-136.bstnma.fios.verizon.net) (Ping timeout: 272 seconds) |
| 2021-06-15 14:26:07 | <merijn> | siraben: The "correct" sorting depends on your locale |
| 2021-06-15 14:26:11 | → | _73`` joins (~user@pool-96-252-123-136.bstnma.fios.verizon.net) |
| 2021-06-15 14:26:21 | <merijn> | siraben: And text-icu is going to be the only correct answer |
| 2021-06-15 14:26:32 | × | neceve quits (~quassel@2a02:c7f:607e:d600:a95a:ecd2:e57a:3130) (Ping timeout: 272 seconds) |
| 2021-06-15 14:26:57 | → | Profpatsch joins (~Profpatsc@static.88-198-193-255.clients.your-server.de) |
| 2021-06-15 14:27:08 | <Profpatsch> | Is there a way to tell cabal to run tests in interactive mode? |
| 2021-06-15 14:27:36 | <siraben> | merijn: how would I construct parsers for Text using parser combinators? |
| 2021-06-15 14:27:39 | <Profpatsch> | The “compile -> compile tests -> link test binaries -> run once -> restart” cycle is not very nice |
| 2021-06-15 14:27:39 | <dminuoso> | Profpatsch: you can just build the tests and run them directly |
| 2021-06-15 14:27:41 | <merijn> | Profpatsch: "cabal run" works on tests |
| 2021-06-15 14:27:51 | <siraben> | One issue I run into is when parsing `many1 anyChar`, I have to re-pack into text |
| 2021-06-15 14:27:59 | <Profpatsch> | merijn: linking still takes multiple seconds |
| 2021-06-15 14:27:59 | <merijn> | siraben: megaparsec supports Text |
| 2021-06-15 14:28:04 | × | sayola quits (~vekto@dslc-082-082-145-205.pools.arcor-ip.net) (Read error: Connection reset by peer) |
| 2021-06-15 14:28:11 | <merijn> | (as input) |
| 2021-06-15 14:28:16 | <dminuoso> | Profpatsch: Do you have stripping enabled? |
| 2021-06-15 14:28:26 | <Profpatsch> | merijn: I don’t see why test runners couldn’t just run in interactive mode |
| 2021-06-15 14:28:34 | <siraben> | bah, I guess I'll have to add dependencies then |
| 2021-06-15 14:28:53 | <dminuoso> | Profpatsch: You cant get around linking irrespective of whether you use `cabal test` or `cabal run`. |
| 2021-06-15 14:28:59 | <Profpatsch> | yeah |
| 2021-06-15 14:29:22 | <dminuoso> | Also, you can run tests from `cabal repl` if that helps |
| 2021-06-15 14:29:23 | <merijn> | Profpatsch: What does interactive mode mean? |
| 2021-06-15 14:29:31 | <Profpatsch> | ghci |
| 2021-06-15 14:29:42 | → | ikex joins (~ash@user/ikex) |
| 2021-06-15 14:30:00 | <Profpatsch> | Maybe I should just run them in ghci |
| 2021-06-15 14:30:01 | <dminuoso> | Oh, I see. You want it to run through ghci to avoid the slower compilation process from building a binary? :p |
| 2021-06-15 14:30:09 | Tritlo | is now known as tritlo |
| 2021-06-15 14:30:11 | <dminuoso> | `cabal repl` is your friend. |
| 2021-06-15 14:30:13 | <sclv> | i'd actually want this feature too -- for a Work Project not only is linking tests slow, but on macos in particular it actually fails because too many symbols for stupid apple linkerr |
| 2021-06-15 14:30:25 | × | hendursaga quits (~weechat@user/hendursaga) (Remote host closed the connection) |
| 2021-06-15 14:30:33 | <sclv> | running in ghci is feasible of course, but less convenieent |
| 2021-06-15 14:31:02 | × | _73`` quits (~user@pool-96-252-123-136.bstnma.fios.verizon.net) (Remote host closed the connection) |
| 2021-06-15 14:31:02 | <Profpatsch> | dminuoso: is there a way to automate `cabal repl` short of just piping text to stdin? |
| 2021-06-15 14:31:40 | <sclv> | oh btw while i'm here is there a pexpect/pxssh library alike for haskell i can use out of the box? |
| 2021-06-15 14:31:56 | <dminuoso> | Mmm, a `cabal run --ghci` doesnt sound unreasonable, honestly |
| 2021-06-15 14:32:01 | → | ddellacosta joins (~ddellacos@83.143.246.104) |
| 2021-06-15 14:32:24 | <Profpatsch> | I guess what I want to do is have something like a ghci start as a service and my test suite just executing symbols in it |
| 2021-06-15 14:32:27 | <sclv> | need to drive a bunch of concurrent ssh sessions from haskell and not looking forward to doing all the grotty bits myself directly on top of system.process |
| 2021-06-15 14:32:29 | <dminuoso> | Profpatsch: You can use ghci |
| 2021-06-15 14:32:31 | <merijn> | Profpatsch: You can just do "cabal repl test:test-name" ? |
| 2021-06-15 14:32:32 | <dminuoso> | err ghcid |
| 2021-06-15 14:32:38 | <dminuoso> | ghcid can then call `cabal repl` |
| 2021-06-15 14:32:42 | <dminuoso> | and invoke your test suite |
| 2021-06-15 14:32:48 | <Profpatsch> | hmm |
| 2021-06-15 14:33:44 | tritlo | is now known as Falla-Matti |
| 2021-06-15 14:34:13 | Falla-Matti | is now known as tritlo |
| 2021-06-15 14:34:25 | → | pavonia joins (~user@user/siracusa) |
| 2021-06-15 14:35:04 | → | hendursaga joins (~weechat@user/hendursaga) |
| 2021-06-15 14:35:40 | <dminuoso> | Does runghc use the bytecode interpreter? |
| 2021-06-15 14:37:12 | × | ddellacosta quits (~ddellacos@83.143.246.104) (Ping timeout: 268 seconds) |
| 2021-06-15 14:37:12 | <merijn> | I think si |
| 2021-06-15 14:37:37 | <geekosaur> | yes |
| 2021-06-15 14:38:09 | → | larkfisherman joins (~larkfishe@217.75.204.126) |
| 2021-06-15 14:42:47 | <dminuoso> | There'd have to be a bit of engineering. For starters runghc would need response file support. |
| 2021-06-15 14:42:48 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 2021-06-15 14:43:20 | × | azeem quits (~azeem@176.201.22.245) (Ping timeout: 265 seconds) |
| 2021-06-15 14:45:12 | → | Guest91 joins (~Guest91@p200300f4c70f24004558d010706c3ebd.dip0.t-ipconnect.de) |
All times are in UTC.