Safe Haskell | None |
---|---|
Language | Haskell2010 |
This backend is to serve as a canonical representation of a well-behaved backend. Defining well-behaved in the context of web development is rather difficult and complex.
The rules of a backend are informal. Roughly, if we give the backend some Html, we expect it to update the DOM at runtime in the way we expect.
Since this is canonical, all other backends are expected to behave identically to this one. If differences exist they should be patched so that we retain renderer polymorphism, such that we can change out the renderer of our application; without updating the application logic with confidence it will behave as expected.
Documentation
newtype ParDiffT model m a Source #
Instances
runParDiff :: TVar model -> ParDiffT model m ~> m Source #
ParDiffT
is a newtype
of ReaderT
, this is the runReaderT
equivalent.