packages feed

purescript-bridge 0.8.0.0 → 0.8.0.1

raw patch · 3 files changed

+7/−9 lines, 3 files

Files

README.md view
@@ -18,9 +18,7 @@  ## Documentation -Usage of this library is documented in [`Language.Purescript.Bridge`](http://hackage.haskell.org/package/purescript-bridge/docs/Language-PureScript-Bridge.html).--All you should need to get started is: [`writePSTypes`](http://hackage.haskell.org/package/purescript-bridge/docs/Language-PureScript-Bridge.html#writePSTypes).+Usage of this library is documented in `Language.Purescript.Bridge`, with `writePSTypes` you should have everything to get started. Documentation can be found [here](https://www.stackage.org/nightly/package/purescript-bridge).  ## Status 
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.8.0.0+version:             0.8.0.1  -- A short (one-line) description of the package. synopsis:            Generate PureScript data types from Haskell data types
src/Language/PureScript/Bridge.hs view
@@ -54,10 +54,10 @@ --   in your own bridges, in order for this feature to be useful. -- --  == Real world usage example (at time of this writing outdated, at time of reading hopefully fixed):---   A real world use case of this library can be found <https://github.com/gonimo/gonimo-back/blob/master/src/PSGenerator.hs here>.+--   A real world use case of this library can be found <https://github.com/gonimo/gonimo-back/blob/master/app/PSGenerator.hs here>. -----   With custom bridges defined <https://github.com/gonimo/gonimo-back/blob/master/src/Gonimo/TypeBridges.hs here> and---   custom PS types defined <https://github.com/gonimo/gonimo-back/blob/master/src/Gonimo/PSTypes.hs here>.+--   With custom bridges defined <https://github.com/gonimo/gonimo-back/blob/master/src/Gonimo/CodeGen/TypeBridges.hs here> and+--   custom PS types defined <https://github.com/gonimo/gonimo-back/blob/master/src/Gonimo/CodeGen/PSTypes.hs here>. -- --   Parts of the generated output can be found <https://github.com/gonimo/gonimo-front/blob/master/src/Gonimo/Types.purs here>. --@@ -72,10 +72,10 @@     let bridged = map (bridgeSumType br) sts     let modules = M.elems $ sumTypesToModules M.empty bridged     mapM_ (printModule root) modules-    T.putStrLn "Successfully created your PureScript modules.\n"-    T.putStrLn "Make sure you have the following PureScript packages installed:\n"+    T.putStrLn "The following purescript packages are needed by the generated code:\n"     let packages = sumTypesToNeededPackages bridged     mapM_ (T.putStrLn . mappend "  - ") packages+    T.putStrLn "\nSuccessfully created your PureScript modules!"  -- | Translate all 'TypeInfo' values in a 'SumType' to PureScript types. --