Haskell support for the Win32 API
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
Graphics
Media
System
cbits
doc
examples
include
tests
.gitignore
LICENSE
README.md
Setup.hs
Win32.cabal
appveyor.yml
changelog.md
prologue.txt

README.md

The Win32 Package

Hackage PyPI Windows build status

See Win32 on Hackage for more information.

Installing from Git

This package requires no special installation instructions.

To install use cabal install

Documentation

This library is just a direct binding to Windows API calls and as such contains no documentation. The documentation for functions can be found in the equivalently named functions on MSDN https://msdn.microsoft.com/library/windows/desktop/hh920508.aspx

Getting Started

The Win32 library is a core GHC library and as such aims to have an as little as possible footprint when it comes to dependencies.

When submitting new requests think hard if any new Haskell dependencies are actually needed. (note that this does not apply to C dependencies.)

The best way to get started is using cabal new-build and cabal sandboxes:

git clone git@github.com:haskell/win32.git
cd win32
cabal sandbox init
cabal install
cabal repl

Testsuite

The tests in the Win32 package are designed to run as part of the GHC testsuite. As such, should you want to add a new test, you will need the testsuite drivers.

See https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Adding for details.