Closed
Description
With the Abstract FilePath Proposal
, we can now provide functions that work on the more appropriate OsPath/OsString
, rather than legacy type FilePath = [String]
. In particular, we really ought to have a version for System.Environment.getArgs :: IO [String]
.
For example, see this optparse-applicative issue.
Unfortunately, OsString
cannot reside in base
, hence this function has to live somewhere else. As this function is related to the current process, how about in process
?
Luckily implementation should be simple, since the Win32/Posix functions already exist, so all that remains is an OsString
shim.
This issue is not for full OsString
compatibility, though it is related. See also this discussion.
Thanks!
CC @hasufell
Metadata
Metadata
Assignees
Labels
No labels