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

Safe HaskellNone
LanguageHaskell2010

JavaScript.Cast

Synopsis

Documentation

class Cast a where 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