Follow previous renaming for a local variable in Navigation for more clarity
This commit is contained in:
parent
bcf2e05bfb
commit
36b1782464
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ getField key aDictionary =
|
|||
|
||||
objectById :: PDFContent m => ObjectId -> m Object
|
||||
objectById objectId = do
|
||||
content <- ask
|
||||
return (objects content ! objectId)
|
||||
layer <- ask
|
||||
return (objects layer ! objectId)
|
||||
|
||||
(./) :: PDFContent m => m Object -> String -> m Object
|
||||
(./) object key = (object >>= getDictionary >>= getField key >>= castObject)
|
||||
|
|
Loading…
Reference in a new issue