Permalink
Browse files

Forgot import, bumped containers bounds

  • Loading branch information...
1 parent 47a3da6 commit bd57ef62191e015f4a316e656d60f2afac502704 @mightybyte committed May 12, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 snap-heist-splices.cabal
  2. +2 −0 src/Snap/Heist/Helpers.hs
@@ -23,7 +23,7 @@ Library
build-depends:
base >= 4,
bytestring >= 0.9 && < 0.10,
- containers >= 0.3 && < 0.4,
+ containers >= 0.3 && < 0.5,
heist >= 0.5 && < 0.6,
mtl >= 2.0 && < 2.1,
snap >= 0.5 && < 0.6,
@@ -9,6 +9,8 @@ Generic combinators for building splices.
module Snap.Heist.Helpers where
+import Text.Templating.Heist
+
conditionalSplice :: Monad m => Bool -> Splice m
conditionalSplice False = return []
conditionalSplice True = runChildren

0 comments on commit bd57ef6

Please sign in to comment.