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

Safe HaskellNone
LanguageHaskell2010

GHCJS.Marshal

Contents

Documentation

class FromJSVal a where Source #

class ToJSVal a where Source #

Methods

toJSVal :: a -> IO JSVal Source #

toJSValListOf :: [a] -> IO JSVal Source #

toJSVal :: (Generic a, GToJSVal (Rep a ())) => a -> IO JSVal Source #

Orphan instances

FromJSVal Bool Source # 
FromJSVal Char Source # 
FromJSVal Double Source # 
FromJSVal Float Source # 
FromJSVal Int Source # 
FromJSVal Int8 Source # 
FromJSVal Int16 Source # 
FromJSVal Int32 Source # 
FromJSVal Word Source # 
FromJSVal Word8 Source # 
FromJSVal Word16 Source # 
FromJSVal Word32 Source # 
FromJSVal () Source # 
FromJSVal Text Source # 
FromJSVal Value Source # 
FromJSVal JSVal Source # 
FromJSVal JSString Source # 
ToJSVal Bool Source # 
ToJSVal Char Source # 
ToJSVal Double Source # 
ToJSVal Float Source # 
ToJSVal Int Source # 
ToJSVal Int8 Source # 
ToJSVal Int16 Source # 
ToJSVal Int32 Source # 
ToJSVal Word Source # 
ToJSVal Word8 Source # 
ToJSVal Word16 Source # 
ToJSVal Word32 Source # 
ToJSVal Text Source # 
ToJSVal Value Source # 
ToJSVal JSVal Source # 
ToJSVal JSString Source # 
FromJSVal a => FromJSVal [a] Source # 
FromJSVal a => FromJSVal (Maybe a) Source # 
ToJSVal a => ToJSVal [a] Source # 

Methods

toJSVal :: [a] -> IO JSVal Source #

toJSValListOf :: [[a]] -> IO JSVal Source #

ToJSVal a => ToJSVal (Maybe a) Source # 
(FromJSVal a, FromJSVal b) => FromJSVal (a, b) Source # 
(ToJSVal a, ToJSVal b) => ToJSVal (a, b) Source # 

Methods

toJSVal :: (a, b) -> IO JSVal Source #

toJSValListOf :: [(a, b)] -> IO JSVal Source #

(FromJSVal a, FromJSVal b, FromJSVal c) => FromJSVal (a, b, c) Source # 

Methods

fromJSVal :: JSVal -> IO (Maybe (a, b, c)) Source #

fromJSValUnchecked :: JSVal -> IO (a, b, c) Source #

fromJSValListOf :: JSVal -> IO (Maybe [(a, b, c)]) Source #

fromJSValUncheckedListOf :: JSVal -> IO [(a, b, c)] Source #

(ToJSVal a, ToJSVal b, ToJSVal c) => ToJSVal (a, b, c) Source # 

Methods

toJSVal :: (a, b, c) -> IO JSVal Source #

toJSValListOf :: [(a, b, c)] -> IO JSVal Source #

(FromJSVal a, FromJSVal b, FromJSVal c, FromJSVal d) => FromJSVal (a, b, c, d) Source # 

Methods

fromJSVal :: JSVal -> IO (Maybe (a, b, c, d)) Source #

fromJSValUnchecked :: JSVal -> IO (a, b, c, d) Source #

fromJSValListOf :: JSVal -> IO (Maybe [(a, b, c, d)]) Source #

fromJSValUncheckedListOf :: JSVal -> IO [(a, b, c, d)] Source #

(ToJSVal a, ToJSVal b, ToJSVal c, ToJSVal d) => ToJSVal (a, b, c, d) Source # 

Methods

toJSVal :: (a, b, c, d) -> IO JSVal Source #

toJSValListOf :: [(a, b, c, d)] -> IO JSVal Source #

(FromJSVal a, FromJSVal b, FromJSVal c, FromJSVal d, FromJSVal e) => FromJSVal (a, b, c, d, e) Source # 

Methods

fromJSVal :: JSVal -> IO (Maybe (a, b, c, d, e)) Source #

fromJSValUnchecked :: JSVal -> IO (a, b, c, d, e) Source #

fromJSValListOf :: JSVal -> IO (Maybe [(a, b, c, d, e)]) Source #

fromJSValUncheckedListOf :: JSVal -> IO [(a, b, c, d, e)] Source #

(ToJSVal a, ToJSVal b, ToJSVal c, ToJSVal d, ToJSVal e) => ToJSVal (a, b, c, d, e) Source # 

Methods

toJSVal :: (a, b, c, d, e) -> IO JSVal Source #

toJSValListOf :: [(a, b, c, d, e)] -> IO JSVal Source #

(FromJSVal a, FromJSVal b, FromJSVal c, FromJSVal d, FromJSVal e, FromJSVal f) => FromJSVal (a, b, c, d, e, f) Source # 

Methods

fromJSVal :: JSVal -> IO (Maybe (a, b, c, d, e, f)) Source #

fromJSValUnchecked :: JSVal -> IO (a, b, c, d, e, f) Source #

fromJSValListOf :: JSVal -> IO (Maybe [(a, b, c, d, e, f)]) Source #

fromJSValUncheckedListOf :: JSVal -> IO [(a, b, c, d, e, f)] Source #

(ToJSVal a, ToJSVal b, ToJSVal c, ToJSVal d, ToJSVal e, ToJSVal f) => ToJSVal (a, b, c, d, e, f) Source # 

Methods

toJSVal :: (a, b, c, d, e, f) -> IO JSVal Source #

toJSValListOf :: [(a, b, c, d, e, f)] -> IO JSVal Source #

(FromJSVal a, FromJSVal b, FromJSVal c, FromJSVal d, FromJSVal e, FromJSVal f, FromJSVal g) => FromJSVal (a, b, c, d, e, f, g) Source # 

Methods

fromJSVal :: JSVal -> IO (Maybe (a, b, c, d, e, f, g)) Source #

fromJSValUnchecked :: JSVal -> IO (a, b, c, d, e, f, g) Source #

fromJSValListOf :: JSVal -> IO (Maybe [(a, b, c, d, e, f, g)]) Source #

fromJSValUncheckedListOf :: JSVal -> IO [(a, b, c, d, e, f, g)] Source #

(ToJSVal a, ToJSVal b, ToJSVal c, ToJSVal d, ToJSVal e, ToJSVal f, ToJSVal g) => ToJSVal (a, b, c, d, e, f, g) Source # 

Methods

toJSVal :: (a, b, c, d, e, f, g) -> IO JSVal Source #

toJSValListOf :: [(a, b, c, d, e, f, g)] -> IO JSVal Source #

(FromJSVal a, FromJSVal b, FromJSVal c, FromJSVal d, FromJSVal e, FromJSVal f, FromJSVal g, FromJSVal h) => FromJSVal (a, b, c, d, e, f, g, h) Source # 

Methods

fromJSVal :: JSVal -> IO (Maybe (a, b, c, d, e, f, g, h)) Source #

fromJSValUnchecked :: JSVal -> IO (a, b, c, d, e, f, g, h) Source #

fromJSValListOf :: JSVal -> IO (Maybe [(a, b, c, d, e, f, g, h)]) Source #

fromJSValUncheckedListOf :: JSVal -> IO [(a, b, c, d, e, f, g, h)] Source #