ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

GHCJS.Marshal.Pure

Contents

Documentation

class PFromJSVal a where Source #

Minimal complete definition

pFromJSVal

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

Methods

pFromJSVal :: JSVal -> Int8 Source #

PFromJSVal Int16 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Int16 Source #

PFromJSVal Int32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Int32 Source #

PFromJSVal Word Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal Word8 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Word8 Source #

PFromJSVal Word16 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Word16 Source #

PFromJSVal Word32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Word32 Source #

PFromJSVal () Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> () Source #

PFromJSVal Text Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pFromJSVal :: JSVal -> Text Source #

PFromJSVal JSVal Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal JSString Source # 
Instance details

Defined in GHCJS.Marshal.Pure

PFromJSVal MutableArrayBuffer Source # 
Instance details

Defined in JavaScript.TypedArray.ArrayBuffer.Internal

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 #

Minimal complete definition

pToJSVal

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

Methods

pToJSVal :: Word16 -> JSVal Source #

PToJSVal Word32 Source # 
Instance details

Defined in GHCJS.Marshal.Pure

Methods

pToJSVal :: Word32 -> JSVal Source #

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

Defined in JavaScript.TypedArray.ArrayBuffer.Internal

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

Methods

pFromJSVal :: JSVal -> Int8 Source #

PFromJSVal Int16 Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Int16 Source #

PFromJSVal Int32 Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Int32 Source #

PFromJSVal Word Source # 
Instance details

PFromJSVal Word8 Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Word8 Source #

PFromJSVal Word16 Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Word16 Source #

PFromJSVal Word32 Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Word32 Source #

PFromJSVal () Source # 
Instance details

Methods

pFromJSVal :: JSVal -> () Source #

PFromJSVal Text Source # 
Instance details

Methods

pFromJSVal :: JSVal -> Text Source #

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

Methods

pToJSVal :: Word16 -> JSVal Source #

PToJSVal Word32 Source # 
Instance details

Methods

pToJSVal :: Word32 -> JSVal Source #

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 #