Popularity
4.1
Declining
Activity
0.0
Stable
4
2
4

Monthly Downloads: 57
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: System    
Latest version: v3.0.0.4

Hclip alternatives and similar packages

Based on the "System" category.
Alternatively, view Hclip alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Hclip or a related project?

Add another 'System' Package

README

Hclip

Hackage Build Status

A small cross-platform library for reading and modifying the system clipboard.

Hclip works on Windows, Mac OS X and Linux (but see the requirements below!).

Requirements

  • Windows: No additional requirements.
  • Mac OS X: Requires the pbcopy and pbpaste commands, which ship with Mac OS X.
  • Linux: Requires xclip or xsel installed.

Example Usage

λ: :m System.Hclip
λ: setClipboard "Haskell"
λ: getClipboard
"Haskell"
λ: modifyClipboard (reverse . map toUpper)
"LLEKSAH"
λ: :m +Control.Exception
λ: let f = zipWith ($) (cycle [toUpper, toLower])
λ: try (modifyClipboard (reverse . f)) :: IO (Either ClipboardException String)
Right "HaSkElL"