purescript-bridge 0.3.0.4 → 0.3.0.5
raw patch · 2 files changed
+8/−1 lines, 2 files
Files
purescript-bridge.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.3.0.4+version: 0.3.0.5 -- A short (one-line) description of the package. synopsis: Generate PureScript data types from Haskell data types
src/Language/PureScript/Bridge.hs view
@@ -47,6 +47,13 @@ -- -- Find examples for implementing your own type bridges in: "Language.PureScript.Bridge.Primitives". --+-- == Result:+-- 'writePSTypes' will write out PureScript modules to the given path, mirroring the hierarchy of the Haskell modules+-- the types came from. In addition a list of needed PS packages is printed to the console.+--+-- The list of needed packages is retrieved from the bridged 'TypeInfo' data, so make sure you set 'typePackage' correctly+-- in your own bridges, in order for this feature to be useful.+-- -- == Real world usage example: -- A real world use case of this library can be found <https://github.com/gonimo/gonimo-back/blob/master/src/MkFrontendTypes.hs here>. --