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 -> 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
ReadForeign Foreign
ReadForeign Char
ReadForeign Number
ReadForeign Int
ReadForeign String
ReadForeign Boolean
(ReadForeign a) => ReadForeign (Array a)
(ReadForeign a) => ReadForeign (Maybe a)
(ReadForeign a) => ReadForeign (Nullable a)
(ReadForeign a) => ReadForeign (Object a)
(RowToList fields fieldList, ReadForeignFields fieldList () fields) => ReadForeign (Record fields)
(ReadForeign a) => ReadForeign (NonEmptyArray a)
#ReadForeignFields Source
class ReadForeignFields :: RowList Type -> Row Type -> Row Type -> Constraint
class ReadForeignFields (xs :: RowList Type) (from :: Row Type) (to :: Row Type) | xs -> from to where
A class for reading foreign values from properties
Members
Instances
(IsSymbol name, ReadForeign ty, ReadForeignFields tail from from', Lacks name from', Cons name ty from' to) => ReadForeignFields (Cons name ty tail) from to
ReadForeignFields Nil () ()
#WriteForeign Source
class WriteForeign a where
Members
Instances
WriteForeign Foreign
WriteForeign String
WriteForeign Int
WriteForeign Char
WriteForeign Number
WriteForeign Boolean
WriteForeign JSDate
(WriteForeign a) => WriteForeign (Array a)
(WriteForeign a, WriteForeign (Tuple b c)) => WriteForeign (Tuple a (Tuple b c))
(WriteForeign a, WriteForeign b) => WriteForeign (Tuple a b)
(WriteForeign a) => WriteForeign (Maybe a)
(WriteForeign a) => WriteForeign (Nullable a)
(WriteForeign a) => WriteForeign (Object a)
(RowToList row rl, WriteForeignFields rl row () to) => WriteForeign (Record row)
(WriteForeign a) => WriteForeign (NonEmptyArray a)
#WriteForeignFields Source
class WriteForeignFields :: RowList Type -> Row Type -> Row Type -> Row Type -> Constraint
class WriteForeignFields (rl :: RowList Type) row (from :: Row Type) (to :: Row Type) | rl -> row from to where
Members
writeImplFields :: forall g. g rl -> Record row -> Builder (Record from) (Record to)
Instances
(IsSymbol name, WriteForeign ty, WriteForeignFields tail row from from', Cons name ty whatever row, Lacks name from', Cons name Foreign from' to) => WriteForeignFields (Cons name ty tail) row from to
WriteForeignFields Nil row () ()
- Modules
- D3.
Format - D3.
TimeFormat - Main
- Topojson.
Client - VISX.
Annotation - VISX.
Axis - VISX.
Curve - VISX.
FFI - VISX.
Glyph - VISX.
Grid - VISX.
Interaction. Brush - VISX.
Interaction. Drag - VISX.
Interaction. Voronoi - VISX.
Interaction. Zoom - VISX.
Layout. Chord - VISX.
Layout. Geo - VISX.
Layout. Heatmap - VISX.
Layout. Hierarchy - VISX.
Layout. Network - VISX.
Layout. Stats - VISX.
Layout. Threshold - VISX.
Layout. XYChart - VISX.
Legend - VISX.
Marker - VISX.
Scale - VISX.
Shape - VISX.
Tooltip - VISX.
Util. Data. Bounds - VISX.
Util. Data. MockData - VISX.
Util. Data. Point - VISX.
Util. Data. Responsive - VISX.
Util. SVG. ClipPath - VISX.
Util. SVG. Event - VISX.
Util. SVG. Gradient - VISX.
Util. SVG. Group - VISX.
Util. SVG. Pattern