A quick look through the docs didn&#39;t find a similar module. Do you know where in particular it might be? I&#39;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">&lt;<a href="mailto:thomashartman1@googlemail.com">thomashartman1@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">there&#39;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 &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt; In Yesod, I have very modest needs when it comes to mime-types. Basically, I<br>
&gt; want:<br>
&gt; * a data type to represent mime-types<br>
&gt; * convert a string to a mime-type<br>
&gt; * convert a mime-type to a string<br>
&gt; * determine mime-type of a file based on extension<br>
&gt; I&#39;ve stuck all this in a simple module: Web.Mime[1]. However, it seems like<br>
&gt; this is a perfect candidate for a dedicated package. So I wanted to ask:<br>
&gt; 1) Is there a package out there- with minimal dependencies- that supplies<br>
&gt; this functionality?<br>
&gt; 2) If not, would anyone else find it useful if I split this off into its own<br>
&gt; package?<br>
&gt; Michael<br>
&gt; [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>&gt; _______________________________________________<br>
&gt; web-devel mailing list<br>
&gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;<br>
&gt;<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>