yesod: Creation of type-safe, RESTful web applications.

[ library, mit, web, yesod ] [ Propose Tags ]

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

Modules

[Last Documentation]

  • Yesod
    • Yesod.Content
    • Yesod.Dispatch
    • Yesod.Form
    • Yesod.Hamlet
    • Yesod.Handler
    • Helpers
      • Yesod.Helpers.AtomFeed
      • Yesod.Helpers.Auth
      • Yesod.Helpers.Sitemap
      • Yesod.Helpers.Static
    • Yesod.Internal
    • Yesod.Json
    • Yesod.Request
    • Yesod.Yesod

Flags

Automatic Flags
NameDescriptionDefault
buildtests

Build the executable to run unit tests

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0, 0.0.0.1, 0.0.0.2, 0.2.0, 0.3.0, 0.3.1, 0.3.1.1, 0.4.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.1, 0.5.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.4.1, 0.5.4.2, 0.6.0, 0.6.0.1, 0.6.0.2, 0.6.1, 0.6.1.1, 0.6.1.2, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.2.1, 0.9.1, 0.9.1.1, 0.9.2, 0.9.2.1, 0.9.2.2, 0.9.3, 0.9.3.1, 0.9.3.2, 0.9.3.3, 0.9.3.4, 0.9.4, 0.9.4.1, 0.10.1, 0.10.1.1, 0.10.1.2, 0.10.1.3, 0.10.1.4, 0.10.2, 1.0.0, 1.0.0.1, 1.0.0.2, 1.0.1, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.1.5, 1.0.1.6, 1.1.0, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.1.1, 1.1.1.2, 1.1.2, 1.1.3, 1.1.3.1, 1.1.4, 1.1.4.1, 1.1.5, 1.1.6, 1.1.7, 1.1.7.1, 1.1.7.2, 1.1.8, 1.1.8.1, 1.1.8.2, 1.1.9, 1.1.9.1, 1.1.9.2, 1.1.9.3, 1.1.9.4, 1.2.0, 1.2.0.1, 1.2.1, 1.2.1.1, 1.2.2, 1.2.2.1, 1.2.3, 1.2.4, 1.2.5, 1.2.5.1, 1.2.5.2, 1.2.5.3, 1.2.6, 1.2.6.1, 1.4.0, 1.4.1, 1.4.1.1, 1.4.1.2, 1.4.1.3, 1.4.1.4, 1.4.1.5, 1.4.2, 1.4.2.1, 1.4.3, 1.4.3.1, 1.4.4, 1.4.5, 1.6.0, 1.6.0.1, 1.6.0.2, 1.6.1.0, 1.6.1.1, 1.6.1.2, 1.6.2, 1.6.2.1
Dependencies authenticate (>=0.6.2 && <0.7), base (>=4 && <5), bytestring (>=0.9.1.4 && <0.10), cereal (>=0.2 && <0.3), clientsession (>=0.4.0 && <0.5), control-monad-attempt (>=0.3 && <0.4), convertible-text (>=0.3.0 && <0.4), directory (>=1 && <1.1), hamlet (>=0.2.2 && <0.3), HUnit, MonadCatchIO-transformers (>=0.1 && <0.3), old-locale (>=1.0.0.2 && <1.1), pureMD5 (>=1.1.0.0 && <1.2), QuickCheck (>=2 && <3), random (>=1.0.0.2 && <1.1), template-haskell (>=2.4 && <2.5), test-framework, test-framework-hunit, test-framework-quickcheck2, text (>=0.5 && <0.8), time (>=1.1.3 && <1.2), transformers (>=0.1 && <0.3), wai (>=0.1.0 && <0.2), wai-extra (>=0.1.2 && <0.2), web-routes (>=0.22 && <0.23), web-routes-quasi (>=0.3 && <0.4) [details]
License BSD-3-Clause
Author Michael Snoyman <michael@snoyman.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category Web
Home page http://docs.yesodweb.com/yesod/
Source repo head: git clone git://github.com/snoyberg/yesod.git
Uploaded by MichaelSnoyman at 2010-05-24T12:13:25Z
Distributions Arch:1.6.2.1, Debian:1.6.1.0, Fedora:1.6.2.1, FreeBSD:1.4.1.5, LTSHaskell:1.6.2.1, NixOS:1.6.2.1, Stackage:1.6.2.1, openSUSE:1.6.2.1
Reverse Dependencies 50 direct, 25 indirect [details]
Executables runtests
Downloads 160423 total (733 in the last 30 days)
Rating 2.0 (votes: 8) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-30 [all 7 reports]