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

Safe HaskellNone
LanguageHaskell2010

OCaml.BuckleScript.Spec

Synopsis

Documentation

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

typeInFileToOCamlSpec :: OCamlType a => a -> Int -> [Text] -> 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.