I'm new to Haskell.
I'm using ghci. I know I can move through directory with the command :cd <dir>. But I cannot find the command to list the files in a directory (something like Unix ls or Microsoft dir).
ghci
:cd <dir>
ls
dir
Is it possible to do it in GHCI?
Thank you
You can call bash command :!ls.
:!ls