Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
PureShared | conversion is pure even if the original value is shared |
PureExclusive | conversion is pure if the we only convert once |
toJSVal_generic :: forall a. (Generic a, GToJSVal (Rep a ())) => (String -> String) -> a -> IO JSVal Source #
fromJSVal_generic :: forall a. (Generic a, GFromJSVal (Rep a ())) => (String -> String) -> JSVal -> IO (Maybe a) Source #
fromJSVal_pure :: PFromJSVal a => JSVal -> IO (Maybe a) Source #
fromJSValUnchecked_pure :: PFromJSVal a => JSVal -> IO a Source #