ocaml-export-0.13.0: Convert Haskell types in OCaml types

Safe HaskellNone
LanguageHaskell2010

OCaml.BuckleScript.Spec

Synopsis

Documentation

mkGoldenDirSpec :: OCamlDatatype -> Maybe Int -> [Text] -> Text -> Doc Source #

test OCaml type serialization (bs-aeson) against Haskell produced golden files

toOCamlSpec :: OCamlType a => a -> [Text] -> Maybe Text -> Text -> Text Source #

typeInFileToOCamlSpec :: OCamlType a => a -> Int -> [Text] -> Maybe Text -> Text -> Text Source #

OCamlTypeInFile do not require an instance of OCamlType since they are hand written OCaml files for Haskell types. Use typeable to get the type name.