Haskell – Command ls or dir in ghci

ghcihaskell

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).

Is it possible to do it in GHCI?

Thank you

Best Answer

You can call bash command :!ls.

Related Topic