<commit_before>homepage: http://github.com/ninegua/PortMidi
changelog-type: markdown
hash: b4d0bdcbd3ecca53c7e0bdcf73d1d49855736961fd66d4cea408ac95717f8d05
test-bench-deps: {}
maintainer: ! '<NAME> <<EMAIL>>

  , <NAME> <<EMAIL>>'
synopsis: A binding for PortMedia/PortMidi
changelog: ! "# Changelog\n\nThis project adheres to [Haskell PVP](https://pvp.haskell.org/).\n\nThe
  format of this changelog is based on\n[Keep a Changelog](http://keepachangelog.com/en/1.0.0/)\n\n\n##
  0.2.0.0\n### Changed\n- Error reporting (Breaking change).\n  All functions now
  adhere to the `Either`\n  [conventions](http://hackage.haskell.org/package/base-4.11.1.0/docs/Data-Either.html):\n
  \   real errors are returned in a `Left`,\n    successes are returned in a `Right`.\n
  \ The non-errors constructors of `PMError`\n    (`NoError` and `GotData`) were moved
  to a new type `PMSuccess`.\n\n### Added\n- The `poll` function which binds to\n[`Pm_Poll`](http://portmedia.sourceforge.net/portmidi/doxygen/group__grp__io.html#g344e6ba3edb14d560ccb074d66b56590).\n-
  The `readEventsToBuffer` function, to read events in a user-supplied buffer.\n-
  The `PMSuccess` type representing non-errors, with its associated\n    functions
  `getText` and `getSuccessText`.\n\n\n## 0.1.6.1\n\ncommit 3b92597d84113969371612fb5c590b9f8c77d53c\nAuthor:
  <NAME> <<EMAIL>>\nDate:   Wed Jul 6 09:34:40 2016 -0700\n\n    Fix case
  sensitivity, and bump version to 0.1.6.1 to correct version number\n\ncommit 2d5266dd325f2c248a9022679abfcebe9b317a95\nAuthor:
  <NAME> <<EMAIL>>\nDate:   Tue Jul 5 21:37:24 2016 -0700\n\n    Move to
  github, and bump version to 0.1.5.3\n\ncommit d7946afcfd7c3204c1ea999ed7fdb9c4e9ff20a7\nAuthor:
  <NAME> <<EMAIL>>\nDate:   Sun Apr 3 00:46:02 2016 -0700\n\n    PMEvent uses
  CLong as message type to better handle SysEx.\n\n    Ignore-this: 367f146403228813c914a23bfc2a1248\n
  \   - This is a breaking change. Use encodeMsg or decodeMsg to work with PMMsg.\n\n
  \   darcs-hash:20160403074602-da8e5-05c03013660b8fc91f843fa22143ec2b7ea5d7b5\n\ncommit
  d5217416a5477f10a36727254425a572d18b7e4a\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Sun Apr 3 00:40:29 2016 -0700\n\n    Use LANGUAGE pragma instead of OPTIONS_GHC\n\n
  \   Ignore-this: c65fb70875497b8e6c46f76ee9105dbe\n\n    darcs-hash:20160403074029-da8e5-378ba491b94131265a94f115bf068971f869ea2b\n\ncommit
  358452adfcf91c2436752f9b95ebcc5d5124db97\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Sun Apr 3 00:40:09 2016 -0700\n\n    Detect freebsd OS\n\n    Ignore-this: 9f819a332d364679acc2e005488f9375\n\n
  \   darcs-hash:20160403074009-da8e5-16571867d53492c3fb7dc84df8fb8a500a71312a\n\ncommit
  c64496ded49633100864e8e0e192a9333ef8caa5\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 22:17:09 2015 -0700\n\n    Add CHANGELOG.txt to package, and bump
  version to 0.1.5.2\n\n    Ignore-this: 465173236978f9557dbbc574b5d34a8f\n\n    darcs-hash:20150922051709-da8e5-824c6e4c060e3c85ee3831cebde4a88fd3f8582b\n\ncommit
  fda70ecb49f85fd4dccc5daaecbdd9f96fe1651f\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:29:09 2015 -0700\n\n    Update README and bump version to 0.1.5.1\n\n
  \   Ignore-this: 98500cbf8d27a5068949cb458648500e\n\n    darcs-hash:20150921182909-da8e5-fc100f8c68c20229a726f31ce8fd7051e8c13163\n\ncommit
  044b0f47f3fc3bc6ade39c2972fb4b40c16c4e05\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:17:37 2015 -0700\n\n    Bump version to 0.1.5\n\n    Ignore-this:
  4fb2ae12ea9145bac0f0459ff3073169\n\n    darcs-hash:20150921181737-da8e5-75d0be5001d877daf0c359687c66408afec0639b\n\ncommit
  a158c93a9d50c8bc56a3be908effd4020f9e7cc0\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:16:04 2015 -0700\n\n    On some systems, Int is not the same size
  as CInt.\n\n    Ignore-this: 7bd6231264f14d66dd4c0156cc3266ba\n\n    - Added hidden
  module Sound.PortMidi.DeviceInfo, moving DeviceInfo and peekDeviceInfo there\n     -
  this allowed it to be a hsc2hs module, enabling peekDeviceInfo to use C generated
  structure offsets and sizes\n    - FFI declarations for C calls that take and return
  PmError and PmDeviceID have been changed to take and return CInt rather than Int\n
  \   - Haskell functions interfacing with C calls have had fromIntegral calls added
  as needed\n    - toPMError convenience function added, which replaced many calls
  to toEnum\n    - FFI declaration for Pm_CountDevices added, countDevices became
  a Haskell function\n    - PMError's toEnum function produces a more useful error
  message when the \"impossible\" happens\n\n    darcs-hash:20150921181604-63162-de113c7c4da4f42d274b8b6c0641563c8670f606\n\ncommit
  cfae744f937cf4dfafd9e03bce9e0088a5b375f5\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:15:00 2015 -0700\n\n    Add strictness annotation when necessary\n\n
  \   Ignore-this: 9e5792f9ad04c797fcd51b244d7485fa\n\n    darcs-hash:20150921181500-63162-dd522488d7f680cf536655d8cb1a878e489dcc98\n\ncommit
  4fb6f505b2f495bad6ddd1072ff41b51001d9b44\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed May 6 00:33:40 2015 -0700\n\n    Update cabal file, and bump version to 0.1.4\n\n
  \   Ignore-this: 8b1d17f401ebd925a4bc6ff7778b453d\n\n    darcs-hash:20150506073340-da8e5-0cf190250915842e35fc5f3177e576d84fb82026\n\ncommit
  a164e464065c84f3f4e958c53271f930c097f2d3\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed May 6 00:33:10 2015 -0700\n\n    Use withCAString for writeSysEx\n\n    Ignore-this:
  9499c201b5fb289cda27c090fdbf1541\n\n    darcs-hash:20150506073310-da8e5-ecd2cf32c5f121cc95b97c1e9a495d189b0391cc\n\ncommit
  c3ad563bbce9fbc25c8470865ded7b070d0d030e\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed Sep 16 11:06:11 2009 -0700\n\n    remove conflicts in cabal file\n\n    Ignore-this:
  3ef1f4b655182e4cc5eb861e8f2427f1\n\n    darcs-hash:20090916180611-da8e5-47cff7e32f38c7d54155784dbf2ddee6f1053faf\n\ncommit
  6b0963d50576c0572155e421a4e6d02c8c649d8c\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed Sep 16 11:01:59 2009 -0700\n\n    fix compilation problem on OS X\n\n    Ignore-this:
  a87d64d1c1a59bd161edecbde23932e3\n\n    darcs-hash:20090916180159-da8e5-62407ea637a40e789f7e316a6fe181f56bc8fa1f\n\ncommit
  13c1d569f8566968bd0a214903d11c08a1101a2a\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Thu Jul 30 14:32:59 2009 -0700\n\n    make cabal work for ghc 6.10.* on OS X\n\n
  \   darcs-hash:20090730213259-da8e5-f5a2558120fba824bb05440a8d7e3a2985fab2ed\n\ncommit
  8b7e2ea3c5ef6cb2b436e136964c2ee5814ffc02\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Thu Sep 4 18:59:02 2008 -0700\n\n    PortMidi-0.1 initial release\n\n    darcs-hash:20080905015902-da8e5-902a16abf5d28adda47ab45f6c0927a1042caf09\n"
basic-deps:
  base: ! '>=3 && <5'
all-versions:
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.1.4'
- '0.1.5'
- '0.1.5.1'
- '0.1.5.2'
- '0.1.5.3'
- '0.1.6.0'
- '0.1.6.1'
- '0.2.0.0'
author: ''
latest: '0.2.0.0'
description-type: text
description: ! "This is a Haskell module for PortMidi audio library, which supports\nreal-time
  MIDI input and output.\n\n=========\nChangeLog\n=========\n\nPlease see CHANGELOG.md.\n\n============\nInstallation\n============\n\nThe
  usual cabal installation steps apply, either:\n\n       runhaskell Setup.hs configure\n
  \      runhaskell Setup.hs build\n       runhaskell Setup.hs install\n\nor simply:\n\n
  \      cabal install\n\nThis will install a PortMidi package that contains a Sound.PortMidi
  module.\n\n==============================\nBug reports / Feature requests\n==============================\n\nBug
  reports and feature requests can be created here:\nhttps://github.com/ninegua/PortMidi/issues.\n"
license-name: BSD3
<commit_msg>Update from Hackage at 2018-08-11T16:33:01Z<commit_after>homepage: http://github.com/ninegua/PortMidi
changelog-type: markdown
hash: 0671e36ec72e95138bf396234b205864a8a6d0ee353e09e01cbfd57004c56f40
test-bench-deps: {}
maintainer: ! '<NAME> <<EMAIL>>

  , <NAME> <<EMAIL>>'
synopsis: A binding for PortMedia/PortMidi
changelog: ! "# Changelog\n\nThis project adheres to [Haskell PVP](https://pvp.haskell.org/).\n\nThe
  format of this changelog is based on\n[Keep a Changelog](http://keepachangelog.com/en/1.0.0/)\n\n\n##
  0.2.0.0\n### Changed\n- Error reporting (Breaking change).\n  All functions now
  adhere to the `Either`\n  [conventions](http://hackage.haskell.org/package/base-4.11.1.0/docs/Data-Either.html):\n
  \   real errors are returned in a `Left`,\n    successes are returned in a `Right`.\n
  \ The non-errors constructors of `PMError`\n    (`NoError` and `GotData`) were moved
  to a new type `PMSuccess`.\n\n### Added\n- The `poll` function which binds to\n[`Pm_Poll`](http://portmedia.sourceforge.net/portmidi/doxygen/group__grp__io.html#g344e6ba3edb14d560ccb074d66b56590).\n-
  The `readEventsToBuffer` function, to read events in a user-supplied buffer.\n-
  The `PMSuccess` type representing non-errors, with its associated\n    functions
  `getText` and `getSuccessText`.\n\n\n## 0.1.6.1\n\ncommit 3b92597d84113969371612fb5c590b9f8c77d53c\nAuthor:
  <NAME> <<EMAIL>>\nDate:   Wed Jul 6 09:34:40 2016 -0700\n\n    Fix case
  sensitivity, and bump version to 0.1.6.1 to correct version number\n\ncommit 2d5266dd325f2c248a9022679abfcebe9b317a95\nAuthor:
  <NAME> <<EMAIL>>\nDate:   Tue Jul 5 21:37:24 2016 -0700\n\n    Move to
  github, and bump version to 0.1.5.3\n\ncommit d7946afcfd7c3204c1ea999ed7fdb9c4e9ff20a7\nAuthor:
  <NAME> <<EMAIL>>\nDate:   Sun Apr 3 00:46:02 2016 -0700\n\n    PMEvent uses
  CLong as message type to better handle SysEx.\n\n    Ignore-this: 367f146403228813c914a23bfc2a1248\n
  \   - This is a breaking change. Use encodeMsg or decodeMsg to work with PMMsg.\n\n
  \   darcs-hash:20160403074602-da8e5-05c03013660b8fc91f843fa22143ec2b7ea5d7b5\n\ncommit
  d5217416a5477f10a36727254425a572d18b7e4a\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Sun Apr 3 00:40:29 2016 -0700\n\n    Use LANGUAGE pragma instead of OPTIONS_GHC\n\n
  \   Ignore-this: c65fb70875497b8e6c46f76ee9105dbe\n\n    darcs-hash:20160403074029-da8e5-378ba491b94131265a94f115bf068971f869ea2b\n\ncommit
  358452adfcf91c2436752f9b95ebcc5d5124db97\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Sun Apr 3 00:40:09 2016 -0700\n\n    Detect freebsd OS\n\n    Ignore-this: 9f819a332d364679acc2e005488f9375\n\n
  \   darcs-hash:20160403074009-da8e5-16571867d53492c3fb7dc84df8fb8a500a71312a\n\ncommit
  c64496ded49633100864e8e0e192a9333ef8caa5\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 22:17:09 2015 -0700\n\n    Add CHANGELOG.txt to package, and bump
  version to 0.1.5.2\n\n    Ignore-this: 465173236978f9557dbbc574b5d34a8f\n\n    darcs-hash:20150922051709-da8e5-824c6e4c060e3c85ee3831cebde4a88fd3f8582b\n\ncommit
  fda70ecb49f85fd4dccc5daaecbdd9f96fe1651f\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:29:09 2015 -0700\n\n    Update README and bump version to 0.1.5.1\n\n
  \   Ignore-this: 98500cbf8d27a5068949cb458648500e\n\n    darcs-hash:20150921182909-da8e5-fc100f8c68c20229a726f31ce8fd7051e8c13163\n\ncommit
  044b0f47f3fc3bc6ade39c2972fb4b40c16c4e05\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:17:37 2015 -0700\n\n    Bump version to 0.1.5\n\n    Ignore-this:
  4fb2ae12ea9145bac0f0459ff3073169\n\n    darcs-hash:20150921181737-da8e5-75d0be5001d877daf0c359687c66408afec0639b\n\ncommit
  a158c93a9d50c8bc56a3be908effd4020f9e7cc0\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:16:04 2015 -0700\n\n    On some systems, Int is not the same size
  as CInt.\n\n    Ignore-this: 7bd6231264f14d66dd4c0156cc3266ba\n\n    - Added hidden
  module Sound.PortMidi.DeviceInfo, moving DeviceInfo and peekDeviceInfo there\n     -
  this allowed it to be a hsc2hs module, enabling peekDeviceInfo to use C generated
  structure offsets and sizes\n    - FFI declarations for C calls that take and return
  PmError and PmDeviceID have been changed to take and return CInt rather than Int\n
  \   - Haskell functions interfacing with C calls have had fromIntegral calls added
  as needed\n    - toPMError convenience function added, which replaced many calls
  to toEnum\n    - FFI declaration for Pm_CountDevices added, countDevices became
  a Haskell function\n    - PMError's toEnum function produces a more useful error
  message when the \"impossible\" happens\n\n    darcs-hash:20150921181604-63162-de113c7c4da4f42d274b8b6c0641563c8670f606\n\ncommit
  cfae744f937cf4dfafd9e03bce9e0088a5b375f5\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Mon Sep 21 11:15:00 2015 -0700\n\n    Add strictness annotation when necessary\n\n
  \   Ignore-this: 9e5792f9ad04c797fcd51b244d7485fa\n\n    darcs-hash:20150921181500-63162-dd522488d7f680cf536655d8cb1a878e489dcc98\n\ncommit
  4fb6f505b2f495bad6ddd1072ff41b51001d9b44\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed May 6 00:33:40 2015 -0700\n\n    Update cabal file, and bump version to 0.1.4\n\n
  \   Ignore-this: 8b1d17f401ebd925a4bc6ff7778b453d\n\n    darcs-hash:20150506073340-da8e5-0cf190250915842e35fc5f3177e576d84fb82026\n\ncommit
  a164e464065c84f3f4e958c53271f930c097f2d3\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed May 6 00:33:10 2015 -0700\n\n    Use withCAString for writeSysEx\n\n    Ignore-this:
  9499c201b5fb289cda27c090fdbf1541\n\n    darcs-hash:20150506073310-da8e5-ecd2cf32c5f121cc95b97c1e9a495d189b0391cc\n\ncommit
  c3ad563bbce9fbc25c8470865ded7b070d0d030e\nAuthor: <NAME> <<EMAIL>.net>\nDate:
  \  Wed Sep 16 11:06:11 2009 -0700\n\n    remove conflicts in cabal file\n\n    Ignore-this:
  3ef1f4b655182e4cc5eb861e8f2427f1\n\n    darcs-hash:20090916180611-da8e5-47cff7e32f38c7d54155784dbf2ddee6f1053faf\n\ncommit
  6b0963d50576c0572155e421a4e6d02c8c649d8c\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Wed Sep 16 11:01:59 2009 -0700\n\n    fix compilation problem on OS X\n\n    Ignore-this:
  a87d64d1c1a59bd161edecbde23932e3\n\n    darcs-hash:20090916180159-da8e5-62407ea637a40e789f7e316a6fe181f56bc8fa1f\n\ncommit
  13c1d569f8566968bd0a214903d11c08a1101a2a\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Thu Jul 30 14:32:59 2009 -0700\n\n    make cabal work for ghc 6.10.* on OS X\n\n
  \   darcs-hash:20090730213259-da8e5-f5a2558120fba824bb05440a8d7e3a2985fab2ed\n\ncommit
  8b7e2ea3c5ef6cb2b436e136964c2ee5814ffc02\nAuthor: <NAME> <<EMAIL>>\nDate:
  \  Thu Sep 4 18:59:02 2008 -0700\n\n    PortMidi-0.1 initial release\n\n    darcs-hash:20080905015902-da8e5-902a16abf5d28adda47ab45f6c0927a1042caf09\n"
basic-deps:
  base: ! '>=4.8 && <5'
all-versions:
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.1.4'
- '0.1.5'
- '0.1.5.1'
- '0.1.5.2'
- '0.1.5.3'
- '0.1.6.0'
- '0.1.6.1'
- '0.2.0.0'
author: ''
latest: '0.2.0.0'
description-type: text
description: ! "This is a Haskell module for PortMidi audio library, which supports\nreal-time
  MIDI input and output.\n\n=========\nChangeLog\n=========\n\nPlease see CHANGELOG.md.\n\n============\nInstallation\n============\n\nThe
  usual cabal installation steps apply, either:\n\n       runhaskell Setup.hs configure\n
  \      runhaskell Setup.hs build\n       runhaskell Setup.hs install\n\nor simply:\n\n
  \      cabal install\n\nThis will install a PortMidi package that contains a Sound.PortMidi
  module.\n\n==============================\nBug reports / Feature requests\n==============================\n\nBug
  reports and feature requests can be created here:\nhttps://github.com/ninegua/PortMidi/issues.\n"
license-name: BSD3

{'fraction_non_alphanumeric': 0.12220173821437977, 'fraction_numerical': 0.21595996839610218, 'mean_word_length': 4.196373588778652, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 28, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2979560', 'n_tokens_mistral': 8526, 'n_tokens_neox': 6752, 'n_words': 1176}