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

Safe HaskellNone
LanguageHaskell2010

GHCJS.Marshal.Pure

Contents

Documentation

class PFromJSVal a where Source #

Methods

pFromJSVal :: JSVal -> a Source #

Instances
PFromJSVal Bool Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Char Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Double Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Float Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Int Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Int Source #

PFromJSVal Int8 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Int16 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Int32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Word Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Word8 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Word16 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Word32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal () Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> () Source #

PFromJSVal Text Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal JSVal Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal JSString Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal [Char] Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> [Char] Source #

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

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Maybe a Source #

class PToJSVal a where Source #

Methods

pToJSVal :: a -> JSVal Source #

Instances
PToJSVal Bool Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Bool -> JSVal Source #

PToJSVal Char Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Char -> JSVal Source #

PToJSVal Double Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PToJSVal Float Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Float -> JSVal Source #

PToJSVal Int Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Int -> JSVal Source #

PToJSVal Int8 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Int8 -> JSVal Source #

PToJSVal Int16 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Int16 -> JSVal Source #

PToJSVal Int32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Int32 -> JSVal Source #

PToJSVal Word Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Word -> JSVal Source #

PToJSVal Word8 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Word8 -> JSVal Source #

PToJSVal Word16 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PToJSVal Word32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PToJSVal Text Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Text -> JSVal Source #

PToJSVal JSVal Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: JSVal -> JSVal Source #

PToJSVal JSString Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PToJSVal [Char] Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: [Char] -> JSVal Source #

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

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Maybe a -> JSVal Source #

Orphan instances

PFromJSVal Bool Source # 
Instance details

PFromJSVal Char Source # 
Instance details

PFromJSVal Double Source # 
Instance details

PFromJSVal Float Source # 
Instance details

PFromJSVal Int Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Int Source #

PFromJSVal Int8 Source # 
Instance details

PFromJSVal Int16 Source # 
Instance details

PFromJSVal Int32 Source # 
Instance details

PFromJSVal Word Source # 
Instance details

PFromJSVal Word8 Source # 
Instance details

PFromJSVal Word16 Source # 
Instance details

PFromJSVal Word32 Source # 
Instance details

PFromJSVal () Source # 
Instance details

Methods

pFromJSVal :: JSVal -> () Source #

PFromJSVal Text Source # 
Instance details

PFromJSVal JSVal Source # 
Instance details

PFromJSVal JSString Source # 
Instance details

PToJSVal Bool Source # 
Instance details

Methods

pToJSVal :: Bool -> JSVal Source #

PToJSVal Char Source # 
Instance details

Methods

pToJSVal :: Char -> JSVal Source #

PToJSVal Double Source # 
Instance details

PToJSVal Float Source # 
Instance details

Methods

pToJSVal :: Float -> JSVal Source #

PToJSVal Int Source # 
Instance details

Methods

pToJSVal :: Int -> JSVal Source #

PToJSVal Int8 Source # 
Instance details

Methods

pToJSVal :: Int8 -> JSVal Source #

PToJSVal Int16 Source # 
Instance details

Methods

pToJSVal :: Int16 -> JSVal Source #

PToJSVal Int32 Source # 
Instance details

Methods

pToJSVal :: Int32 -> JSVal Source #

PToJSVal Word Source # 
Instance details

Methods

pToJSVal :: Word -> JSVal Source #

PToJSVal Word8 Source # 
Instance details

Methods

pToJSVal :: Word8 -> JSVal Source #

PToJSVal Word16 Source # 
Instance details

PToJSVal Word32 Source # 
Instance details

PToJSVal Text Source # 
Instance details

Methods

pToJSVal :: Text -> JSVal Source #

PToJSVal JSVal Source # 
Instance details

Methods

pToJSVal :: JSVal -> JSVal Source #

PToJSVal JSString Source # 
Instance details

PFromJSVal [Char] Source # 
Instance details

Methods

pFromJSVal :: JSVal -> [Char] Source #

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

Methods

pFromJSVal :: JSVal -> Maybe a Source #

PToJSVal [Char] Source # 
Instance details

Methods

pToJSVal :: [Char] -> JSVal Source #

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

Methods

pToJSVal :: Maybe a -> JSVal Source #