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)
#char Source
char :: EncodeJson Char
#either Source
either :: forall a b. EncodeJson a -> EncodeJson b -> EncodeJson (Either a b)
#int Source
int :: EncodeJson Int
#maybe Source
maybe :: forall a. EncodeJson a -> EncodeJson (Maybe a)
#tuple Source
tuple :: forall a b. EncodeJson a -> EncodeJson b -> EncodeJson (Tuple a b)