packages feed

Hclip 3.0.0.1 → 3.0.0.2

raw patch · 2 files changed

+2/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Hclip.cabal view
@@ -7,7 +7,7 @@ -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             3.0.0.1
+version:             3.0.0.2
 
 synopsis:            A small cross-platform library for reading and modifying the system clipboard.
 
System/Hclip.hs view
@@ -154,6 +154,7 @@ resolveLinuxApp :: Command a -> IO String
 resolveLinuxApp cmd = decode cmd <$> chooseFirstApp ["xsel", "xclip"] 
     where
+        decode :: Command a -> String -> String
         decode GetClipboard "xsel"      = "xsel -o"
         decode (SetClipboard _) "xsel"  = "xsel -i"
         decode GetClipboard "xclip"     = "xclip -selection c -o"