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 :: PDFContent m => ObjectId -> m Object
|
||||||
objectById objectId = do
|
objectById objectId = do
|
||||||
content <- ask
|
layer <- ask
|
||||||
return (objects content ! objectId)
|
return (objects layer ! objectId)
|
||||||
|
|
||||||
(./) :: PDFContent m => m Object -> String -> m Object
|
(./) :: PDFContent m => m Object -> String -> m Object
|
||||||
(./) object key = (object >>= getDictionary >>= getField key >>= castObject)
|
(./) object key = (object >>= getDictionary >>= getField key >>= castObject)
|
||||||
|
|
Loading…
Reference in a new issue