Logs: freenode/#haskell
| 2021-05-19 18:50:04 | <altern> | exa: the codebase is large |
| 2021-05-19 18:50:23 | <altern> | exa: I will need to extract a lot into a standalone program |
| 2021-05-19 18:50:39 | <[exa]> | worry not about standalone, just the whole function (if it's not just the code in the error tho) |
| 2021-05-19 18:51:10 | × | rajivr quits (uid269651@gateway/web/irccloud.com/x-svtwbkuqnerncbos) (Quit: Connection closed for inactivity) |
| 2021-05-19 18:51:32 | <[exa]> | also possibly the type/impl of lgFactory |
| 2021-05-19 18:51:45 | <johnw> | altern: hi, yes I did |
| 2021-05-19 18:52:20 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-05-19 18:52:37 | <altern> | johnw, oh wow. great to meet you! I am just using your library for my application and having problems making it work |
| 2021-05-19 18:53:02 | <johnw> | what's the trouble you've been having? |
| 2021-05-19 18:53:08 | <johnw> | and nice to meet you as well! |
| 2021-05-19 18:53:13 | × | danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 250 seconds) |
| 2021-05-19 18:53:35 | <altern> | johnw, https://paste.tomsmeding.com/0SJOfuXk I guess it will be the easy one for you! ;) |
| 2021-05-19 18:54:35 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-05-19 18:55:17 | <johnw> | it looks like you're using openRepository in a monad context that doesn't support exception masking, namely InputT MS |
| 2021-05-19 18:55:43 | → | nineonine joins (~nineonine@50.216.62.2) |
| 2021-05-19 18:55:44 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 2021-05-19 18:57:07 | → | star_cloud joins (~star_clou@ec2-52-11-151-184.us-west-2.compute.amazonaws.com) |
| 2021-05-19 18:57:08 | → | hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:1b0d:bea3:27b0:db7e) |
| 2021-05-19 18:57:29 | <altern> | john, how do I make it support exception masking? |
| 2021-05-19 18:57:37 | <altern> | or is there another way around it? |
| 2021-05-19 18:57:56 | <altern> | for example, I saw you have been using withRepository function in smoke tests |
| 2021-05-19 18:59:08 | <altern> | exa: https://pastebin.com/hyYu42Ji |
| 2021-05-19 18:59:19 | → | stree joins (~stree@68.36.8.116) |
| 2021-05-19 19:00:54 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-05-19 19:04:02 | <edwardk> | i've passed along the matrix concern to libera.chat |
| 2021-05-19 19:05:11 | × | superstar64 quits (6ccefa7c@108-206-250-124.lightspeed.miamfl.sbcglobal.net) (Quit: Connection closed) |
| 2021-05-19 19:05:34 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 268 seconds) |
| 2021-05-19 19:06:27 | × | coot quits (~coot@37.30.58.122.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2021-05-19 19:07:41 | × | jrm quits (~jrm@freebsd/developer/jrm) (Quit: ciao) |
| 2021-05-19 19:07:50 | × | pera_ quits (~pera_@94.0.111.239) (Quit: brb) |
| 2021-05-19 19:08:15 | → | jrm joins (~jrm@freebsd/developer/jrm) |
| 2021-05-19 19:08:27 | <johnw> | altern: You need something more capable than InpuT MS. The tests run on IO, I believe. |
| 2021-05-19 19:09:11 | × | ystael quits (~ystael@69.sub-174-242-65.myvzw.com) (Ping timeout: 240 seconds) |
| 2021-05-19 19:10:11 | × | Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 240 seconds) |
| 2021-05-19 19:10:15 | × | kapil_ quits (~kapil@2a01:4f9:c010:c9c3::1) (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
| 2021-05-19 19:10:52 | → | xsperry joins (~as@unaffiliated/xsperry) |
| 2021-05-19 19:10:56 | → | kapil_ joins (~kapil@2a01:4f9:c010:c9c3::1) |
| 2021-05-19 19:11:29 | <altern> | johnw, I am bad with transformers. What would you recommend as a more capable candidate to make it work? |
| 2021-05-19 19:12:53 | × | connrs quits (~connrs@mail.connolley.uk) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-05-19 19:12:58 | <johnw> | I really don't know enough about what yo'ure doing to say; what is MS? |
| 2021-05-19 19:13:13 | <altern> | johnw, type MS = ReaderT SearchFunc (StateT ProgramState IO) |
| 2021-05-19 19:13:37 | <johnw> | and where does InpuT come from? |
| 2021-05-19 19:13:39 | × | vchlup_ quits (~vchlup@nat.brnet.cz) (Quit: Leaving) |
| 2021-05-19 19:13:59 | <johnw> | sounds like you just need a MonadMask instance for InputT |
| 2021-05-19 19:14:04 | <johnw> | since the rest of your stack is fine |
| 2021-05-19 19:14:08 | → | connrs joins (~connrs@mail.connolley.uk) |
| 2021-05-19 19:14:28 | <altern> | parseInput :: String -> InputT MS () |
| 2021-05-19 19:14:29 | <altern> | that's the type of the function where the code snippet with openRepository is |
| 2021-05-19 19:14:30 | → | boxscape joins (4ff0bb95@p4ff0bb95.dip0.t-ipconnect.de) |
| 2021-05-19 19:14:38 | → | Guest87676 joins (~laudiacay@67.176.215.84) |
| 2021-05-19 19:14:46 | <johnw> | what module and library does InputT come from? |
| 2021-05-19 19:14:55 | × | HannaM quits (~quassel@p54849510.dip0.t-ipconnect.de) (Quit: HannaM) |
| 2021-05-19 19:15:05 | <altern> | import System.Console.Haskeline |
| 2021-05-19 19:15:31 | → | Schrostfutz joins (~Schrostfu@p4fc0a70a.dip0.t-ipconnect.de) |
| 2021-05-19 19:15:37 | <[exa]> | altern: for the begin `get`, you might like something like `selRep <- gets selectedRepository`, given you've got the ProgramState fields named |
| 2021-05-19 19:15:37 | <johnw> | hmm.. version 0.8.1.2 of haskeline does show that it has a MonadMask instance |
| 2021-05-19 19:16:29 | → | Achylles joins (~Achylles@2804:431:d724:bb0f:1729:d8d9:f9e6:f367) |
| 2021-05-19 19:16:35 | <altern> | johnw, let me check which one I use.. |
| 2021-05-19 19:16:51 | <[exa]> | hm yeah, 0.7.* seems not to have MonadMask |
| 2021-05-19 19:17:10 | × | boxscape quits (4ff0bb95@p4ff0bb95.dip0.t-ipconnect.de) (Client Quit) |
| 2021-05-19 19:17:24 | <altern> | mine is haskeline-0.7.4.3 |
| 2021-05-19 19:17:40 | → | invaser joins (~Thunderbi@91.226.34.182) |
| 2021-05-19 19:18:20 | → | boxscape joins (4ff0bb95@p4ff0bb95.dip0.t-ipconnect.de) |
| 2021-05-19 19:18:35 | <[exa]> | edwardk: btw thanks for the twitter posts today, I probably wouldn't notice whats happening without these |
| 2021-05-19 19:25:51 | × | jrm quits (~jrm@freebsd/developer/jrm) (Quit: ciao) |
| 2021-05-19 19:26:42 | × | Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving) |
| 2021-05-19 19:26:45 | → | nut joins (~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) |
| 2021-05-19 19:29:11 | × | invaser quits (~Thunderbi@91.226.34.182) (Quit: invaser) |
| 2021-05-19 19:31:57 | → | hugo joins (znc@verdigris.lysator.liu.se) |
| 2021-05-19 19:33:17 | <altern> | exa: johnw: I have installed new haskeline, but it is failing to show in ghc-pkg list as the active one. how do I make it current instead of the old one? |
| 2021-05-19 19:34:08 | → | unclechu[m] joins (xmppuncl2@gateway/shell/matrix.org/x-smzkeqbeixllkelh) |
| 2021-05-19 19:34:17 | <geekosaur> | did you use newer cabal and are you outside a project? you'll need to include --lib |
| 2021-05-19 19:34:40 | <geekosaur> | if you're in a project, you'll need to update the bounds on the haskeline dep |
| 2021-05-19 19:34:45 | → | jrm joins (~jrm@freebsd/developer/jrm) |
| 2021-05-19 19:35:04 | <geekosaur> | (I strongly recommend using a project, btw, it'll prevent later conflicts) |
| 2021-05-19 19:35:22 | → | ChaoticSun joins (~ChaoticSu@024-217-077-163.res.spectrum.com) |
| 2021-05-19 19:35:49 | <geekosaur> | o rstack which will force its own kind of project on you, with the same requirement that you specify an appropriate dependency or update to a resolver that includes it already |
| 2021-05-19 19:36:08 | ← | unclechu[m] parts (xmppuncl2@gateway/shell/matrix.org/x-smzkeqbeixllkelh) () |
| 2021-05-19 19:36:34 | × | gawen quits (~gawen@movzbl.root.sx) (Quit: cya) |
| 2021-05-19 19:36:57 | → | gawen joins (~gawen@movzbl.root.sx) |
| 2021-05-19 19:37:38 | × | justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Quit: WeeChat 3.0.1) |
| 2021-05-19 19:37:41 | → | ddellacosta joins (~ddellacos@86.106.143.230) |
| 2021-05-19 19:39:08 | × | wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-05-19 19:39:33 | <altern> | geekosaur, all done as you said - updated bounds, but new-install says 'up to date' |
| 2021-05-19 19:39:41 | × | kjak quits (~kjak@pool-108-45-56-21.washdc.fios.verizon.net) (Quit: leaving) |
| 2021-05-19 19:39:52 | × | neiluj quits (~jco@unaffiliated/neiluj) (Quit: Lost terminal) |
| 2021-05-19 19:40:01 | → | kjak joins (~kjak@pool-108-45-56-21.washdc.fios.verizon.net) |
| 2021-05-19 19:40:14 | <altern> | geekosaur, now using stack though. it does not find one library I need in the LTS (pretty-tree) |
| 2021-05-19 19:40:24 | <geekosaur> | if you created a project then you'll need to add the rest of your code to it. if you didn't then you need to install with --lib |
| 2021-05-19 19:40:33 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-05-19 19:41:06 | <altern> | geekosaur, all my code is in the project already |
| 2021-05-19 19:41:42 | × | tdammers quits (~tdammers@unaffiliated/tdammers) (Quit: WeeChat 2.3) |
| 2021-05-19 19:41:45 | × | ptrcmd quits (~ptrcmd@unaffiliated/petercommand) (Quit: Reconnecting) |
| 2021-05-19 19:41:53 | → | ptrcmd joins (~ptrcmd@unaffiliated/petercommand) |
| 2021-05-19 19:41:59 | <geekosaur> | then it is up to date because you already installed it once. it should then use it when building your project, instead of the older version |
| 2021-05-19 19:42:07 | × | ptrcmd quits (~ptrcmd@unaffiliated/petercommand) (Client Quit) |
| 2021-05-19 19:42:16 | → | ptrcmd joins (~ptrcmd@unaffiliated/petercommand) |
| 2021-05-19 19:42:20 | <geekosaur> | wrt stack, you would need to use stack.yaml to point to where to get a version of pretty-tree that is compatible with the rest of your project |
| 2021-05-19 19:42:34 | × | ddellacosta quits (~ddellacos@86.106.143.230) (Ping timeout: 268 seconds) |
| 2021-05-19 19:42:40 | <geekosaur> | but someone else will have to help you with details, as I don't use stack |
All times are in UTC.