Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/c4d65123b7cc9d4cacffdcae572d276605cf87b4

>---------------------------------------------------------------

commit c4d65123b7cc9d4cacffdcae572d276605cf87b4
Author: gwern <[email protected]>
Date:   Sun Nov 27 18:08:09 2011 -0500

    System.Environment: improve 'getEnv' doc to mention closest 'setEnv' we 
have ('System.Posix.putEnv')

>---------------------------------------------------------------

 System/Environment.hs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/Environment.hs b/System/Environment.hs
index c4988af..d5bc1ad 100644
--- a/System/Environment.hs
+++ b/System/Environment.hs
@@ -180,7 +180,8 @@ basename f = go f f
 
 
 -- | Computation 'getEnv' @var@ returns the value
--- of the environment variable @var@.  
+-- of the environment variable @var@. For the inverse, POSIX users
+-- can use 'System.Posix.Env.putEnv'.
 --
 -- This computation may fail with:
 --
@@ -340,4 +341,3 @@ divvy str =
     (xs,[])        -> (xs,[]) -- don't barf (like Posix.getEnvironment)
     (name,_:value) -> (name,value)
 #endif  /* __GLASGOW_HASKELL__ */
-



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to