summaryrefslogtreecommitdiff
path: root/Text/Pandoc/Biblio.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-05 23:18:42 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-05 23:18:42 +0000
commit81001fde566ee6175a55dd025860a7eecf86f596 (patch)
tree758f75d375534cd1b77812fbe2c6cef3b7bc4cc8 /Text/Pandoc/Biblio.hs
parenta560c0acc1ed3d1aac8d2e611fe61b1c25331787 (diff)
Text/Pandoc/Biblio.hs - made getRefs point-free.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1380 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc/Biblio.hs')
-rw-r--r--Text/Pandoc/Biblio.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Text/Pandoc/Biblio.hs b/Text/Pandoc/Biblio.hs
index f39b6a608..fc7d0a15f 100644
--- a/Text/Pandoc/Biblio.hs
+++ b/Text/Pandoc/Biblio.hs
@@ -71,6 +71,6 @@ getCite i | Cite t _ <- i = [t]
| otherwise = []
getRefs :: [Reference] -> [Target] -> [Reference]
-getRefs r = map $ getReference r
+getRefs = map . getReference
#endif