ghcjs-base-stub-0.2.0.0: Allow GHCJS projects to compile under GHC and develop using intero.

Safe HaskellNone
LanguageHaskell2010

JavaScript.Cast

Synopsis

Documentation

class Cast a where Source #

Minimal complete definition

unsafeWrap, instanceRef

cast :: forall a. Cast a => JSVal -> Maybe a Source #

unsafeCast :: Cast a => JSVal -> a Source #

Don't ever run this in GHC - guaranteed segfault