mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Some tracing
This commit is contained in:
parent
6cf86ee668
commit
6108396f86
@ -22,7 +22,7 @@ envLookup k = Map.lookup k . unEnvironment
|
||||
|
||||
-- | Insert a 'Name' in the environment.
|
||||
envInsert :: Name -> Address l a -> Environment l a -> Environment l a
|
||||
envInsert name value (Environment m) = Environment (Map.insert name value m)
|
||||
envInsert name value (Environment m) = trace ("envInsert: " <> show name) $ Environment (Map.insert name value m)
|
||||
|
||||
envUnion :: Environment l a -> Environment l a -> Environment l a
|
||||
envUnion (Environment e1) (Environment e2) = Environment $ Map.union e1 e2
|
||||
|
Loading…
Reference in New Issue
Block a user