From 939762d006a3ce057a11ba091e2cb4fb5dcb0a95 Mon Sep 17 00:00:00 2001 From: ross Date: Thu, 16 Oct 2003 16:26:43 +0000 Subject: [PATCH] [project @ 2003-10-16 16:26:43 by ross] fix a couple of id references in haddock docs --- System/Environment.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/System/Environment.hs b/System/Environment.hs index 25131da..245a9db 100644 --- a/System/Environment.hs +++ b/System/Environment.hs @@ -126,7 +126,7 @@ foreign import ccall unsafe "getenv" c_getenv :: CString -> IO (Ptr CChar) {-| -@withArgs args act@ - while executing action @act@, have 'System.getArgs' +'withArgs' @args act@ - while executing action @act@, have 'getArgs' return @args@. -} withArgs :: [String] -> IO a -> IO a @@ -135,8 +135,8 @@ withArgs xs act = do withArgv (p:xs) act {-| -@withProgName name act@ - while executing action @act@, -have 'System.getProgName' return @name@. +'withProgName' @name act@ - while executing action @act@, +have 'getProgName' return @name@. -} withProgName :: String -> IO a -> IO a withProgName nm act = do -- 1.7.10.4