servant/servant-jsaddle
Robert Hensing e14a14fb5c Add servant-client-jsaddle
- servant-client-jsaddle: Remove some debug printing
- Update .travis.yml with haskell-ci
- servant-client-jsaddle: bump base bounds
- Add libgirepository1.0-dev
- servant-client-jsaddle: bump upper bound on containers
- servant-client-jsaddle: relax upper bound on semigroupoids
- servant-client-jsaddle: bump servant-client-core dependency
- servant-client-jsaddle: fix compatibility
- servant-client-jsaddle: import correct module
- .travis.yml: run xvfb for headless GUI testing
- Use ghcjs-dom instead of jsaddle-dom directly.
- Also use ghcjs-dom in tests.
- Ignore exceptions on send - they are handled in toResponse.
- Apparently ghcjs-dom does use the same exception these days.
- Got rid of obsolete comment.
- Make sure response gets handled even in case of exception.
- Update servant-client-jsaddle/servant-client-jsaddle.cabal

Dependingon ghcjs-dom avoids the dependency on jsaddle-dom on ghcjs and
have slightly better performance on ghcjs.

Co-Authored-By: Herbert Valerio Riedel <hvr@gnu.org>
2019-09-08 10:28:21 +03:00
..
src/Servant/Client Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00
test Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00
CHANGELOG.md Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00
LICENSE Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00
README.md Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00
servant-jsaddle.cabal Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00
Setup.hs Add servant-client-jsaddle 2019-09-08 10:28:21 +03:00

servant-client-jsaddle

This is a an implementation of the servant-client-core API on top of jsaddle, a framework that lets you write Haskell programs that compile to javascript to run in a browser or compile to native code that connects to a browser.

It is similar to servant-client-ghcjs, except it supports native compilation and native GHCi. It even reuses some of the logic from servant-client-ghcjs.

Build

This package comes with a test suite that depends on jsaddle-webkit2gtk. You may want to skip that because of the heavy dependency footprint.

cabal new-build --allow-newer=aeson,http-types --disable-tests

Usage

TBD. Similar to servant-client and servant-client-ghcjs.