mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Fix a doctest.
This commit is contained in:
parent
2eb78e8f91
commit
fa2b566f08
@ -85,7 +85,7 @@ mergeNewer (Environment a) (Environment b) =
|
|||||||
-- | Extract an association list of bindings from an 'Environment'.
|
-- | Extract an association list of bindings from an 'Environment'.
|
||||||
--
|
--
|
||||||
-- >>> pairs shadowed
|
-- >>> pairs shadowed
|
||||||
-- [(Name "foo",Address {unAddress = Precise 1)]
|
-- [(Name "foo",Address (Precise 1))]
|
||||||
pairs :: Environment location value -> [(Name, Address location value)]
|
pairs :: Environment location value -> [(Name, Address location value)]
|
||||||
pairs = map (second Address) . Map.toList . fold . unEnvironment
|
pairs = map (second Address) . Map.toList . fold . unEnvironment
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user