Is your feature request related to a problem? Please describe.
lib.base.IO.getEnv : Text ->{IO, Exception} Text exists to retrieve a single environment variable but there isn't a means to get all environment variables.
Describe the solution you'd like
Seeing as getEnv is FFI to getEnv :: String -> IO String it would be good to similarly expose getEnvironment :: IO [(String, String)].
Describe alternatives you've considered
There are none as far as I can tell.
Additional context
I'm willing to try to contribute this 😄