[cleanup thomashartman1@gmail.com**20080925105543] hunk ./templates/mainfunction.st 5 -

Two bits of code that should jump out at you as being important are "entrypoint" and "controller".

+

Two bits of code that should jump out at you as being important are "entrypoint :: Proxy AppState" + and "controller".

hunk ./templates/mainfunction.st 8 -

So, open this file in ghci: cd src; ghci Main.hs and have a look at these functions using ghci :i .

+

The entrypoint function has to do with the HAppS state system, and we'll pospone learning about it for later.

+ +

To learn more about what the controller function is doing, + , open this file in ghci: cd src; ghci Main.hs and have a look at these functions using ghci :info .

hunk ./templates/mainfunction.st 13 -

*Main> :info entryPoint -
entryPoint :: HAppS.Data.Proxy.Proxy Session.State -
-- Defined at Model.hs... -
*Main> :i controller +

*Main> :i controller hunk ./templates/mainfunction.st 18 -

The entrypoint function has to do with the HAppS state system, and we'll pospone learning about it for later.

hunk ./templates/mainfunction.st 19 +