20 May
2011
20 May
'11
7:51 a.m.
So far I have gotten away with: let Right k = fromPersistValue (fromPersistKey id) -- then use k as a Text but I am pretty sure there is a better way that I have just overlooked. On Fri, May 20, 2011 at 9:13 AM, Patrick Palka <patrick@parcs.ath.cx> wrote:
What's the most idiomatic way of embedding a persist key into a hamlet template? (By persist key I mean a value of type Key a)
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
-- -barkmadley sent from an internet enabled device