X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FMIMEType%2FGuess.hs;h=eabc06ffe5808c9ee6c7b420172173730fb1534a;hp=37a3ad6f25a7f1eb1a35da9e74ac7de01d7224b6;hb=1789cee;hpb=1f3ac4a08b413a7438258c8e196873f5e8a9718f diff --git a/Network/HTTP/Lucu/MIMEType/Guess.hs b/Network/HTTP/Lucu/MIMEType/Guess.hs index 37a3ad6..eabc06f 100644 --- a/Network/HTTP/Lucu/MIMEType/Guess.hs +++ b/Network/HTTP/Lucu/MIMEType/Guess.hs @@ -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