Module

VISX.FFI

Package
purescript-visx
Repository
i-am-the-slime/purescript-visx

#E Source

type E a = Either MultipleErrors a

An alias for the Either result of decoding

#write Source

write :: forall a. WriteForeign a => a -> Foreign

#read Source

read :: forall a. ReadForeign a => Foreign -> E a

Read a Foreign value to a type

#read' Source

read' :: forall a. ReadForeign a => Foreign -> F a

#read_ Source

read_ :: forall a. ReadForeign a => Foreign -> Maybe a

Read a Foreign value to a type, as a Maybe of type

#ReadForeign Source

class ReadForeign a  where

A class for reading foreign values to a type

Members

Instances

#ReadForeignFields Source

class ReadForeignFields :: RowList Type -> Row Type -> Row Type -> Constraintclass ReadForeignFields (xs :: RowList Type) (from :: Row Type) (to :: Row Type) | xs -> from to where

A class for reading foreign values from properties

Members

Instances

#WriteForeignFields Source

class WriteForeignFields :: RowList Type -> Row Type -> Row Type -> Row Type -> Constraintclass WriteForeignFields (rl :: RowList Type) row (from :: Row Type) (to :: Row Type) | rl -> row from to where

Members

Instances

#Options Source

class Options a b  where

Members

Instances