2024/11/06

Newest at the top

2024-11-06 03:44:57 +0100CoolMa7(~CoolMa7@ip5f5b8957.dynamic.kabel-deutschland.de) (Ping timeout: 246 seconds)
2024-11-06 03:41:22 +0100 <haskellbridge> <sm> stack notes added at https://github.com/CrystalSplitter/ghcitui/issues/30
2024-11-06 03:40:32 +0100CoolMa7(~CoolMa7@ip5f5b8957.dynamic.kabel-deutschland.de) CoolMa7
2024-11-06 03:34:48 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-06 03:30:21 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-06 03:28:52 +0100 <monochrom> Hrm it wants containers >= 0.6.8? That's neeewwww....
2024-11-06 03:26:31 +0100 <monochrom> Hrm I should try that.
2024-11-06 03:19:18 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-06 03:19:03 +0100 <geekosaur> ghci originally used readline, but that caused build issues on Windows (not there) and Macs (Apple ships a fake "readline") so someone wrote haskeline
2024-11-06 03:17:56 +0100 <haskellbridge> <sm> needs more users
2024-11-06 03:17:37 +0100 <haskellbridge> <sm> Ah! finally. https://hackage.haskell.org/package/ghcitui is the one I was thinking of.
2024-11-06 03:14:58 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-06 03:14:21 +0100 <haskellbridge> <zwro> Leary: tyvm
2024-11-06 03:13:11 +0100notzmv(~daniel@user/notzmv) notzmv
2024-11-06 03:12:15 +0100machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 252 seconds)
2024-11-06 03:11:10 +0100 <monochrom> Oh just vim bindings. Then yeah.
2024-11-06 03:10:46 +0100 <Leary> zwro: echo 'editMode: Vi' > ~/.haskeline
2024-11-06 03:10:24 +0100 <monochrom> I think no. I just tried.
2024-11-06 03:10:06 +0100 <haskellbridge> <zwro> oh wait, does haskeline support it?
2024-11-06 03:08:36 +0100 <haskellbridge> <zwro> ghci used readline? how i miss vim bindings in ghci
2024-11-06 03:07:37 +0100 <monochrom> Would be funny if GHCi missed that opportunity...
2024-11-06 03:06:47 +0100 <monochrom> Is it actually provided by the underlying readline? Because once upon a time, GHCi used readline as opposed to today's haskeline...
2024-11-06 03:05:07 +0100spew(~spew@201.141.99.170) (Quit: spew)
2024-11-06 03:04:42 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
2024-11-06 03:03:20 +0100 <monochrom> I can also tell my students about this. It will help in the unix course.
2024-11-06 03:02:10 +0100monochromcan now use C-x C-e to take time to craft docker commands that have 20 options...
2024-11-06 03:02:01 +0100 <haskellbridge> <zwro> also if you have vi-style bindings in your shell with `set -o vi`, pressing v while in normal mode also achieves this
2024-11-06 03:00:39 +0100 <monochrom> Yeah edit-and-execute would be great, both easy and valuable.
2024-11-06 03:00:28 +0100flounders(~flounders@173.246.200.74) flounders
2024-11-06 02:59:35 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-06 02:59:20 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 265 seconds)
2024-11-06 02:58:41 +0100flounders(~flounders@2607:fb91:f6f:855:576:16c:1a7a:3eb2) (Ping timeout: 248 seconds)
2024-11-06 02:58:35 +0100 <haskellbridge> <zwro> just like pressing v inside less opens your $EDITOR
2024-11-06 02:58:22 +0100CoolMa7(~CoolMa7@ip5f5b8957.dynamic.kabel-deutschland.de) (Ping timeout: 272 seconds)
2024-11-06 02:58:20 +0100 <probie> hellwolf: Perhaps https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/liberal_type_synonyms.html can do what you want, but it is still rather restricted
2024-11-06 02:58:17 +0100 <monochrom> Thanks constxd. I had always opened up emacs and draft my command when I needed that.
2024-11-06 02:57:50 +0100 <monochrom> TIL bash C-x C-e edit-and-execute-command.
2024-11-06 02:57:15 +0100Versality(~Versality@user/Versality) Versality
2024-11-06 02:57:12 +0100 <haskellbridge> <zwro> that would be neat
2024-11-06 02:57:05 +0100 <haskellbridge> <zwro> yes!
2024-11-06 02:56:53 +0100Versality(~Versality@user/Versality) (Remote host closed the connection)
2024-11-06 02:55:53 +0100 <constxd> just an idea
2024-11-06 02:55:44 +0100 <constxd> that is trivial enough to add into something like GHCi and it gives u perhaps something useful
2024-11-06 02:55:20 +0100 <constxd> u know how the zsh and bash shells have a key binding called C-x C-e ?
2024-11-06 02:54:48 +0100 <monochrom> General? How general can you take it? The most general, IMO anyway, is to use newtype altogether.
2024-11-06 02:54:26 +0100 <haskellbridge> <zwro> but ghcid is what's missing on my phone
2024-11-06 02:54:08 +0100 <monochrom> OK that. :)
2024-11-06 02:54:02 +0100 <haskellbridge> Is there a good general workaround?
2024-11-06 02:54:01 +0100 <haskellbridge> <hellwolf> I really don't like this "The type synonym ‘YulP’ should have 2 arguments, but has been given 1"
2024-11-06 02:53:58 +0100 <haskellbridge> <zwro> oh you don't need a plugin. you can just run ghcid directly in a vim buffer :)