Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
Nothing
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
toJSVal_pure :: PToJSVal a => a -> IO JSVal Source
fromJSVal_pure :: PFromJSVal a => JSVal -> IO (Maybe a) Source
fromJSValUnchecked_pure :: PFromJSVal a => JSVal -> IO a Source