Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type LockEv = NewLockId :- (GetLock :- (Unlock :- 'Nil))
- type GetThreadIdNewLockId = GetThreadId :- (NewLockId :- 'Nil)
- type GetThreadIdGetLock = GetThreadId :- (GetLock :- 'Nil)
- type SingletonUnlock = Singleton Unlock
- data LockId
- data NewLockId
- data GetLock
- data Unlock
- newLockId :: React s GetThreadIdNewLockId LockId
- withLock :: ((es :+: es') ~ es', (GetThreadIdGetLock :+: es') ~ es', (SingletonUnlock :+: es') ~ es', Adjustable es es', Adjustable GetThreadIdGetLock es', Adjustable SingletonUnlock es') => LockId -> React s es a -> React s es' a
- withLockSig :: ((es :+: es') ~ es', (GetThreadIdGetLock :+: es') ~ es', (SingletonUnlock :+: es') ~ es', Adjustable es es', Adjustable GetThreadIdGetLock es', Adjustable SingletonUnlock es') => LockId -> Sig s es a r -> Sig s es' a r
Type
type GetThreadIdNewLockId = GetThreadId :- (NewLockId :- 'Nil) Source #
type GetThreadIdGetLock = GetThreadId :- (GetLock :- 'Nil) Source #
type SingletonUnlock = Singleton Unlock Source #
Instances
Event Type
Instances
Show NewLockId Source # | |
Eq NewLockId Source # | |
Request NewLockId Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
Selectable NewLockId Source # | |
Numbered NewLockId Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
data Occurred NewLockId Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
type Number NewLockId Source # | |
Defined in Control.Moffy.Event.Lock.Internal type Number NewLockId = 9497218619641473126 |
Instances
Show GetLock Source # | |
Eq GetLock Source # | |
Request GetLock Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
Selectable GetLock Source # | |
Numbered GetLock Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
data Occurred GetLock Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
type Number GetLock Source # | |
Defined in Control.Moffy.Event.Lock.Internal type Number GetLock = 15386887119095662171 |
Instances
Show Unlock Source # | |
Request Unlock Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
Selectable Unlock Source # | |
Numbered Unlock Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
data Occurred Unlock Source # | |
Defined in Control.Moffy.Event.Lock.Internal | |
type Number Unlock Source # | |
Defined in Control.Moffy.Event.Lock.Internal type Number Unlock = 17365853235197324207 |
Event
withLock :: ((es :+: es') ~ es', (GetThreadIdGetLock :+: es') ~ es', (SingletonUnlock :+: es') ~ es', Adjustable es es', Adjustable GetThreadIdGetLock es', Adjustable SingletonUnlock es') => LockId -> React s es a -> React s es' a Source #
withLockSig :: ((es :+: es') ~ es', (GetThreadIdGetLock :+: es') ~ es', (SingletonUnlock :+: es') ~ es', Adjustable es es', Adjustable GetThreadIdGetLock es', Adjustable SingletonUnlock es') => LockId -> Sig s es a r -> Sig s es' a r Source #