summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-09-27 21:26:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-09-27 21:26:19 -0700
commite12144d5beba6136101942fa6d93519414293b6a (patch)
treefac5905e4f69cb974fc3d65e6a93a4647dcc8fee /src
parent263579167a62446e63cfe8489671ec9b32f84473 (diff)
T.P.Shared: deprecate makeMeta
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Shared.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 8b1d79c3f..c71204339 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -708,6 +708,7 @@ addMetaField key val (Meta meta) =
tolist (MetaList ys) = ys
tolist y = [y]
+{-# DEPRECATED makeMeta "Use addMetaField directly" #-}
-- | Create 'Meta' from old-style title, authors, date. This is
-- provided to ease the transition from the old API.
makeMeta :: [Inline] -> [[Inline]] -> [Inline] -> Meta