Browse Source

Initial commit

master
Craige McWhirter 7 months ago
parent
commit
66f43a1cc9
Signed by: craige GPG Key ID: 7DBA9F5689EFB6AA
  1. 9
      listDirectory.hs

9
listDirectory.hs

@ -0,0 +1,9 @@
import System.IO
import System.Directory
main = do
putStrLn "Enter directory name"
dir <- getLine
fileNames <- listDirectory dir
print fileNames
Loading…
Cancel
Save