A quick look through the docs didn't find a similar module. Do you know where in particular it might be? I'm not familiar with the gitit codebase at all.<div><br></div><div>Michael<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 1:24 PM, Thomas Hartman <span dir="ltr"><<a href="mailto:thomashartman1@googlemail.com">thomashartman1@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">there's something like this in gitit I believe.<br>
<div><div></div><div class="h5"><br>
On Wed, Apr 21, 2010 at 9:56 AM, Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>> wrote:<br>
> Hi all,<br>
> In Yesod, I have very modest needs when it comes to mime-types. Basically, I<br>
> want:<br>
> * a data type to represent mime-types<br>
> * convert a string to a mime-type<br>
> * convert a mime-type to a string<br>
> * determine mime-type of a file based on extension<br>
> I've stuck all this in a simple module: Web.Mime[1]. However, it seems like<br>
> this is a perfect candidate for a dedicated package. So I wanted to ask:<br>
> 1) Is there a package out there- with minimal dependencies- that supplies<br>
> this functionality?<br>
> 2) If not, would anyone else find it useful if I split this off into its own<br>
> package?<br>
> Michael<br>
> [1] <a href="http://github.com/snoyberg/yesod/blob/ver0.2/Web/Mime.hs" target="_blank">http://github.com/snoyberg/yesod/blob/ver0.2/Web/Mime.hs</a><br>
</div></div>> _______________________________________________<br>
> web-devel mailing list<br>
> <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Need somewhere to put your code? <a href="http://patch-tag.com" target="_blank">http://patch-tag.com</a><br>
Want to build a webapp? <a href="http://happstack.com" target="_blank">http://happstack.com</a><br>
</font></blockquote></div><br></div>