I'm new to Haskell. From some video, I see people can trigger text editor from ghci. It says if you don't set up the default text editor, it will hint you to use set editor
command. But in my case, when I input
edit
It gives me an error saying
error: Variable not in scope: edit
How can I solve it? I'm using Haskell stack 8.0.2
ghci command all begin with :
. Try :edit
instead.