https://github.com/reflex-frp/reflex-dom-semui
A reflex-dom API for Semantic UI components
https://github.com/reflex-frp/reflex-dom-semui
frp functional-reactive-programming haskell reactive reflex-frp
Last synced: about 1 month ago
JSON representation
A reflex-dom API for Semantic UI components
- Host: GitHub
- URL: https://github.com/reflex-frp/reflex-dom-semui
- Owner: reflex-frp
- License: bsd-3-clause
- Created: 2016-09-29T08:55:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T15:18:18.000Z (over 6 years ago)
- Last Synced: 2025-04-05T07:33:11.520Z (about 2 months ago)
- Topics: frp, functional-reactive-programming, haskell, reactive, reflex-frp
- Language: Haskell
- Homepage: https://reflex-frp.org/
- Size: 3.88 MB
- Stars: 22
- Watchers: 13
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/reflex-frp/reflex-dom-semui)
This package provides a Reflex wrapper around the Semantic UI components. It is very
incomplete and was derived from [code written for
hsnippet](https://github.com/mightybyte/hsnippet/blob/64cc17d2bf2bcce219f3ab8e96b7fd6071d5b56b/frontend/src/SemanticUI.hs).
This is also intended to serve as an example of how to structure FFI packages
that rely on external JS packages.To build this library locally use reflex-platform's work-on script as follows:
~/reflex-platform/work-on ghcjs ./.
This puts you into a nix shell that has GHCJS and the environment it needs.
Then you can build with:cabal configure --ghcjs
cabal build---
A compiled version of the code in the `example` folder is available in `docs/index.html` or online at https://reflex-frp.github.io/reflex-dom-semui/.
To rebuild the example app and update the `docs` folder, just run
cabal configure --ghcjs --enable-tests
cabal build example && ./makedocs.sh