[Haskell-cafe] Why so many strings in Network.URI, System.Posix and similar libraries?

Joey Hess joey at kitenet.net
Sun Mar 11 17:06:34 CET 2012


Jason Dusek wrote:
> > :info System.Posix.Env.getEnvironment
> System.Posix.Env.getEnvironment :: IO [(String, String)]
>         -- Defined in System.Posix.Env
> 
> But there is no law that environment variables must be made of
> characters:

The recent ghc release provides
System.Posix.Env.ByteString.getEnvironment :: IO [(ByteString, ByteString)]

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120311/bec21120/attachment.pgp>


More information about the Haskell-Cafe mailing list