The latest version of yesod is 1.6.2.1-0.
yesod
Version 0.2.0 revision 0 uploaded by MichaelSnoyman.
Package meta
- Synopsis
- Creation of type-safe, RESTful web applications.
- Description
Yesod is a framework designed to foster creation of RESTful web application that have strong compile-time guarantees of correctness. It also affords space efficient code and portability to many deployment backends, from CGI to stand-alone serving.
The Yesod documentation site http://docs.yesodweb.com/ has much more information, tutorials and information on some of the supporting packages, like Hamlet and web-routes-quasi.
As a quick overview, here is a fully-functional Hello World application:
{-# LANGUAGE TypeFamilies, QuasiQuotes, TemplateHaskell #-} import Yesod data HelloWorld = HelloWorld mkYesod "HelloWorld" [$parseRoutes|/ Home GET|] instance Yesod HelloWorld where approot _ = "" getHome = return $ RepPlain $ cs "Hello World!" main = toWaiApp HelloWorld >>= basicHandler 3000
- Author
- Michael Snoyman <michael@snoyman.com>
- Bug reports
- n/a
- Category
- Web
- Copyright
- n/a
- Homepage
- http://docs.yesodweb.com/yesod/
- Maintainer
- Michael Snoyman <michael@snoyman.com>
- Package URL
- n/a
- Stability
- Stable