@@ -12,9 +12,9 @@ Download the [Haskell Platform](http://hackage.haskell.org/platform/). This will
1212
1313This will ensure that the elm package is available. Then install Elm with:
1414
15− cabal install elm
15+ cabal install elm-server
1616
17−Assuming everything goes correctly (potential problems are discussed later), this will build two executables on your machine:
17+Assuming everything goes correctly (potential problems are discussed later, Yesod and HAppStack users should read on as well), this will build two executables on your machine:
1818
1919* `elm` is a standard compiler that takes `.elm` files and produces `.html` files. You can then use these HTML files with your favorite web-framework.
2020
@@ -33,6 +33,18 @@ That is almost everything. Now, we will create a simple Elm project. The followi
3333The first two commands create a new directory and navigate into it. Then next command (`wget`) downloads the [elm-mini.js](https://raw.github.com/evancz/Elm/master/elm-mini.js) file which is the Elm runtime system and must be in the root directory of your Elm project. If you do not have wget, just follow [this link](https://raw.github.com/evancz/Elm/master/elm-mini.js) and download it directly. The `echo` command places a simple program into `main.elm`. The final command starts the Elm server at [localhost](http://localhost:8000/), allowing you to navigate to `main.elm` and see your first program in action.
3434
3535
36+Elm + Haskell:
37+--------------------------------------
38+
39+For Yesod users who want to avoid the HAppStack dependency, you can install with:
40+
41+ cabal install elm-yesod
42+
43+This will give you everything except `elm-server` which is HAppStack based. The `elm` package (a dependency for `elm-yesod` and `elm-server`) provides support for [compilation directly in Haskell](http://hackage.haskell.org/packages/archive/Elm/0.1.2/doc/html/Language-Elm.html) and [QuasiQuoting](http://hackage.haskell.org/packages/archive/Elm/0.1.2/doc/html/Language-Elm-Quasi.html). `elm-yesod` uses these functions to provide more idiomatic ways to embed Elm in Yesod.
44+
45+For both HappStack and Yesod users, see the [Examples/](https://github.com/evancz/Elm/tree/master/Examples) directory for information and examples on how to get started with Elm+Haskell.
46+
47+
3648Potential problems and their solutions:
3749---------------------------------------
3850