Skip to content
Haskell Shell
Find file
Latest commit 2d53334 @snoyberg snoyberg Merge pull request #19 from wolftune/master
footer update for Yesod book license as CC BY 4.0


You made it! You're currently looking behind the scenes at, the project page for Yesod. I'm not going to explain what Yesod is, that you learn when you point your browser to the link in the previous sentence.

The project page of Yesod is powered by... Yesod! And in this repository you can see how that is done: a good place to see Yesod applied in practice.


A recent GHC and HP

It is not hard science, but it seems that needs GHC 7.0.4 or newer and Haskell Platform (HP) 2011.4 or newer.

For good measures we first remove all traces of a previous Haskell installation (on Ubuntu sudo apt-get remove ghc6 and rm -rf ~/.cabal ~/.ghc might just be enough).

Then install GHC 7.0.4 or later. If you wish to install from source then you know probably what to do, installing a binary is explained for various operating systems.

On Ubuntu is was as simple as:

cd ~
# unpack and cd to dir
sudo make install

Then install the HP. On Ubuntu 11.04 we had to install from source:

# unpack and cd to dir
sudo make install

Now make sure that ~/.cabal/bin is in the path. On Ubuntu we do this by:

echo $PATH|grep ".cabal/bin"  # should give some output

Finally we need to upgrade alex as HP ships a version that is too old.

cabal install alex


Since changes often we advise anyone to get it through git (available on most platforms) so it is easy to keep up to date.

First time install is as follows:

git clone
git submodule update --init

To update the repos do:

git pull && git submodule update



cabal install


Easy too...

yesodweb Development --port 3000

Now point your browser to


Something went wrong with that request. Please try again.