I removed the Monad instance for the variant of Html which is serializable with embedded event-handler annotations. This currently means that one has to write things like
one possible problem is that this would not play very well with Lucid's Term overloading trick. Moreover, we might be better off anyways by using lucids approach to a HTML EDSL in Haskell; i.e., just use a WriterT Html and overload the different application forms using the Term typeclass.
I removed the
Monad
instance for the variant ofHtml
which is serializable with embedded event-handler annotations. This currently means that one has to write things liketo concatenate
Html
. I think it would be worth a try to useOverloadedLists
to simplify it toone possible problem is that this would not play very well with Lucid's
Term
overloading trick. Moreover, we might be better off anyways by usinglucid
s approach to a HTML EDSL in Haskell; i.e., just use aWriterT Html
and overload the different application forms using theTerm
typeclass.