Skip to content

Add getArgs :: IO [OsString] #41

Closed
@tbidne

Description

@tbidne

Motivated specifically by pcapriotti/optparse-applicative#491 (comment), though of course said function is generally useful and should exist somewhere, independent of optparse.

If implementing here still seems like the right idea, I am happy to take a crack at it. Thankfully the platform specific versions already exist here and here, so it looks like all that has to be done here is shimming it.

Looking at the existing structure, I am guessing we'd want something like:

-- System.Environment.OsString
getArgs :: IO [OsString]

-- System.Environment.PlatformPath
getArgs :: IO [PlatformPath]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions