Module

Classless.EncodeJson

Package
purescript-classless-encode-json
Repository
thought2/purescript-classless-encode-json

#EncodeJson Source

type EncodeJson a = a -> Json

#array Source

array :: forall a. EncodeJson a -> EncodeJson (Array a)

#either Source

either :: forall a b. EncodeJson a -> EncodeJson b -> EncodeJson (Either a b)

#maybe Source

maybe :: forall a. EncodeJson a -> EncodeJson (Maybe a)

#tuple Source

tuple :: forall a b. EncodeJson a -> EncodeJson b -> EncodeJson (Tuple a b)

Re-exports from Classless.EncodeJson.Generic

#Sum Source

class Sum :: Row Type -> Type -> Constraintclass Sum sumSpec a | a -> sumSpec where

Members

Instances

Re-exports from Classless.EncodeJson.Record

#Record Source

class Record :: Row Type -> Row Type -> Constraintclass Record (spec :: Row Type) r | r -> spec where

Members

Instances