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

Safe HaskellNone
LanguageHaskell2010

GHCJS.Marshal

Contents

Documentation

class FromJSVal a where Source #

Minimal complete definition

Nothing

Instances
FromJSVal Bool Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Char Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Double Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Float Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Int Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Int8 Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Int16 Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Int32 Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Word Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Word8 Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Word16 Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Word32 Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal () Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Text Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal Value Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal JSVal Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal JSString Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal a => FromJSVal [a] Source # 
Instance details

Defined in GHCJS.Marshal

FromJSVal a => FromJSVal (Maybe a) Source # 
Instance details

Defined in GHCJS.Marshal

(FromJSVal a, FromJSVal b) => FromJSVal (a, b) Source # 
Instance details

Defined in GHCJS.Marshal

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

Defined in GHCJS.Marshal

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 #

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

Defined in GHCJS.Marshal

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 #

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

Defined in GHCJS.Marshal

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 #

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

Defined in GHCJS.Marshal

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 #

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

Defined in GHCJS.Marshal

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 #

(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 # 
Instance details

Defined in GHCJS.Marshal

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 #

class ToJSVal a where Source #

Minimal complete definition

Nothing

Methods

toJSVal :: a -> IO JSVal Source #

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

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

Instances
ToJSVal Bool Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Char Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Double Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Float Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Int Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Int8 Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Int16 Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Int32 Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Word Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Word8 Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Word16 Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Word32 Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Text Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal Value Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal JSVal Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal JSString Source # 
Instance details

Defined in GHCJS.Marshal

ToJSVal a => ToJSVal [a] Source # 
Instance details

Defined in GHCJS.Marshal

Methods

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

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

ToJSVal a => ToJSVal (Maybe a) Source # 
Instance details

Defined in GHCJS.Marshal

(ToJSVal a, ToJSVal b) => ToJSVal (a, b) Source # 
Instance details

Defined in GHCJS.Marshal

Methods

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

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

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

Defined in GHCJS.Marshal

Methods

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

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

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

Defined in GHCJS.Marshal

Methods

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

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

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

Defined in GHCJS.Marshal

Methods

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

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

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

Defined in GHCJS.Marshal

Methods

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

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

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

Defined in GHCJS.Marshal

Methods

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

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

Orphan instances

FromJSVal Bool Source # 
Instance details

FromJSVal Char Source # 
Instance details

FromJSVal Double Source # 
Instance details

FromJSVal Float Source # 
Instance details

FromJSVal Int Source # 
Instance details

FromJSVal Int8 Source # 
Instance details

FromJSVal Int16 Source # 
Instance details

FromJSVal Int32 Source # 
Instance details

FromJSVal Word Source # 
Instance details

FromJSVal Word8 Source # 
Instance details

FromJSVal Word16 Source # 
Instance details

FromJSVal Word32 Source # 
Instance details

FromJSVal () Source # 
Instance details

FromJSVal Text Source # 
Instance details

FromJSVal Value Source # 
Instance details

FromJSVal JSVal Source # 
Instance details

FromJSVal JSString Source # 
Instance details

ToJSVal Bool Source # 
Instance details

ToJSVal Char Source # 
Instance details

ToJSVal Double Source # 
Instance details

ToJSVal Float Source # 
Instance details

ToJSVal Int Source # 
Instance details

ToJSVal Int8 Source # 
Instance details

ToJSVal Int16 Source # 
Instance details

ToJSVal Int32 Source # 
Instance details

ToJSVal Word Source # 
Instance details

ToJSVal Word8 Source # 
Instance details

ToJSVal Word16 Source # 
Instance details

ToJSVal Word32 Source # 
Instance details

ToJSVal Text Source # 
Instance details

ToJSVal Value Source # 
Instance details

ToJSVal JSVal Source # 
Instance details

ToJSVal JSString Source # 
Instance details

FromJSVal a => FromJSVal [a] Source # 
Instance details

FromJSVal a => FromJSVal (Maybe a) Source # 
Instance details

ToJSVal a => ToJSVal [a] Source # 
Instance details

Methods

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

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

ToJSVal a => ToJSVal (Maybe a) Source # 
Instance details

(FromJSVal a, FromJSVal b) => FromJSVal (a, b) Source # 
Instance details

(ToJSVal a, ToJSVal b) => ToJSVal (a, b) Source # 
Instance details

Methods

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

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

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

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 # 
Instance details

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 #