From 5d71628e0b25d052d4588bc3c6e541b1b775410e Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 16 May 2018 17:32:56 -0400 Subject: [PATCH] Fix a doctest. --- src/Data/Abstract/Environment.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Abstract/Environment.hs b/src/Data/Abstract/Environment.hs index f55b28005..0dd9c24d6 100644 --- a/src/Data/Abstract/Environment.hs +++ b/src/Data/Abstract/Environment.hs @@ -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