packages feed

jsaddle 0.5.0.0 → 0.5.0.1

raw patch · 2 files changed

+24/−11 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

jsaddle.cabal view
@@ -1,15 +1,16 @@ name: jsaddle-version: 0.5.0.0+version: 0.5.0.1 cabal-version: >=1.10 build-type: Simple license: MIT license-file: LICENSE maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com>-synopsis: High level interface for webkit-javascriptcore+synopsis: Interface for JavaScript that works with GHCJS and GHC description:-    This package provides an EDSL for calling JavaScript code using-    the JavaScriptCore engine and low level Haskell bindings-    in the webkit-javascriptcore library <https://github.com/ghcjs/webkit-javascriptcore>.+    This package provides an EDSL for calling JavaScript that+    can be used both from GHCJS and GHC.  When using GHC+    the application is run using Warp and WebSockets to+    drive a small JavaScipt helper. category: Web, Javascript author: Hamish Mackenzie data-files:
src/Language/Javascript/JSaddle.hs view
@@ -7,9 +7,10 @@ -- -- Maintainer  :  Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com> ----- | This package provides an EDSL for calling JavaScript code using---   the JavaScriptCore engine and low level Haskell bindings---   in the webkit-javascriptcore library <https://github.com/ghcjs/webkit-javascriptcore>.+-- | This package provides an EDSL for calling JavaScript that+--   can be used both from GHCJS and GHC.  When using GHC+--   the application is run using Warp and WebSockets to+--   drive a small JavaScipt helper. -----------------------------------------------------------------------------  module Language.Javascript.JSaddle (@@ -44,9 +45,20 @@    -- * GHCJS Support   -- | When built with ghcjs the code works using JavaScript FFI by default.-  --   It can also be built to use webkitgtk3-javascriptcore C FFI as there-  --   are shims for these (but this introduces a dependancy on WebKitGTK+-  --   and is probably not as fast).++  -- * GHC Support+  -- | When built with ghc the code runs a small Warp server that provides+  --   index.html and jsaddle.js files.  When a browser is connected the+  --   code in jsaddle.js will open a WebSockets connection to the server+  --   and the server will run the Haskell code.  The JSaddle parts will+  --   be executed by sending commands back to the browser.++  --   Although the code JavaScript code is executed in the the strict order+  --   set out by the EDSL it done asynchonously to the Haskell code.+  --   This improves the performance by reducing the number of round trips+  --   needed between the Haskell and JavaScript code.++  --       -- * Modules     module JSaddle