projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e4cef
)
Use H'98-compliant indentation in do-block.
author
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Mon, 23 Nov 2009 09:05:57 +0000
(09:05 +0000)
committer
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Mon, 23 Nov 2009 09:05:57 +0000
(09:05 +0000)
System/Directory.hs
patch
|
blob
|
history
diff --git
a/System/Directory.hs
b/System/Directory.hs
index
3057328
..
3498987
100644
(file)
--- a/
System/Directory.hs
+++ b/
System/Directory.hs
@@
-784,8
+784,8
@@
getDirectoryContents path =
loop dirp = do
e <- Posix.readDirStream dirp
if null e then return [] else do
- es <- loop dirp
- return (e:es)
+ es <- loop dirp
+ return (e:es)
#else
bracket
(Win32.findFirstFile (path </> "*"))