PortMidi v0.2.0.0 Release Notes

  • ๐Ÿ”„ Changed

    • Error reporting (Breaking change). All functions now adhere to the Either conventions: real errors are returned in a Left, successes are returned in a Right. The non-errors constructors of PMError (NoError and GotData) were moved to a new type PMSuccess.

    โž• Added

    • ๐Ÿ“Š The poll function which binds to ๐Ÿ“Š Pm_Poll.
    • The readEventsToBuffer function, to read events in a user-supplied buffer.
    • The PMSuccess type representing non-errors, with its associated functions getText and getSuccessText.