packages feed

hpio

Monads for GPIO in Haskell

view on 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.
versionuploadeduploaderchanges
0.9.0.72019-01-04 21:32 UTCdhess+79/−55 lines, 22 filesdep ~QuickCheckdep ~containersPVP: major bump suggested
0.9.0.62018-04-03 22:13 UTCdhess+29/−68 lines, 10 filesdep ~hlintPVP ok
0.9.0.52018-02-06 01:31 UTCdhess+14/−8 lines, 3 filesdep ~asyncPVP ok
0.9.0.42018-01-30 04:28 UTCdhess+67/−474 lines, 35 filesdep ~doctestdep ~hlintPVP ok
0.9.0.32018-01-25 09:03 UTCdhess+286/−125 lines, 20 filesdep ~QuickCheckdep ~hlintPVP: major bump suggested
0.9.0.22017-10-19 00:24 UTCdhess+19/−19 lines, 7 filesPVP ok
0.9.0.12017-10-18 01:45 UTCdhess+426/−105 lines, 10 filesPVP ok
0.9.0.02017-10-02 21:47 UTCdhess+3562/−3624 lines, 36 filesdep +faildep +monad-controldep +monad-loggerdep −base-compatdep −mtl-compatdep −transformers-compatdep ~asyncdep ~bytestringdep ~exceptionsPVP ok
0.8.0.102017-06-28 21:41 UTCdhess+14/−7 lines, 5 filesdep ~QuickCheckdep ~optparse-applicativePVP ok
0.8.0.92017-05-24 23:30 UTCdhess+52/−43 lines, 18 filesPVP ok
0.8.0.72017-02-21 23:34 UTCdhess+11/−7 lines, 6 filesPVP ok
0.8.0.62017-01-26 00:20 UTCdhess+10/−5 lines, 4 filesdep ~hspecPVP ok
0.8.0.52017-01-12 01:50 UTCdhess+11/−6 lines, 5 filesdep ~directoryPVP ok
0.8.0.42016-10-27 00:27 UTCdhess+29/−9 lines, 9 filesdep ~hspecdep ~optparse-applicativePVP ok
0.8.0.32016-07-15 14:05 UTCdhess+10/−5 lines, 4 filesdep ~QuickCheckPVP ok
0.8.0.22016-06-09 00:19 UTCdhess+14/−7 lines, 7 filesPVP ok
0.8.0.12016-05-31 01:14 UTCdhess+2683/−15 lines, 11 filesPVP: major bump suggested
0.8.0.02016-05-28 00:48 UTCdhess+6080/−0 lines, 29 filesdep +QuickCheckdep +asyncdep +basesetup-changed

Dependencies of hpio-0.9.0.7

QuickCheck >=2.7.6 && <2.13 2.12.6.1 → 2.19.0.0 newer than bounds
2026-09-16 11:18 UTC2.19.0.0 newer than bounds+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0 newer than bounds+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0 newer than bounds+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0 newer than bounds+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0 newer than bounds+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

async >=2.0.2 && <2.3 2.2.5 → 2.2.6
2026-01-07 11:26 UTC2.2.6+503/−61 lines, 7 filesdep +unordered-containersPVP: major bump suggested
2023-11-21 08:08 UTC2.2.5+1025/−797 lines, 5 filesdep ~basedep ~hashablePVP: major bump suggested
2021-10-04 12:00 UTC2.2.4+26/−8 lines, 3 filesdep ~basedep ~hashablePVP ok
2021-02-16 10:05 UTC2.2.3+160/−78 lines, 3 filesdep ~basePVP ok
2019-06-06 08:27 UTC2.2.2+48/−15 lines, 4 filesdep ~basedep ~hashablePVP: major bump suggested

showing 5 of 23 versions

base >=4.7.0 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

bytestring >=0.10.4 && <0.11 0.10.12.1 → 0.12.2.0 newer than bounds
2024-12-06 21:41 UTC0.12.2.0 newer than bounds+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0 newer than bounds+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2 newer than bounds+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1 newer than bounds+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0 newer than bounds+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

containers >=0.5.5 && <0.7 0.6.8 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

