]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/MIMEType/Guess.hs
Still making many changes...
[Lucu.git] / Network / HTTP / Lucu / MIMEType / Guess.hs
index 37a3ad6f25a7f1eb1a35da9e74ac7de01d7224b6..eabc06ffe5808c9ee6c7b420172173730fb1534a 100644 (file)
@@ -150,7 +150,7 @@ serializeExtMap extMap moduleName variableName
       record ∷ (Text, MIMEType) → Exp
       record (ext, mime)
           = tuple [ strE (T.unpack ext)
-                  , metaFunction "parseMIMEType" [strE $ mimeToString mime]
+                  , function "parseMIMEType" `app` strE (mimeToString mime)
                   ]
 
       mimeToString ∷ MIMEType → String