1
1
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:
Rob Rix 2018-05-16 17:32:56 -04:00
parent 7da00b8746
commit 5d71628e0b

View File

@ -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