ghcjs-base-0.2.0.0: base library for GHCJS
GHCJS.Marshal
class FromJSVal a where Source
Minimal complete definition
Nothing
Methods
fromJSVal :: JSVal -> IO (Maybe a) Source
fromJSValUnchecked :: JSVal -> IO a Source
fromJSValListOf :: JSVal -> IO (Maybe [a]) Source
fromJSValUncheckedListOf :: JSVal -> IO [a] Source
class ToJSVal a where Source
toJSVal :: a -> IO JSVal Source
toJSValListOf :: [a] -> IO JSVal Source
toJSVal_aeson :: ToJSON a => a -> IO JSVal Source
toJSVal_pure :: PToJSVal a => a -> IO JSVal Source