Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.232 kb
module Main where
import Control.Monad
import Foreign.Ptr
import Graphics.Win32.GDI.Clip
main = do
openClipboard nullPtr
go 0
where
go n = do
n' <- enumClipboardFormats n
unless (n == 0) (go n')
Jump to Line
Something went wrong with that request. Please try again.