fay-dom: DOM FFI wrapper library for Fay

[ bsd3, fay, library, web ] [ Propose Tags ]

DOM FFI wrapper library for Fay


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0.0, 0.3, 0.4, 0.5, 0.5.0.1
Dependencies fay-base (>=0.14.1.0) [details]
License BSD-3-Clause
Copyright 2012 Adam Bergmark
Author Adam Bergmark
Maintainer adam@bergmark.nl
Category Web, Fay
Home page https://github.com/faylang/fay-dom
Bug tracker https://github.com/faylang/fay-dom/issues
Source repo head: git clone https://github.com/faylang/fay-dom.git
Uploaded by AdamBergmark at 2013-12-18T03:37:50Z
Distributions
Reverse Dependencies 3 direct, 1 indirect [details]
Downloads 5331 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed [all 1 reports]

Readme for fay-dom-0.3

[back to package description]

fay-dom

A FFI wrapper for DOM functions for use with Fay. It includes functions for the more commonly used DOM features. See fay-jquery if you want wrappers for jQuery.

Usage

git clone git://github.com/bergmark/fay-dom.git
cd fay-dom
cabal install

The library is now installed in your cabal directory and can be seen in haskell-mode auto-completion and such. To use this with Fay, use the --include flag:

fay --include=~/.cabal/share/fay-dom-0.1.0.0/src myfile.hs

To typecheck myfile.hs with ghc, do:

ghc ~/.cabal/share/fay-dom-0.1.0.0/src/ myfile.hs

Development Status

Rudimentary at the moment. Functions will be added when people find the need for them. A lot of what this library could do already exists in fay-jquery, but if anyone wants to write Fay without jQuery feel free to add whatever is missing.

Contributions

Fork on!

Any enhancements are welcome.

The github master might require the latest fay master, available at faylang/fay.