This package provides a Reflex wrapper around the ACE editor. It is very incomplete and was derived from code written for hsnippet. This is also intended to serve as an example of how to structure FFI packages that rely on external JS packages.
You can run the test app with the following (assuming you've got
reflex-platform at .. and wai-app-static aka the warp binary installed
in your path):
Using one terminal, from this project's directory do:
warp -d libThen in another terminal do:
../reflex-platform/work-on ghc ./.
cabal configure
cabal repl reflex-dom-ace-exeThat will drop you into the repl from which you can simply:
runDefThen visit http://localhost:8888.