Safe Haskell | None |
---|---|
Language | Haskell2010 |
Shpadoinkle.Debug
Synopsis
- class LogJS (c :: Type -> Constraint) where
- class LogJS c => Trapper c where
- trapper :: c a => JSContextRef -> a -> a
- askJSM :: MonadJSM m => m JSContextRef
Documentation
class LogJS (c :: Type -> Constraint) where Source #
class LogJS c => Trapper c where Source #
Minimal complete definition
Nothing
Methods
trapper :: c a => JSContextRef -> a -> a Source #
Instances
Trapper Show Source # | |
Defined in Shpadoinkle.Debug Methods trapper :: Show a => JSContextRef -> a -> a Source # | |
Trapper ToJSON Source # | |
Defined in Shpadoinkle.Debug Methods trapper :: ToJSON a => JSContextRef -> a -> a Source # | |
Trapper ToJSVal Source # | |
Defined in Shpadoinkle.Debug Methods trapper :: ToJSVal a => JSContextRef -> a -> a Source # |
askJSM :: MonadJSM m => m JSContextRef #
Gets the JavaScript context from the monad