diff --git a/Happstack/Server/Hamlet.hs b/Happstack/Server/Hamlet.hs
--- a/Happstack/Server/Hamlet.hs
+++ b/Happstack/Server/Hamlet.hs
@@ -5,7 +5,7 @@
     where
 
 import Data.Text         (Text)
-import Text.Hamlet       (Hamlet)
+import Text.Hamlet       (HtmlUrl)
 import Happstack.Server  (Response, toResponse)
 
 -- |turn a 'Hamlet' template into a Happstack 'Response'
@@ -16,7 +16,7 @@
 --
 -- You probably do not need to use this library at all these days.
 hamletToResponse :: (url -> [(Text, Text)] -> Text) -- ^ function to 'url' values in the template into their 'String' representation
-                 -> Hamlet url  -- ^ a 'Hamlet' template
+                 -> HtmlUrl url  -- ^ a 'Hamlet' template
                  -> Response
 hamletToResponse showFn hamlet = 
     toResponse $ hamlet showFn
diff --git a/happstack-hamlet.cabal b/happstack-hamlet.cabal
--- a/happstack-hamlet.cabal
+++ b/happstack-hamlet.cabal
@@ -1,5 +1,5 @@
 Name:                happstack-hamlet
-Version:             6.1.2
+Version:             6.2.0
 Synopsis:            Support for Hamlet HTML templates in Happstack
 
 Description:         Happstack is a web application development framework. 
@@ -26,7 +26,7 @@
   Exposed-modules:     Happstack.Server.Hamlet
   Build-depends:       base >= 3 && <5,
                        happstack-server >= 6.0 && < 6.3,
-                       hamlet >= 0.9 && <0.10,
+                       hamlet >= 0.10 && <0.11,
                        text
   
   -- Modules not exported by this package.
