
17 Jan
2008
17 Jan
'08
1:19 a.m.
On Jan 14, 2008 2:47 AM, Sterling Clover
HStringTemplate is a port of Terrence Parr's lovely StringTemplate (http://www.stringtemplate.org) engine to Haskell.
This is very cool. Your docs describe a function, cacheSTGroup: cacheSTGroup :: Int -> STGen a -> STGen a Given an integral amount of seconds and a group, returns a group cached for that span of time. Does not cache "misses." How does this work without breaking referential transparency? Shouldn't it be in the IO monad if it is time-dependent? Graham