hpio (hackage): This package provides an embedded DSL for writing cross-platform GPIO programs in Haskell. Currently only Linux is supported (via the sysfs filesystem), but other Unix GPIO platforms will be supported in the future.  Monads and low-level actions are also provided for each supported platform's native GPIO API, if you want to program directly to the platform API.  Example programs are provided in the examples directory of the source code distribution. There is also a System.GPIO.Tutorial module, which explains how to use the cross-platform DSL.
Keywords: bsd3|library|system|gpio|haskell