Skip to content

reflex-frp/reflex-dom-ace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

running

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 lib

Then in another terminal do:

../reflex-platform/work-on ghc ./.
cabal configure
cabal repl reflex-dom-ace-exe

That will drop you into the repl from which you can simply:

runDef

Then visit http://localhost:8888.