[web-devel] [Yesod] Creating a static link

Michael Snoyman michael at snoyman.com
Sun Feb 13 14:14:26 CET 2011


On Sun, Feb 13, 2011 at 1:14 PM, Felipe Almeida Lessa
<felipe.lessa at gmail.com> wrote:
> On Sun, Feb 13, 2011 at 3:50 AM, Michael Snoyman <michael at snoyman.com> wrote:
>> * If you enable -Wall, the compiler can let you know when there are
>> files in your static folder you are not using.
>
> Besides enabling -Wall, you'd need an explicit export list, right?
>
> Cheers! =)

Yes, good point. I'm not even sure if you *should* use this approach
in all projects, I was just pointing out some of the possible benefits
staticFiles can offer.

Michael



More information about the web-devel mailing list