os-string

Library for manipulating Operating system strings.

https://github.com/haskell/os-string/blob/master/README.md

Version on this page:2.0.4
LTS Haskell 23.19:2.0.7
Stackage Nightly 2025-04-30:2.0.2
Latest on Hackage:2.0.7

See all snapshots os-string appears in

BSD-3-Clause licensed and maintained by Julian Ospald
This version can be pinned in stack with:os-string-2.0.4@sha256:671a3e2c40cd555f1b313fe4eaeb9d58ab4895138f285fb7a1f6448e13003495,3259

OsString Hackage version

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

Changes

Changelog for os-string package

2.0.4 Jun 2024

  • Use TemplateHaskellQuotes rather than TemplateHaskell extension wrt #21

2.0.3 May 2024

  • Fix length function wrt #17

2.0.2.2 May 2024

  • Fix compilation on big-endian arches, by Andrew Lelechenko

2.0.2.1 Apr 2024

  • Fix compabitiliby with GHC 9.10

2.0.2 Dec 2023

  • Implement coercionToPlatformTypes, fixes #4

2.0.1 Dec 2023

  • add unsafeEncodeUtf, fixes #5

2.0.0 Nov 2023

  • Split out OsString modules from filepath library
  • add more bytestring like functions (index/search/etc.)

1.0.0 Nov 2023

  • dummy release to avoid name clashes with filepath <1.5