Add an alias to Id to lift type ambiguities like 'chunk' in PDF.Content.Text

This commit is contained in:
Tissevert 2020-03-17 08:47:19 +01:00
parent 24630a04a1
commit a1c2fbf110

View file

@ -25,6 +25,7 @@ module PDF.Object (
, magicNumber , magicNumber
, name , name
, number , number
, object
, outputBody , outputBody
, regular , regular
, stringObject , stringObject
@ -256,6 +257,9 @@ instance Output Object where
, "endstream" , "endstream"
] ]
object :: Int -> Id Object
object = Id
-- --
-- Occurrence -- Occurrence
-- --