Proposal: add clearEnv and setEnvironment to System.Posix.Env

Paolo Capriotti p.capriotti at
Fri Mar 30 17:07:00 CEST 2012

On Fri, Mar 9, 2012 at 3:33 PM, Paolo Capriotti <p.capriotti at> wrote:
> Hi all,
> System.Posix.Env doesn't currently define a binding for the POSIX
> function clearenv. I propose to add:
> clearEnv :: IO ()
> setEnvironment :: [(String, String)] -> IO ()
> 'clearEnv' is a direct wrapper for the underlying function, while
> 'setEnvironment' is a higher-level utility function which mirrors the
> interface of the existing 'getEnvironment'. See attached patches here:
> Discussion deadline: 24 Mar 2012.

We are past the deadline, so, if there are no objections, I'll go
ahead and push my patches.


More information about the Libraries mailing list