Not a Tutorial on HAppS
A long time ago I took a look at HAppS, a Haskell web application framework.
I recently got the excellent book Real World Haskell and have been working through the book. I wanted something to explore while doing this so I revisited HAppS to play around with web programming in Haskell.
There's some documentation out there on HAppS, compared to last time I looked at it. Some pointers:
I'm documenting what I learn as I go, writing Not a HAppS Tutorial, but a cookbook of examples doing small things as I learnt them.
Not a HAppS Tutorial is hosted on a wiki written in HAppS called Gitit. It's a nice piece of work and it also proved very useful in learning HAppS, looking at the code for a working piece of software.
Categories: haskell, happs
I recently got the excellent book Real World Haskell and have been working through the book. I wanted something to explore while doing this so I revisited HAppS to play around with web programming in Haskell.
There's some documentation out there on HAppS, compared to last time I looked at it. Some pointers:
- HAppS Google Group
- HAppS Tutorial 2
- The Cabalized, Self Demoing, HAppS Tutorial
- Software Simply's introduction to HAppS
I'm documenting what I learn as I go, writing Not a HAppS Tutorial, but a cookbook of examples doing small things as I learnt them.
Not a HAppS Tutorial is hosted on a wiki written in HAppS called Gitit. It's a nice piece of work and it also proved very useful in learning HAppS, looking at the code for a working piece of software.
Categories: haskell, happs
Labels: haskell

2 Comments:
Hi Chris,
I've been working my way through your "Not a HAppS tutorial and have run into a few problems which I suspect might be related to the fact that I'm using Happstack rather than HAppS - was hoping you could confirm or deny this?
Basically when using the code below (replaving HAppS with Happstack) I get error messages as compile time that indicate problems with the type signature of ServerPartT
import HAppS.Server
main = simpleHTTP nullConf [
method GET $ ok $ toResponse "Hello World"
]
If I replace the [ & ] with ( & ) it works fine. Have you any idea what's going on there?
Hi Stuart,
It looks like Happstack has made changes to the API. I'll take a look and update the tutorial.
Post a Comment
<< Home