> You need to enable the BangPatterns language extension and use them to > make the hash parameter of the go function in Site.hs strict.
laziness for the loss! I'll get this eventually. > You can iterate over lists with Heist splices. For more info see this > blog post: > > http://softwaresimply.blogspot.com/2011/04/looping-and-control-flow-in-heist.html > > That post is part of a series of several posts about various details > of using Heist. You'll probably find some of the other posts useful > as well. Yeah, I read through those posts, and they made sense. I modified the default site so that the sample echo links (cats, dogs, fish) are an array in the index function, and made a sampler using mapSplices and runChildrenWithText that "dynamically" generates the page. Very neat :) Thanks a ton for the help (and gcollins too)! _______________________________________________ Snap mailing list [email protected] http://mailman-mail5.webfaction.com/listinfo/snap