directory >=1.2.1 && <1.4 1.3.10.1 → 1.3.11.0
2026-05-27 05:59 UTC1.3.11.0+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

doctest >=0.9.13 0.25.0.1 → 0.25.0.2
2026-09-24 10:26 UTC0.25.0.2+7/−2 lines, 3 filesPVP ok
2026-09-24 08:42 UTC0.25.0.1+36/−4 lines, 6 filesPVP ok
2026-05-03 17:07 UTC0.25.0+55/−31 lines, 7 filesPVP ok
2026-01-02 08:10 UTC0.24.3+25/−11 lines, 5 filesdep ~ghcPVP ok
2025-06-24 14:52 UTC0.24.2+17/−77 lines, 10 filesdep ~basedep ~ghcPVP ok

showing 5 of 79 versions

exceptions >=0.8.0 && <1 0.10.11 → 0.10.12
2026-01-10 20:26 UTC0.10.12+30/−7 lines, 4 filesdep ~QuickCheckdep ~template-haskellPVP ok
2025-10-13 12:05 UTC0.10.11+86/−10 lines, 5 filesPVP ok
2025-06-17 11:54 UTC0.10.10+22/−16 lines, 4 filesdep +tastydep +tasty-hunitdep +tasty-quickcheckdep −test-frameworkdep −test-framework-hunitdep −test-framework-quickcheck2dep ~QuickCheckPVP: major bump suggested
2024-10-31 12:54 UTC0.10.9+51/−160 lines, 5 filesdep −faildep −transformers-compatdep ~QuickCheckdep ~basedep ~mtlPVP: major bump suggested
2024-04-20 19:31 UTC0.10.8+1767/−1763 lines, 13 filesdep ~QuickCheckdep ~template-haskellsetup-changedPVP: major bump suggested

showing 5 of 34 versions

fail >=4.9 && <4.10 (empty) → 4.9.0.0
2016-01-21 15:11 UTC4.9.0.0+144/−0 lines, 4 filesdep +basesetup-changed
filepath >=1.3.0 && <1.5 1.4.301.0 → 1.5.5.0 newer than bounds
2026-01-20 08:14 UTC1.5.5.0 newer than bounds+68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok
2024-11-17 13:06 UTC1.5.4.0 newer than bounds+26/−6 lines, 3 filesdep ~basePVP ok
2024-06-29 15:30 UTC1.5.3.0 newer than bounds+876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested
2024-01-26 07:02 UTC1.5.2.0 newer than bounds+330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok
2023-11-25 08:29 UTC1.5.0.0 newer than bounds+53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok

showing 5 of 35 versions

hlint >=2.0 && <2.2 2.1.26 → 3.10 newer than bounds
2025-02-02 20:29 UTC3.10 newer than bounds+336/−287 lines, 38 filesdep ~ghcdep ~ghc-lib-parserdep ~ghc-lib-parser-ex
2024-01-20 13:28 UTC3.8 newer than bounds+257/−74 lines, 29 filesdep ~ghcdep ~ghc-lib-parserdep ~ghc-lib-parser-exPVP ok
2023-07-07 10:00 UTC3.6.1 newer than bounds+3/−1 lines, 2 filesPVP ok
2023-06-26 12:13 UTC3.6 newer than bounds+1054/−292 lines, 62 filesdep ~cmdargsdep ~ghcdep ~ghc-lib-parserPVP ok
2022-09-20 08:40 UTC3.5 newer than bounds+257/−168 lines, 33 filesdep ~ghcdep ~ghc-lib-parserdep ~ghc-lib-parser-ex

showing 5 of 223 versions

hspec >=2.1.7 2.11.17 → 2.11.18
2026-10-01 14:14 UTC2.11.18+7/−4 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok
2026-03-04 18:01 UTC2.11.17+11/−19 lines, 6 filesdep ~hspec-coredep ~hspec-discoverPVP ok
2025-12-12 14:07 UTC2.11.16+25/−7 lines, 5 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested
2025-12-08 03:04 UTC2.11.15+8/−5 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok
2025-09-30 14:32 UTC2.11.14+9/−7 lines, 4 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested

