<div dir="ltr"><div>I've forgot to sign before hitting enter...<br><br></div><div>Cheers,</div><div>Võ Minh Thu<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 22 mars 2024 à 12:39, Vo Minh Thu <<a href="mailto:noteed@gmail.com">noteed@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I've signed up with the username "noteed" on <a href="http://gitlab.haskell.org" target="_blank">gitlab.haskell.org</a> and would like to be approved.<br><br></div><div>To give you an idea of what changes I'd like to see, and possibly already hear some feedback, here are some notes I had (all about GHCi):<br><br>- Add a `:version` command. This would show either the same as `ghc --version`, or the (beginning of the) first output line of GHCi, which is "GHCi, version 9.11.20240322: <a href="https://www.haskell.org/ghc/" target="_blank">https://www.haskell.org/ghc/</a> :? for help". This seems like a very simple addition, and could help me learn to hack GHC, and would make sense for the next point.<br><br>- Have a flag to make GHCi not output the string "Loaded GHCi configuration from path/to/ghci.conf". This would let the `ghci.conf` file be in complete charge of what is displayed, instead of being necessarily followed by that string. I guess it would make sense to also hide the version string (see above).<br><br>- Make it possible to start/stop and observe running threads. So maybe a `:threads` (or `:set threads`, `:show threads` ?) command. Those could be user-defined, or provided by GHCi.<br><br>- Have GHCi watch files for changes (or be easily notified of changes) so it reloads them automatically (à la ghcid). I guess the main difference with ghcid is that after reloading the files, there is still an interactive prompt available (and running threads should be restarted (when using `:reload` too)).<br><br>- One of the running thread, instead of being user-supplied, could be a builtin feature of GHCi: the ability to listen for commands, just like the regular interactive prompt.<br><br>- Have GHCi be running as a background daemon, with no text interface beside a listening thread (or more than one). (This is related to <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/15461" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/issues/15461</a>.)</div></div>
</blockquote></div></div>