Haskell uses the GHC (Glasgow Haskell Compiler) which is basically a command line interface to compile and run Haskell.
Like many popular CLI's, GHC allows you to use the up and down arrow keys to access previously used commands. However, it shows commands that you typed previously even if they are identical to the current commands. So if you typed ":r" 50 times for some reason, you would have to press the up arrow key 50 times to access the command you typed before that.
Question:Is there anyway to configure ghc so the up arrow key only shows a history of unique commands you typed (on Windows)?
My question is essentially this but for ghc: zsh, up arrow only repeats unique commands?