Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module based on ReactFluxPropertiesAndEvents.hs.
Synopsis
- data SyntheticEvent = SyntheticEvent {}
- toSyntheticEvent :: Notice -> SyntheticEvent
Documentation
data SyntheticEvent Source #
Every Notice
can be parsed to an SyntheticEvent
.
SyntheticEvent
must only be used in the first part of handleEvent
.
SyntheticEvent | |
|
Instances
toSyntheticEvent :: Notice -> SyntheticEvent Source #
We can lie about this not being in IO because
within the strict part of handleEventM
the Notice is effectively immutable.