Safe Haskell | None |
---|---|
Language | Haskell2010 |
These classes are used to make various JavaScript types out of whatever we have. Functions in jsaddle take these as inputs. This alows implicit casting and eager evaluation.
- class MakeObject this where
- class MakeArgs this where
Type classes to convert Haskell data to JavaScript
class MakeObject this where Source #
Anything that can be used to make a JavaScript object reference
makeObject :: this -> JSM Object Source #
MakeObject Object Source # | If we already have a Object we are fine |