
25 May
2011
25 May
'11
8:40 a.m.
Hello Michael, my question is i have the follow code *tpl1 :: tp1 -> tp2 -> Hamlet MyApp* *tpl1 p1 p2 = $(hamletFile "hamlet-template")* * * *tpl2 :: (tp1,tp2) -> Hamlet MyApp* *tpl2 (p1,p2) = $(hamletFile "hamlet-template")* Now we can use in hamlet template like *^{tpl1 p1 p2}* but next one does not work ^{tpl (p1,p2)} brackets give some wrong. why ? and how to get around ? Thanks. -- Best regards, Cheshkov Anton