showing 5 of 171 versions

monad-control >=1 && <2 1.0.3 → 1.0.3.1
2021-08-02 10:16 UTC1.0.3.1+25/−13 lines, 3 filesdep ~transformersPVP ok
2021-07-26 20:03 UTC1.0.3+6/−2 lines, 2 filesdep ~base
2021-07-26 19:56 UTC1.0.2.4+912/−894 lines, 5 filesdep ~basedep ~transformers-compatsetup-changednew-uploader
2018-02-26 08:14 UTC1.0.2.3+10/−3 lines, 3 filesdep ~transformers-compatPVP: major bump suggested
2017-08-06 15:12 UTC1.0.2.2+201/−29 lines, 4 filesPVP ok

showing 5 of 32 versions

monad-logger >=0.3 && <0.4 0.3.41 → 0.3.42
2025-03-10 08:59 UTC0.3.42+6/−4 lines, 3 filesPVP ok
2024-12-31 08:10 UTC0.3.41+19/−2 lines, 3 filesPVP: major bump suggested
2023-06-05 11:14 UTC0.3.40+17/−4 lines, 3 filesPVP ok
2023-01-26 11:39 UTC0.3.39+17/−1 lines, 3 filesdep ~fast-loggerPVP ok
2023-01-24 06:31 UTC0.3.38+9/−11 lines, 3 filesdep ~transformersPVP: major bump suggested

showing 5 of 71 versions

mtl >=2.1.3 && <2.3 2.2.2 → 2.3.2 newer than bounds
2025-12-08 04:58 UTC2.3.2 newer than bounds+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1 newer than bounds+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3 newer than bounds+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

optparse-applicative >=0.11.0 && <0.15 0.14.3.0 → 0.19.0.0 newer than bounds
2025-06-03 08:53 UTC0.19.0.0 newer than bounds+1356/−72 lines, 24 filesdep −transformers-compatdep ~QuickCheckdep ~transformersPVP ok
2023-05-30 03:40 UTC0.18.1.0 newer than bounds+28/−11 lines, 4 filesdep +textdep ~basedep ~prettyprinter-ansi-terminalPVP ok
2023-05-23 10:11 UTC0.18.0.0 newer than bounds+165/−85 lines, 14 filesdep +prettyprinterdep +prettyprinter-ansi-terminaldep −ansi-wl-pprintdep ~basePVP ok
2023-05-23 10:09 UTC0.17.1.0 newer than bounds+118/−60 lines, 13 filesPVP: major bump suggested
2022-02-01 10:27 UTC0.17.0.0 newer than bounds+222/−65 lines, 17 filesPVP ok

showing 5 of 47 versions

protolude >=0.2 && <0.3 0.2.4 → 0.3.5 newer than bounds
2025-05-16 02:18 UTC0.3.5 newer than bounds+9/−6 lines, 3 filesdep ~basedep ~ghc-primdep ~hashablePVP: major bump suggested
2024-02-05 03:39 UTC0.3.4 newer than bounds+10/−9 lines, 1 filesdep ~containersPVP: major bump suggested
2023-02-16 02:44 UTC0.3.3 newer than bounds+14/−5 lines, 3 filesdep ~basedep ~bytestringdep ~deepseqPVP: major bump suggested
2022-06-12 18:31 UTC0.3.2 newer than bounds+7/−87 lines, 3 filesdep −directorydep −filepathdep −ghcdep ~basedep ~mtldep ~transformersPVP ok
2022-06-01 11:36 UTC0.3.1 newer than bounds+114/−50 lines, 7 filesdep ~basedep ~bytestringdep ~ghc-primnew-uploaderPVP: major bump suggested

showing 5 of 22 versions

