This is WIP ATM and will probably stay such for a while.
How to build
First, get the repo with
git clone and
cd into the directory, and after that make sure that the reflex-platform is in place:
git submodule update --init --recursive
To build with GHC, use the nix-shell command to enter the sandbox shell and use cabal (which is supplied by the sandbox). This builds webkit2gtk-version but jsaddle-warp can be used as well.
nix-shell -A shells.ghc cabal new-build all
To build with GHCJS:
nix-shell -A shells.ghcjs cabal --project-file=cabal-ghcjs.project --builddir=dist-ghcjs new-build all
You can also build examples separately by replacing all with exe:name, e.g.
cabal new-build exe:tableEx cabal --project-file=cabal-ghcjs.project --builddir=dist-ghcjs new-build exe:exampleTbl
For further information, see the following
Note that if you have already obtained repo but want to update the reflex-platform, you can try, e.g.,
git submodule foreach "(git checkout develop; git pull --recurse-submodules)&"
(Note that the above command gets the develop-branch of the platform.)
See also the .ghci. The warp-compilation can be used with ghci. Also, the dev-server.sh can be used if first uncommenting the corresponding target from examplesBs.cabal-file and then entering the nix-shell with ghc-tools (not ghcjs). The examples don't use the external js-files very well at the moment.
The wish list is quite long at the moment. The list can be seen at todo.md. It includes larger ones that probably take longer time and things that are on to-be-done-next list and on would-be-nice-to-have list.
The webkit2gtk-versions are not working properly, because most of the css-libs assume some js and, at the moment, we have not implemented the corresponding functionality based on frp.
This lib is probably going to go through some re-organization and such things.
See github, and especially
Some of the above libs are actively developed so be sure to check them!