packages feed

Shellac-readline 0.9 → 0.9.5.2

raw patch · 2 files changed

+17/−14 lines, 2 filesdep −haskell98dep ~basePVP ok

version bump matches the API change (PVP)

Dependencies removed: haskell98

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

Shellac-readline.cabal view
@@ -1,5 +1,7 @@ Name:           Shellac-readline-Version:        0.9+Cabal-Version:  >= 1.2+Build-Type:     Simple+Version:        0.9.5.2 License:        BSD3 License-File:   LICENSE Author:         Robert Dockins@@ -7,19 +9,20 @@ Category:       User Interfaces Stability:      Beta Synopsis:       Readline backend module for Shellac+Homepage:       http://rwd.rdockins.name/shellac/home/ Description:    This package provides a Shellac backend based on the GNU readline    library.  This backend features all the line editing capabilities    provided by readline, as well as command completion and command    history features.-Hs-Source-Dirs:-   src-Build-Depends:-   base >= 1.0,-   haskell98 >= 1.0,-   readline >= 1.0,-   Shellac >= 0.9-Exposed-modules:-   System.Console.Shell.Backend.Readline-Extensions:-   ForeignFunctionInterface++Library +  Hs-Source-Dirs: src+  Build-Depends:+    base >= 1.0 && < 5,+    readline >= 1.0,+    Shellac >= 0.9+  Exposed-modules:+    System.Console.Shell.Backend.Readline+  Extensions:+    ForeignFunctionInterface
src/System/Console/Shell/Backend/Readline.hs view
@@ -25,8 +25,8 @@                             , BufferMode(..)                             ) import Foreign.Ptr          ( Ptr )-import Foreign.C            ( CInt, CString, withCString )-import Foreign.C.Error      ( Errno, eOK, errnoToIOError )+import Foreign.C            ( CInt(..), CString, withCString )+import Foreign.C.Error      ( Errno(..), eOK, errnoToIOError ) import Foreign.Storable     ( peek )  import qualified Control.Exception as Ex