Removed Widget alias, defined by scaffolder now

This commit is contained in:
Michael Snoyman 2010-10-13 15:17:25 +02:00
parent bd2e033acb
commit 6d326855d9
3 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,6 @@
module Yesod.Widget
( -- * Datatype
GWidget (..)
, Widget
, liftHandler
-- * Creating
, newIdent
@ -59,8 +58,6 @@ newtype GWidget sub master a = GWidget (
instance Monoid (GWidget sub master ()) where
mempty = return ()
mappend x y = x >> y
-- | A 'GWidget' specialized to when the subsite and master site are the same.
type Widget y = GWidget y y
instance HamletValue (GWidget s m ()) where
newtype HamletMonad (GWidget s m ()) a =

View File

@ -40,6 +40,10 @@ data ~sitearg~ = ~sitearg~
-- will need to be of this type.
type Handler = GHandler ~sitearg~ ~sitearg~
-- | A useful synonym; most of the widgets functions in your application
-- will need to be of this type.
type Widget = GWidget ~sitearg~ ~sitearg~
-- This is where we define all of the routes in our application. For a full
-- explanation of the syntax, please see:
-- http://docs.yesodweb.com/book/web-routes-quasi/

View File

@ -1,5 +1,5 @@
name: yesod
version: 0.5.4.2
version: 0.6.0
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>