# Win32 (Haskell)

> Direct Haskell bindings to the Windows Win32 API

Source: https://talira.ai/catalog/win32-haskell-6p7zfhdd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / system bindings](https://talira.ai/categories/libraries/system-bindings), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Haskell Libraries Team](https://talira.ai/orgs/haskell-libraries-team.md)

Win32 is a Haskell library of direct bindings to the Windows Win32 APIs. It's a core GHC library, so it keeps its Haskell dependencies to a minimum. The Haskell Libraries team maintains it, with Alastair Reid, shelarcy and Tamar Christina as its authors.

## Links

- GitHub: https://github.com/haskell/win32

## Problems it solves

- call Windows API functions from a Haskell program
- use Windows registry, process or file APIs from Haskell
- write Windows-specific code in a Haskell library

## Features

- direct bindings to the Windows Win32 APIs
- a core GHC library with few Haskell dependencies
- optional support for the os-string package

## Limitations

- Has no documentation of its own: its functions are documented by the equivalently named Windows API functions in Microsoft's docs.[^1]

## Trust

Overall: 0.30 out of 1.
Signals: maintenance 0.27, adoption 0.40, momentum 0.06, community 0.76, backing 0.30, extensibility 0.00.

- latest release v2,14.2.2 6 months ago
- 101 GitHub stars
- 78 contributors
- backed by Haskell Libraries Team

Warnings:

- last commit 6 months ago

## Alternatives

- [unix (Haskell)](https://talira.ai/catalog/unix-haskell-je0cqvg0.md): POSIX functionality for Haskell
- [unix-compat](https://talira.ai/catalog/unix-compat-917e7sfv.md): A portable POSIX-compatibility layer for Haskell

## Sources

[^1]: https://github.com/haskell/win32#readme (checked 28 Nov 2026)
[^2]: https://github.com/haskell/win32/blob/master/Win32.cabal (checked 28 Nov 2026)
[^3]: https://github.com/haskell/win32/blob/master/LICENSE (checked 28 Nov 2026)
