haskell-halogen-core
Safe HaskellNone
LanguageGHC2021

Data.Foreign

Documentation

newtype Foreign (tag :: k) Source #

Constructors

Foreign Any 

type Nullable (tag :: k) = Maybe (Foreign tag) Source #

nullableToMaybe :: forall {k} (tag :: k). Nullable tag -> Maybe (Foreign tag) Source #

toForeign :: forall {k} a (tag :: k). a -> Foreign tag Source #

unsafeFromForeign :: forall {k} (tag :: k) a. Foreign tag -> a Source #

readProp :: forall {k1} {k2} (tag :: k1) a (tag' :: k2). Text -> (Foreign tag -> Maybe a) -> Foreign tag' -> Maybe a Source #

foreignToString :: forall {k} (tag :: k). Foreign tag -> Text Source #

foreignToInt :: forall {k} (tag :: k). Foreign tag -> Int Source #

foreignToBool :: forall {k} (tag :: k). Foreign tag -> Bool Source #

unsafeRefEq :: a -> a -> Bool Source #

unsafeRefEq' :: a -> b -> Bool Source #