Hello Michael,<div><br></div><div>my question is</div><div><br></div><div>i have the follow code </div><div><br></div><div><div><i>tpl1 :: tp1 -> tp2 -> Hamlet MyApp</i></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<i>tpl1 p1 p2 = $(hamletFile "hamlet-template")</i></div><div><i><br></i></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><i>tpl2 :: (tp1,tp2) -> Hamlet MyApp</i></div><div>
<i>tpl2 (p1,p2) = $(hamletFile "hamlet-template")</i></div></div><div><br></div><div>Now we can use in hamlet template like</div><div><br></div><div><i>^{tpl1 p1 p2}</i></div><div><br></div><div>but next one does not work</div>
<div><br></div><div>^{tpl (p1,p2)}</div><div><br></div><div>brackets give some wrong. why ? and how to get around ? </div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br></div><div><br></div>Thanks.<br>-- <br>Best regards,<br>Cheshkov Anton <br>
</div>