[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / misc / examples / io / io009 / Main.hs
diff --git a/ghc/misc/examples/io/io009/Main.hs b/ghc/misc/examples/io/io009/Main.hs
new file mode 100644 (file)
index 0000000..b1bc0f2
--- /dev/null
@@ -0,0 +1,7 @@
+import LibDirectory (getDirectoryContents)
+import QSort (sort)
+
+main =
+    getDirectoryContents "." >>= \ names ->
+    putText (sort names) >>
+    putChar '\n'
\ No newline at end of file