Skip to content

Scope? (add hPut, hPutStrLn, putStrLn for OsString) #42

@0rphee

Description

@0rphee

Hi! would this library be a good fit for this functions?

hPut :: Handle -> OsString -> IO ()
hPutStr :: Handle -> OsString -> IO ()
hPutStrLn :: Handle -> OsString -> IO ()
putStr :: OsString -> IO ()
putStrLn :: OsString -> IO ()

Here's (https://github.com/0rphee/os-string-io) a POC implementation (based on https://hackage-content.haskell.org/package/byteslice).

Also, I guess he -Ln versions should be behind a *.Word8 module like in bytestring, or under a similar scheme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions