os-string: Library for manipulating Operating system strings.

[ bsd3, library, system ] [ Propose Tags ]

This package provides functionality for manipulating OsString values, and is shipped with GHC.

Version 1.0.0 (unlike the following versions) is a dummy package that prevents module name clashes between os-string and filepath if used together.

If you simply want the newer os-string package, make sure to depend on the newer versions:

library
  build-depends:
    os-string >= 2.0.0

If you want to default to the older filepath provided OsString modules, but allow users to switch to the newer os-string, you can provide a flag like so:

flag os-string
  description: Use the new os-string package
  default: False
  manual: False

library
  -- ...
  if flag(os-string)
    build-depends: os-string >= 2.0.0
  else
    build-depends: filepath < 1.5, os-string < 2.0.0

[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 2.0.0, 2.0.1, 2.0.2, 2.0.2.1
Change log changelog.md
Dependencies filepath (<1.5) [details]
License BSD-3-Clause
Copyright Julain Ospald 2021-2023
Author Julian Ospald <hasufell@posteo.de>
Maintainer Julian Ospald <hasufell@posteo.de>
Category System
Home page https://github.com/haskell/os-string/blob/master/README.md
Bug tracker https://github.com/haskell/os-string/issues
Source repo head: git clone https://github.com/haskell/os-string
Uploaded by maerwald at 2023-11-25T07:56:17Z
Distributions LTSHaskell:2.0.2.1, NixOS:2.0.2, Stackage:2.0.2.1
Reverse Dependencies 7 direct, 14666 indirect [details]
Downloads 933 total (287 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2023-11-25 [all 1 reports]

Readme for os-string-1.0.0

[back to package description]

OsString Hackage version

This package provides functionality for manipulating @OsString@ values, and is shipped with <https://www.haskell.org/ghc/ GHC>.