diff options
author | Artyom Kazak <yom@artyom.me> | 2014-08-17 20:42:30 +0400 |
---|---|---|
committer | Artyom Kazak <yom@artyom.me> | 2014-08-17 21:00:50 +0400 |
commit | cca9e8feb4b8c0638147e330cd7151bddb150c70 (patch) | |
tree | e7a53427c485941d5a82da79617b00bd630463f1 /src/Text/Pandoc/Writers/Shared.hs | |
parent | 9d52ecdd422a6821c9f37f53e3d30d4be4e41e8f (diff) | |
download | pandoc-cca9e8feb4b8c0638147e330cd7151bddb150c70.tar.gz |
MIME cleanup.
* Create a type synonym for MIME type (instead of `String`).
* Add `getMimeTypeDef` function.
* Avoid recreating MIME type `Map`s every time.
* Move “Formula-...” case handling into `getMimeType`.
Diffstat (limited to 'src/Text/Pandoc/Writers/Shared.hs')
0 files changed, 0 insertions, 0 deletions