<div>
            <div><span><span class="Apple-style-span" style="color: rgb(160, 160, 160); ">On Thursday, February 17, 2011 at 4:16 PM, Ian Duncan wrote:</span><br></span>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>
            <div>
                <span>I assumed that I could change:&nbsp;</span></div><div><span><br></span></div><div><span><div>&nbsp;&nbsp; &nbsp;defaultLayout widget = do</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;mmsg &lt;- getMessage</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;pc &lt;- widgetToPageContent $ do</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;widget</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addCassius $(Settings.cassiusFile "default-layout")</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;hamletToRepHtml $(Settings.hamletFile "default-layout")</div><div><br></div>
                </span><span>To:</span></div><div><span><br></span></div><div><span><div>&nbsp;&nbsp; &nbsp;defaultLayout widget = do</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;mmsg &lt;- getMessage</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;pc &lt;- widgetToPageContent $ do</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;widget</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addCassius $(Settings.cassiusFile "other-stuff")</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addCassius $(Settings.cassiusFile "default-layout")</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;hamletToRepHtml $(Settings.hamletFile "default-layout")</div><div><br></div><div>And that it would minify other-stuff.cassius and include it, but this is clearly wrong. I also tried this:</div><div><br></div><div><div>&nbsp;&nbsp; &nbsp;defaultLayout widget = do</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;mmsg &lt;- getMessage</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;pc &lt;- widgetToPageContent $ do</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;widget</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addCassius $(Settings.cassiusFile "other-stuff")</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;hamletToRepHtml $(Settings.hamletFile "default-layout")</div></div><div><br></div><div>Replacing default-layout completely, and it didn't work either. What am I doing wrong here?</div>--&nbsp;<br>Ian Duncan<br><br></span>
            </div>
        </div></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    Actually, turns out it's a bug in Cassius. It apparently ignores any non-indented declarations, even if they are within curly braces. Solved it by reformatting by cassius code. Filing a bug report on the Hamlet package.</div><div>--&nbsp;</div><div>Ian Duncan</div>
            </div>
        </div>