Module

Solid.Internal.Serializable

Package
purescript-purs-solid
Repository
arazorda/purs-solid

Internal: not part of the public API.

#Serializable Source

class Serializable a 

Types that survive Solid's serialization unchanged: primitives, Unit, Nullable, Json, arrays, objects and records of them. A newtype over one can derive it (derive newtype instance Serializable UserId). ADTs lose their constructors, so they need an explicit codec.

Instances