{-# LANGUAGE NoImplicitPrelude #-}
module GHC.IO.Handle.Lock.Common
( FileLockingNotSupported(..)
, LockMode(..)
) where
import GHC.Exception
import GHC.Show
data FileLockingNotSupported = FileLockingNotSupported
deriving Int -> FileLockingNotSupported -> ShowS
[FileLockingNotSupported] -> ShowS
FileLockingNotSupported -> String
(Int -> FileLockingNotSupported -> ShowS)
-> (FileLockingNotSupported -> String)
-> ([FileLockingNotSupported] -> ShowS)
-> Show FileLockingNotSupported
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FileLockingNotSupported] -> ShowS
$cshowList :: [FileLockingNotSupported] -> ShowS
show :: FileLockingNotSupported -> String
$cshow :: FileLockingNotSupported -> String
showsPrec :: Int -> FileLockingNotSupported -> ShowS
$cshowsPrec :: Int -> FileLockingNotSupported -> ShowS
Show
instance Exception FileLockingNotSupported
data LockMode = SharedLock | ExclusiveLock