summaryrefslogtreecommitdiff
path: root/src/GF/System
diff options
context:
space:
mode:
authorpeb <unknown>2005-02-18 18:21:06 +0000
committerpeb <unknown>2005-02-18 18:21:06 +0000
commit9568d7a844ba6a1872a8e8f6ef002860057e62ab (patch)
tree9e25c6ed62e48101a2782d5fb8dcba68462dc613 /src/GF/System
parent1c4f025320900897ae3acdab6982f7d595b98dd1 (diff)
"Committed_by_peb"
Diffstat (limited to 'src/GF/System')
-rw-r--r--src/GF/System/Arch.hs21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/GF/System/Arch.hs b/src/GF/System/Arch.hs
index 363caeb96..d18b12332 100644
--- a/src/GF/System/Arch.hs
+++ b/src/GF/System/Arch.hs
@@ -1,15 +1,15 @@
----------------------------------------------------------------------
-- |
--- Module : (Module)
--- Maintainer : (Maintainer)
+-- Module : Arch
+-- Maintainer : AR
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date $
--- > CVS $Author $
--- > CVS $Revision $
+-- > CVS $Date: 2005/02/18 19:21:10 $
+-- > CVS $Author: peb $
+-- > CVS $Revision: 1.5 $
--
--- (Description of the module)
+-- architecture\/compiler dependent definitions for unix\/hbc
-----------------------------------------------------------------------------
module Arch (
@@ -50,8 +50,7 @@ fetchCommand s = do
Just s -> do addHistory s
return s
--- selects the one with the later modification time of two
-
+-- | selects the one with the later modification time of two
selectLater :: FilePath -> FilePath -> IO FilePath
selectLater x y = do
ex <- doesFileExist x
@@ -66,9 +65,9 @@ selectLater x y = do
ty <- getModificationTime y
return $ if tx < ty then y else x
--- a file is considered modified also if it has not been read yet
--- new 23/2/2004: the environment ofs has just module names
-
+-- | a file is considered modified also if it has not been read yet
+--
+-- new 23\/2\/2004: the environment ofs has just module names
modifiedFiles :: [(FilePath,ModTime)] -> [FilePath] -> IO [FilePath]
modifiedFiles ofs fs = do
filterM isModified fs