<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 7, 2014 at 9:31 PM, Bardur Arantsson <span dir="ltr"><<a href="mailto:spam@scientician.net" target="_blank">spam@scientician.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2014-08-07 19:57, Kyle Hanson wrote:<br>
> Hello,<br>
<div class="">><br>
> Here is the "makeBucket" function that is referenced (it is the same in<br>
> both state and nonstate):<br>
><br>
> <a href="https://github.com/hansonkd/StrappedTemplates/blob/321a88168d54943fc217553c873f188797c0d4f5/examples/big_example.hs#L24" target="_blank">https://github.com/hansonkd/StrappedTemplates/blob/321a88168d54943fc217553c873f188797c0d4f5/examples/big_example.hs#L24</a><br>

><br>
<br>
</div>Just a shot in the dark, but I notice that you're using "modify" and not<br>
"modify'" which was added in a recent version of transformers.<br>
<br>
Strict.StateT is not always "strict enough" and you may need to use modify'.<br>
<br>
At any rate, it's worth a shot, I think.<br></blockquote><div><br></div><div>Good point.  I think that even modify' will not be strict enough without adding strictness to RenderState as well.</div><div><br></div>
<div>John L. </div></div></div></div>