Newest at the top
2024-09-22 21:22:12 +0200 | <_d0t> | thank you |
2024-09-22 21:22:10 +0200 | <_d0t> | Weird... but hey, it works! |
2024-09-22 21:22:06 +0200 | jle` | (~jle`@2603:8001:3b02:84d4:caad:a8df:b144:6c96) (Ping timeout: 244 seconds) |
2024-09-22 21:22:04 +0200 | <_d0t> | oh wait, somehow stack ghci picked up pretty-simple from what you advised, even across snapshots. |
2024-09-22 21:21:18 +0200 | machinedgod | (~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 252 seconds) |
2024-09-22 21:20:38 +0200 | <sm> | I usually have pretty-simple declared as a dependency of my project, so it will be there for ghci also |
2024-09-22 21:20:07 +0200 | <_d0t> | I guess, the better approach would be to involve pretty-simple binary somehow |
2024-09-22 21:19:54 +0200 | <_d0t> | at least seems so |
2024-09-22 21:19:53 +0200 | <sm> | good to know |
2024-09-22 21:19:50 +0200 | <_d0t> | yup |
2024-09-22 21:19:36 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds) |
2024-09-22 21:19:08 +0200 | <sm> | really ? even if there's no .ghci in the project dir ? |
2024-09-22 21:18:50 +0200 | <_d0t> | also `stack ghci` ignores ~/.ghci |
2024-09-22 21:18:26 +0200 | <_d0t> | almost definitely. |
2024-09-22 21:18:22 +0200 | <_d0t> | nah, it'll be different snapshots. |
2024-09-22 21:17:57 +0200 | <sm> | That'll install it user-wide (for your current default snapshot, at least). Then see if ghci is able to use it within a project (if the project uses that same snapshot, at least) |
2024-09-22 21:16:55 +0200 | <sm> | _d0t: first try this: cd; stack install pretty-simple |
2024-09-22 21:16:23 +0200 | <_d0t> | I use stack for almost all projects atm |
2024-09-22 21:16:16 +0200 | <_d0t> | soo.. what's the best way to make sure stack always loads pretty-simple? |
2024-09-22 21:15:51 +0200 | lucy | (~lucy@user/lucy) |
2024-09-22 21:15:48 +0200 | Sgeo | (~Sgeo@user/sgeo) |
2024-09-22 21:15:16 +0200 | <sm> | and drop the "NoColor" if you trust that you'll always have an ANSI-color-supporting output environment |
2024-09-22 21:14:47 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-09-22 21:13:39 +0200 | lucy | (~lucy@user/lucy) (Ping timeout: 246 seconds) |
2024-09-22 21:13:27 +0200 | <lambdabot> | Unknown command, try @list |
2024-09-22 21:13:27 +0200 | <sm> | @geekosaur is the bridge filtering out code blocks perhaps ? |
2024-09-22 21:13:24 +0200 | <_d0t> | thanks! |
2024-09-22 21:13:17 +0200 | <_d0t> | I guess, sending markdown doesn't work heh |
2024-09-22 21:12:55 +0200 | <sm> | ``` |
2024-09-22 21:12:55 +0200 | <sm> | :set -interactive-print=Text.Pretty.Simple.pPrintNoColor |
2024-09-22 21:12:55 +0200 | <sm> | :set -package pretty-simple |
2024-09-22 21:12:50 +0200 | <sm> | ``` |
2024-09-22 21:12:49 +0200 | <sm> | Here it comes again: |
2024-09-22 21:12:45 +0200 | aforemny | (~aforemny@2001:9e8:6cce:4f00:eba1:7c6c:4b28:5ad7) |
2024-09-22 21:12:28 +0200 | <sm> | Oh you really didn't. I don't see it in IRC either. That's weird. |
2024-09-22 21:11:43 +0200 | <_d0t> | https://ibb.co/hWtwJjz no, I really didn't |
2024-09-22 21:11:41 +0200 | <haskellbridge> | <sm> With that in ~/.ghci , I think you'll need to make sure pretty-simple is installed, both user-wide and in each project |
2024-09-22 21:10:51 +0200 | <haskellbridge> | <sm> You saw it, I just didn't number it |
2024-09-22 21:10:34 +0200 | weary-traveler | (~user@user/user363627) |
2024-09-22 21:10:31 +0200 | <_d0t> | sm: ok lol number 1 didn't get through into IRC. Could you paste it somewhere? |
2024-09-22 21:10:01 +0200 | <haskellbridge> | <sm> 2. Remember you did that, so you're not confused when it breaks somehow |
2024-09-22 21:09:37 +0200 | <haskellbridge> | <sm> _d0t: IIRC, add this to ~/.ghci, eg: |
2024-09-22 21:08:24 +0200 | <_d0t> | ohai! What's the simplest way to add pretty-printing of Haskell structures to GHCi? |
2024-09-22 21:06:24 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds) |
2024-09-22 21:06:08 +0200 | sdrfan123 | (~sdrfan123@2607:fb90:df8d:eacb:78c5:b91e:cf83:5bcb) |
2024-09-22 21:02:35 +0200 | lucy | (~lucy@user/lucy) |
2024-09-22 21:01:08 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-09-22 21:00:44 +0200 | caconym | (~caconym@user/caconym) |
2024-09-22 21:00:07 +0200 | caconym | (~caconym@user/caconym) (Quit: bye) |
2024-09-22 20:53:20 +0200 | foul_owl | (~kerry@174-21-143-250.tukw.qwest.net) |