This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "heist".
The branch, master has been updated
via 05c64f6f91f372d60fc6e226602c72b44073b6ae (commit)
via d978e5eb763317146042c464e38fb2e15e5d91de (commit)
from a876debdaee603049410ec39db282b62cdc2ad02 (commit)
Summary of changes:
src/Text/Templating/Heist.hs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 05c64f6f91f372d60fc6e226602c72b44073b6ae
Merge: d978e5e a876deb
Author: Mighty Byte <[email protected]>
Date: Tue Jul 20 10:25:25 2010 -0400
Merge branch 'master' of git.snapframework.com:heist
commit d978e5eb763317146042c464e38fb2e15e5d91de
Author: Mighty Byte <[email protected]>
Date: Tue Jul 20 10:23:07 2010 -0400
Added imports to clarify documentation.
diff --git a/src/Text/Templating/Heist.hs b/src/Text/Templating/Heist.hs
index 8c0fbb3..2a0ec19 100644
--- a/src/Text/Templating/Heist.hs
+++ b/src/Text/Templating/Heist.hs
@@ -22,8 +22,11 @@
@getUser :: MyAppMonad (Maybe ByteString)@ that gets the current user.
You can implement this functionality with a 'Splice' as follows:
- >
- > import Text.XML.Expat.Tree
+ > import Data.ByteString.Char8 (ByteString)
+ > import qualified Data.ByteString.Char8 as B
+ > import qualified Text.XML.Expat.Tree as X
+ >
+ > import Text.Templating.Heist
>
> link :: ByteString -> ByteString -> Node
> link target text = X.Element "a" [("href", target)] [X.Text text]
-----------------------------------------------------------------------
hooks/post-receive
--
heist
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap