packages feed

zmidi-core 0.1.0 → 0.2.0

raw patch · 5 files changed

+89/−2 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ ZMidi.Core.VersionNumber: zmidi_core_version :: (Int, Int, Int)

Files

+ CHANGES view
@@ -0,0 +1,9 @@++0.1.0 to 0.2.0:++  * Added a top-level /shim/ module to import all the exposed+    modules. Added a version number module++0.1.0:++  * Initial release.
+ src/ZMidi/Core.hs view
@@ -0,0 +1,37 @@+{-# OPTIONS -Wall #-}++--------------------------------------------------------------------------------+-- |+-- Module      :  ZMidi.Core+-- Copyright   :  (c) Stephen Tetley 2010+-- License     :  BSD3+--+-- Maintainer  :  Stephen Tetley <stephen.tetley@gmail.com>+-- Stability   :  unstable+-- Portability :  As per dependencies.+--+-- Common interface to @ZMidi.Core@.+--+-- This is a /shim/ module re-exporting types and functions from+-- the exposed ZMidi-Core modules. Just import this module to use +-- ZMidi-Core. +--+--------------------------------------------------------------------------------+++module ZMidi.Core+  (+    module ZMidi.Core.Datatypes+  , module ZMidi.Core.Pretty+  , module ZMidi.Core.ReadFile+  , module ZMidi.Core.VersionNumber+  , module ZMidi.Core.WriteFile+    +  ) where++import ZMidi.Core.Datatypes+import ZMidi.Core.Pretty+import ZMidi.Core.ReadFile+import ZMidi.Core.VersionNumber+import ZMidi.Core.WriteFile+
src/ZMidi/Core/Datatypes.hs view
@@ -64,6 +64,9 @@ import Data.Word import Numeric (showHex) ++-- | TagByte is an alias to 'Word8'.+-- type TagByte = Word8  
+ src/ZMidi/Core/VersionNumber.hs view
@@ -0,0 +1,28 @@+{-# OPTIONS -Wall #-}++--------------------------------------------------------------------------------+-- |+-- Module      :  ZMidi.Core.VersionNumber+-- Copyright   :  (c) Stephen Tetley 2010+-- License     :  BSD3+--+-- Maintainer  :  stephen.tetley@gmail.com+-- Stability   :  unstable+-- Portability :  GHC+--+-- Version number+--+--------------------------------------------------------------------------------++module ZMidi.Core.VersionNumber+  ( +    zmidi_core_version++  ) where++-- | Version number+--+-- > (0,2,0)+--+zmidi_core_version :: (Int,Int,Int)+zmidi_core_version = (0,2,0)
zmidi-core.cabal view
@@ -1,5 +1,5 @@ name:             zmidi-core-version:          0.1.0+version:          0.2.0 license:          BSD3 license-file:     LICENSE copyright:        Stephen Tetley <stephen.tetley@gmail.com>@@ -11,12 +11,20 @@   Minimalist library to read and write MIDI files, with    dependencies only on ByteString and Data.Binary.   .-+  Changelog:+  . +  v0.1.0 to v0.2.0:+  .+  * Added a top-level /shim/ module to import all the exposed+    modules. Added a version number module+  .+  . build-type:         Simple stability:          unstable cabal-version:      >= 1.2  extra-source-files:+  CHANGES,   demo/MidiPrint.hs,   demo/MidiCopy.hs @@ -28,9 +36,11 @@                       binary >= 0.5      exposed-modules:+    ZMidi.Core,     ZMidi.Core.Datatypes,     ZMidi.Core.Pretty,     ZMidi.Core.ReadFile,+    ZMidi.Core.VersionNumber,     ZMidi.Core.WriteFile    other-modules: