Copyright | Plow Technologies 2017 |
---|---|
License | BSD3 |
Maintainer | [email protected] |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
OCaml.BuckleScript.Encode
Description
For a Haskell type with an instance of OCamlType, output an OCaml type to JSON (aeson) encoder.
Synopsis
- toOCamlEncoderSourceWith :: forall a. OCamlType a => Options -> a -> Text
- toOCamlEncoderInterfaceWith :: forall a. OCamlType a => Options -> a -> Text