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

Safe HaskellNone
LanguageHaskell2010

GHCJS.Marshal.Pure

Contents

Documentation

class PFromJSVal a where Source #

Minimal complete definition

pFromJSVal

Methods

pFromJSVal :: JSVal -> a Source #

class PToJSVal a where Source #

Minimal complete definition

pToJSVal

Methods

pToJSVal :: a -> JSVal Source #

Orphan instances

PFromJSVal Bool Source # 
PFromJSVal Char Source # 
PFromJSVal Double Source # 
PFromJSVal Float Source # 
PFromJSVal Int Source # 

Methods

pFromJSVal :: JSVal -> Int Source #

PFromJSVal Int8 Source # 
PFromJSVal Int16 Source # 
PFromJSVal Int32 Source # 
PFromJSVal Word Source # 
PFromJSVal Word8 Source # 
PFromJSVal Word16 Source # 
PFromJSVal Word32 Source # 
PFromJSVal () Source # 

Methods

pFromJSVal :: JSVal -> () Source #

PFromJSVal Text Source # 
PFromJSVal JSVal Source # 
PFromJSVal JSString Source # 
PToJSVal Bool Source # 

Methods

pToJSVal :: Bool -> JSVal Source #

PToJSVal Char Source # 

Methods

pToJSVal :: Char -> JSVal Source #

PToJSVal Double Source # 
PToJSVal Float Source # 

Methods

pToJSVal :: Float -> JSVal Source #

PToJSVal Int Source # 

Methods

pToJSVal :: Int -> JSVal Source #

PToJSVal Int8 Source # 

Methods

pToJSVal :: Int8 -> JSVal Source #

PToJSVal Int16 Source # 

Methods

pToJSVal :: Int16 -> JSVal Source #

PToJSVal Int32 Source # 

Methods

pToJSVal :: Int32 -> JSVal Source #

PToJSVal Word Source # 

Methods

pToJSVal :: Word -> JSVal Source #

PToJSVal Word8 Source # 

Methods

pToJSVal :: Word8 -> JSVal Source #

PToJSVal Word16 Source # 
PToJSVal Word32 Source # 
PToJSVal Text Source # 

Methods

pToJSVal :: Text -> JSVal Source #

PToJSVal JSVal Source # 

Methods

pToJSVal :: JSVal -> JSVal Source #

PToJSVal JSString Source # 
PFromJSVal [Char] Source # 

Methods

pFromJSVal :: JSVal -> [Char] Source #

PFromJSVal a => PFromJSVal (Maybe a) Source # 

Methods

pFromJSVal :: JSVal -> Maybe a Source #

PToJSVal [Char] Source # 

Methods

pToJSVal :: [Char] -> JSVal Source #

PToJSVal a => PToJSVal (Maybe a) Source # 

Methods

pToJSVal :: Maybe a -> JSVal Source #