semigroups >=0.18 && <0.19 0.18.5 → 0.20.1 newer than bounds
2026-01-10 20:32 UTC0.20.1 newer than bounds+29/−2103 lines, 6 filesdep −binarydep −bytestringdep −bytestring-builderdep ~basePVP: major bump suggested
2021-11-16 00:07 UTC0.20 newer than bounds+9/−27 lines, 3 filesdep ~hashablePVP ok
2021-08-30 11:23 UTC0.19.2 newer than bounds+45/−203 lines, 6 filesdep ~hashablePVP ok
2019-08-27 13:06 UTC0.19.1 newer than bounds+100/−60 lines, 5 filesdep ~hashabledep ~transformersPVP ok
2019-05-10 13:57 UTC0.19 newer than bounds+217/−167 lines, 5 filesdep +template-haskelldep ~hashablePVP ok

showing 5 of 65 versions

text >=1.2.0 && <1.3 1.2.5.0 → 2.1.5 newer than bounds
2026-11-27 23:30 UTC2.1.5 newer than bounds+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4 newer than bounds+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3 newer than bounds+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2 newer than bounds+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1 newer than bounds+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

transformers >=0.3.0 && <0.6 0.5.6.2 → 0.6.3.0 newer than bounds
2026-01-12 12:42 UTC0.6.3.0 newer than bounds+28/−1 lines, 4 filesPVP: major bump suggested
2025-04-06 22:39 UTC0.6.2.0 newer than bounds+41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested
2024-09-25 11:37 UTC0.6.1.2 newer than bounds+70/−21 lines, 19 filesPVP: minor bump suggested
2023-08-01 19:13 UTC0.6.1.1 newer than bounds+281/−42 lines, 11 filesPVP ok
2023-02-04 08:15 UTC0.6.1.0 newer than bounds+64/−4 lines, 8 filesPVP ok

showing 5 of 42 versions

transformers-base >=0.4 && <0.5 0.4.6 → 0.4.6.1
2026-03-09 18:21 UTC0.4.6.1+11/−5 lines, 3 filesPVP: major bump suggested
2021-08-01 21:25 UTC0.4.6+21/−5 lines, 2 filesdep ~transformersPVP: major bump suggested
2018-03-31 21:50 UTC0.4.5.2+2/−8 lines, 2 filesdep ~transformers-compatPVP ok
2018-03-31 19:33 UTC0.4.5.1+7/−1 lines, 2 filesPVP ok
2018-03-31 16:40 UTC0.4.5+39/−16 lines, 3 filesdep +base-orphansdep ~basedep ~transformers-compatPVP: major bump suggested

showing 5 of 14 versions

unix >=2.7.0 && <2.8 2.7.3 → 2.8.8.0 newer than bounds
2025-09-23 08:10 UTC2.8.8.0 newer than bounds+161/−207 lines, 6 filesdep ~basedep ~timePVP ok
2025-05-10 14:12 UTC2.8.7.0 newer than bounds+8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok
2024-11-19 15:41 UTC2.8.6.0 newer than bounds+1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested
2024-04-08 19:21 UTC2.8.5.1 newer than bounds+7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested
2023-12-01 00:53 UTC2.8.5.0 newer than bounds+55/−9 lines, 7 filesdep +os-stringdep ~filepathdep ~timePVP ok

showing 5 of 34 versions

unix-bytestring >=0.3.7 && <0.4 0.3.7.8 → 0.4.0.4 newer than bounds
2026-02-27 00:53 UTC0.4.0.4 newer than bounds+10/−6 lines, 3 filesdep ~basePVP ok
2025-02-12 00:16 UTC0.4.0.3 newer than bounds+9/−8 lines, 2 filesdep ~basedep ~bytestringPVP ok
2024-08-28 23:29 UTC0.4.0.2 newer than bounds+8/−5 lines, 2 filesPVP ok
2024-02-19 20:43 UTC0.4.0.1 newer than bounds+10/−7 lines, 2 filesdep ~basePVP ok
2023-03-19 22:30 UTC0.4.0 newer than bounds+966/−937 lines, 6 filesdep ~basedep ~bytestringPVP ok

showing 5 of 22 versions

Reverse dependencies

3 packages depend on hpio

mellon-gpio 0.8.0.7 requires hpio >=0.8 && <1
mellon-web 0.8.0.7 requires hpio >=0.8 && <1
pinpon 0.2.0.2 requires hpio >=0