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