ghcjs-base-stub-0.3.0.1: Allow GHCJS projects to compile under GHC and develop using intero.
JavaScript.Cast
class Cast a where Source #
Methods
unsafeWrap :: JSVal -> a Source #
instanceRef :: a -> JSVal Source #
cast :: forall a. Cast a => JSVal -> Maybe a Source #
unsafeCast :: Cast a => JSVal -> a Source #
Don't ever run this in GHC - guaranteed segfault