{-# LANGUAGE CPP, StandaloneDeriving, DeriveDataTypeable #-}
module Control.Concurrent.STM.SSemInternals(SSem(SSem)) where
import Control.Concurrent.STM.TVar(TVar)
import Data.Typeable(Typeable)
#if __GLASGOW_HASKELL__ < 707
#include "Typeable.h"
#endif
newtype SSem = SSem (TVar Int)
deriving ( SSem -> SSem -> Bool
(SSem -> SSem -> Bool) -> (SSem -> SSem -> Bool) -> Eq SSem
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SSem -> SSem -> Bool
== :: SSem -> SSem -> Bool
$c/= :: SSem -> SSem -> Bool
/= :: SSem -> SSem -> Bool
Eq
#if __GLASGOW_HASKELL__ >= 707
, Typeable
#endif
)
#if __GLASGOW_HASKELL__ < 707
INSTANCE_TYPEABLE0(SSem,semTc,"SSem")
#endif