Please consider the scenario below:
A template like this

<p> <NAME/> <EMAIL/> ............ </p>
....

<p> <NAME/> <EMAIL/> ............</p>

......

NAME & EMAIL are splices implemented in Haskell source like
name = do read fileA
                parse & get the name attribute

email = do read fileA
                parse & get the email attribute

So, when Heist render the template, how many times we need to read fileA?
If it need four, how to ease the problem?
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to