[Haskell-cafe] on Happstack - "embedded HTML"

MightyByte mightybyte at gmail.com
Tue Jan 12 13:31:27 EST 2010


The example you came across is probably using HSP [1] to generate
HTML.  Happstack isn't tied to a specific method of generating HTML.
You could use HSP or other libraries such as html-minimalist [2],
xhtml [3], HStringTemplate [4], or even plain old manual construction
of strings.

[1] http://www.cs.chalmers.se/~d00nibro/hsp/
[2] http://hackage.haskell.org/package/html-minimalist
[3] http://hackage.haskell.org/package/xhtml
[4] http://hackage.haskell.org/package/HStringTemplate

2010/1/12 Günther Schmidt <gue.schmidt at web.de>:
> Hi,
>
> I'm just introducing myself to Happstack. I come across an example page
> where HTML and haskell code is mixed.
>
> Is this how happstack produces html, it's haskell code embedded in HTML?
>
> Günther
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list